blob: 35dc76373606bea0a26a01fe3d79d4abaf7761ab [file] [log] [blame]
paul718e3742002-12-13 20:15:29 +00001## Process this file with Automake to create Makefile.in
2
paula6526042003-10-24 04:39:18 +00003INCLUDES = @INCLUDES@ -I$(top_srcdir) -I$(top_srcdir)/lib
paul718e3742002-12-13 20:15:29 +00004DEFS = @DEFS@ -DSYSCONFDIR=\"$(sysconfdir)/\"
5
6LIBS = @LIBS@ @CURSES@ @LIBPAM@
7
8bin_PROGRAMS = vtysh
9
paul1ac09d32003-10-22 02:51:04 +000010vtysh_SOURCES = vtysh_main.c vtysh.c vtysh_user.c vtysh_config.c
11nodist_vtysh_SOURCES = vtysh_cmd.c
gdtfc9d0742004-06-30 14:25:12 +000012CLEANFILES = vtysh_cmd.c
paul718e3742002-12-13 20:15:29 +000013noinst_HEADERS = vtysh.h vtysh_user.h
gdtb7a97f82004-07-23 16:23:56 +000014vtysh_LDADD = ../lib/libzebra.la @LIBCAP@
paul718e3742002-12-13 20:15:29 +000015
gdtd6b72f72003-12-03 17:24:27 +000016examplesdir = $(exampledir)
17dist_examples_DATA = vtysh.conf.sample
paul718e3742002-12-13 20:15:29 +000018
gdtd6b72f72003-12-03 17:24:27 +000019EXTRA_DIST = extract.pl
paul718e3742002-12-13 20:15:29 +000020
hassob5d518f2005-04-07 17:07:39 +000021vtysh_cmd_FILES = $(top_srcdir)/bgpd/*.c $(top_srcdir)/isisd/*.c \
22 $(top_srcdir)/ospfd/*.c $(top_srcdir)/ospf6d/*.c \
23 $(top_srcdir)/ripd/*.c $(top_srcdir)/ripngd/*.c \
24 $(top_srcdir)/lib/keychain.c $(top_srcdir)/lib/routemap.c \
25 $(top_srcdir)/lib/filter.c $(top_srcdir)/lib/plist.c \
26 $(top_srcdir)/lib/distribute.c $(top_srcdir)/lib/if_rmap.c \
27 $(top_srcdir)/lib/vty.c $(top_srcdir)/zebra/debug.c \
28 $(top_srcdir)/zebra/interface.c \
29 $(top_srcdir)/zebra/irdp_interface.c \
30 $(top_srcdir)/zebra/rtadv.c $(top_srcdir)/zebra/zebra_vty.c \
31 $(top_srcdir)/zebra/zserv.c $(top_srcdir)/zebra/router-id.c
paul718e3742002-12-13 20:15:29 +000032
hassob5d518f2005-04-07 17:07:39 +000033vtysh_cmd.c: $(vtysh_cmd_FILES)
34 ./$(EXTRA_DIST) $(vtysh_cmd_FILES) > vtysh_cmd.c
paulec497662003-04-09 06:32:56 +000035