blob: b5f964e5f1d0d87d73f6a286e3c02b9351cba91f [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
paul718e3742002-12-13 20:15:29 +000012noinst_HEADERS = vtysh.h vtysh_user.h
pauledd7c242003-06-04 13:59:38 +000013vtysh_LDADD = ../lib/libzebra.a @LIBCAP@
paul718e3742002-12-13 20:15:29 +000014
15sysconf_DATA = vtysh.conf.sample
16
17EXTRA_DIST = extract.pl vtysh.conf.sample
18
19rebuild4:
paula6526042003-10-24 04:39:18 +000020 ./extract.pl $(top_srcdir)/zebra/*.c $(top_srcdir)/ripd/*.c $(top_srcdir)/ospfd/*.c $(top_srcdir)/bgpd/*.c $(top_srcdir)/lib/keychain.c $(top_srcdir)/lib/routemap.c $(top_srcdir)/lib/filter.c $(top_srcdir)/lib/plist.c $(top_srcdir)/lib/distribute.c $(top_srcdir)/lib/if_rmap.c > vtysh_cmd.c
paul718e3742002-12-13 20:15:29 +000021
paula6526042003-10-24 04:39:18 +000022vtysh_cmd.c: $(top_srcdir)/zebra/*.c $(top_srcdir)/ripd/*.c $(top_srcdir)/ripngd/*.c $(top_srcdir)/ospfd/*.c \
23 $(top_srcdir)/ospf6d/*.c $(top_srcdir)/bgpd/*.c $(top_srcdir)/lib/keychain.c $(top_srcdir)/lib/routemap.c \
24 $(top_srcdir)/lib/filter.c $(top_srcdir)/lib/plist.c $(top_srcdir)/lib/distribute.c $(top_srcdir)/lib/if_rmap.c
25 $(srcdir)/extract.pl $(top_srcdir)/zebra/*.c $(top_srcdir)/ripd/*.c $(top_srcdir)/ripngd/*.c $(top_srcdir)/ospfd/*.c \
26 $(top_srcdir)/ospf6d/*.c $(top_srcdir)/bgpd/*.c $(top_srcdir)/lib/keychain.c $(top_srcdir)/lib/routemap.c \
27 $(top_srcdir)/lib/filter.c $(top_srcdir)/lib/plist.c $(top_srcdir)/lib/distribute.c \
28 $(top_srcdir)/lib/if_rmap.c > vtysh_cmd.c
paulec497662003-04-09 06:32:56 +000029