blob: 791d95dd871a7381784ef345fe4b27033ab28272 [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
Paul P Komkoff Jr46bc0e42008-08-13 16:17:04 +01008AM_CFLAGS = $(PICFLAGS)
9AM_LDFLAGS = $(PILDFLAGS)
10
paul718e3742002-12-13 20:15:29 +000011bin_PROGRAMS = vtysh
12
paul1ac09d32003-10-22 02:51:04 +000013vtysh_SOURCES = vtysh_main.c vtysh.c vtysh_user.c vtysh_config.c
14nodist_vtysh_SOURCES = vtysh_cmd.c
gdtfc9d0742004-06-30 14:25:12 +000015CLEANFILES = vtysh_cmd.c
paul718e3742002-12-13 20:15:29 +000016noinst_HEADERS = vtysh.h vtysh_user.h
hassoc0689392005-08-25 12:00:58 +000017vtysh_LDADD = ../lib/libzebra.la @LIBCAP@ @LIBREADLINE@
paul718e3742002-12-13 20:15:29 +000018
gdtd6b72f72003-12-03 17:24:27 +000019examplesdir = $(exampledir)
20dist_examples_DATA = vtysh.conf.sample
paul718e3742002-12-13 20:15:29 +000021
gdtd6b72f72003-12-03 17:24:27 +000022EXTRA_DIST = extract.pl
paul718e3742002-12-13 20:15:29 +000023
hassob5d518f2005-04-07 17:07:39 +000024vtysh_cmd_FILES = $(top_srcdir)/bgpd/*.c $(top_srcdir)/isisd/*.c \
25 $(top_srcdir)/ospfd/*.c $(top_srcdir)/ospf6d/*.c \
26 $(top_srcdir)/ripd/*.c $(top_srcdir)/ripngd/*.c \
27 $(top_srcdir)/lib/keychain.c $(top_srcdir)/lib/routemap.c \
28 $(top_srcdir)/lib/filter.c $(top_srcdir)/lib/plist.c \
29 $(top_srcdir)/lib/distribute.c $(top_srcdir)/lib/if_rmap.c \
30 $(top_srcdir)/lib/vty.c $(top_srcdir)/zebra/debug.c \
31 $(top_srcdir)/zebra/interface.c \
32 $(top_srcdir)/zebra/irdp_interface.c \
33 $(top_srcdir)/zebra/rtadv.c $(top_srcdir)/zebra/zebra_vty.c \
Bartek Kania41dc3482008-10-04 17:12:24 +010034 $(top_srcdir)/zebra/zserv.c $(top_srcdir)/zebra/router-id.c \
35 $(top_srcdir)/zebra/zebra_routemap.c
paul718e3742002-12-13 20:15:29 +000036
hassob5d518f2005-04-07 17:07:39 +000037vtysh_cmd.c: $(vtysh_cmd_FILES)
38 ./$(EXTRA_DIST) $(vtysh_cmd_FILES) > vtysh_cmd.c
paulec497662003-04-09 06:32:56 +000039