Makefile.am 1.2 KB

1234567891011121314151617181920212223242526272829303132333435
  1. ## Process this file with Automake to create Makefile.in
  2. INCLUDES = @INCLUDES@ -I$(top_srcdir) -I$(top_srcdir)/lib
  3. DEFS = @DEFS@ -DSYSCONFDIR=\"$(sysconfdir)/\"
  4. LIBS = @LIBS@ @CURSES@ @LIBPAM@
  5. bin_PROGRAMS = vtysh
  6. vtysh_SOURCES = vtysh_main.c vtysh.c vtysh_user.c vtysh_config.c
  7. nodist_vtysh_SOURCES = vtysh_cmd.c
  8. CLEANFILES = vtysh_cmd.c
  9. noinst_HEADERS = vtysh.h vtysh_user.h
  10. vtysh_LDADD = ../lib/libzebra.la @LIBCAP@ @LIBREADLINE@
  11. examplesdir = $(exampledir)
  12. dist_examples_DATA = vtysh.conf.sample
  13. EXTRA_DIST = extract.pl
  14. vtysh_cmd_FILES = $(top_srcdir)/bgpd/*.c $(top_srcdir)/isisd/*.c \
  15. $(top_srcdir)/ospfd/*.c $(top_srcdir)/ospf6d/*.c \
  16. $(top_srcdir)/ripd/*.c $(top_srcdir)/ripngd/*.c \
  17. $(top_srcdir)/lib/keychain.c $(top_srcdir)/lib/routemap.c \
  18. $(top_srcdir)/lib/filter.c $(top_srcdir)/lib/plist.c \
  19. $(top_srcdir)/lib/distribute.c $(top_srcdir)/lib/if_rmap.c \
  20. $(top_srcdir)/lib/vty.c $(top_srcdir)/zebra/debug.c \
  21. $(top_srcdir)/zebra/interface.c \
  22. $(top_srcdir)/zebra/irdp_interface.c \
  23. $(top_srcdir)/zebra/rtadv.c $(top_srcdir)/zebra/zebra_vty.c \
  24. $(top_srcdir)/zebra/zserv.c $(top_srcdir)/zebra/router-id.c
  25. vtysh_cmd.c: $(vtysh_cmd_FILES)
  26. ./$(EXTRA_DIST) $(vtysh_cmd_FILES) > vtysh_cmd.c