Makefile.am 1.4 KB

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