blob: 1ac5ee45d5228ae4c41c42358a8c933b7dc4e013 [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
21rebuild4:
hassoc25e4582003-12-23 10:39:08 +000022 ./extract.pl $(top_srcdir)/zebra/*.c $(top_srcdir)/ripd/*.c $(top_srcdir)/ospfd/*.c $(top_srcdir)/bgpd/*.c $(top_srcdir)/isisd/*.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 +000023
hasso95e735b2004-08-26 13:08:30 +000024vtysh_cmd.c: $(top_srcdir)/ripd/*.c $(top_srcdir)/ripngd/*.c $(top_srcdir)/ospfd/*.c $(top_srcdir)/ospf6d/*.c \
25 $(top_srcdir)/isisd/*.c $(top_srcdir)/bgpd/*.c $(top_srcdir)/lib/keychain.c $(top_srcdir)/lib/routemap.c \
26 $(top_srcdir)/lib/filter.c $(top_srcdir)/lib/plist.c $(top_srcdir)/lib/distribute.c $(top_srcdir)/lib/if_rmap.c \
gdt94755ea2004-08-31 15:35:32 +000027 $(top_srcdir)/zebra/debug.c $(top_srcdir)/zebra/interface.c \
hasso95e735b2004-08-26 13:08:30 +000028 $(top_srcdir)/zebra/irdp_interface.c $(top_srcdir)/zebra/rtadv.c $(top_srcdir)/zebra/zebra_vty.c \
29 $(top_srcdir)/zebra/zserv.c
paul0e82d0e2004-09-13 05:00:18 +000030 ./extract.pl $(top_srcdir)/ripd/*.c $(top_srcdir)/ripngd/*.c $(top_srcdir)/ospfd/*.c $(top_srcdir)/ospf6d/*.c \
hasso95e735b2004-08-26 13:08:30 +000031 $(top_srcdir)/isisd/*.c $(top_srcdir)/bgpd/*.c $(top_srcdir)/lib/keychain.c $(top_srcdir)/lib/routemap.c \
32 $(top_srcdir)/lib/filter.c $(top_srcdir)/lib/plist.c $(top_srcdir)/lib/distribute.c $(top_srcdir)/lib/if_rmap.c \
paulb63dc1f2004-09-13 12:59:08 +000033 $(top_srcdir)/zebra/debug.c $(top_srcdir)/zebra/interface.c \
hasso95e735b2004-08-26 13:08:30 +000034 $(top_srcdir)/zebra/irdp_interface.c $(top_srcdir)/zebra/rtadv.c $(top_srcdir)/zebra/zebra_vty.c \
35 $(top_srcdir)/zebra/zserv.c > vtysh_cmd.c
paulec497662003-04-09 06:32:56 +000036