blob: a66615beb103c715700c1b87f5bd007f924284df [file] [log] [blame]
paul718e3742002-12-13 20:15:29 +00001## Process this file with Automake to create Makefile.in
2
David Lamparter237aac52014-06-28 22:23:10 +02003AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/lib -I$(top_builddir)/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 \
Juliusz Chroboczekfeb6c532012-02-07 04:58:49 +010027 $(top_srcdir)/babeld/*.c \
Leonard Herve596470f2009-08-11 15:45:26 -030028 $(top_srcdir)/pimd/pim_cmd.c \
hassob5d518f2005-04-07 17:07:39 +000029 $(top_srcdir)/lib/keychain.c $(top_srcdir)/lib/routemap.c \
30 $(top_srcdir)/lib/filter.c $(top_srcdir)/lib/plist.c \
31 $(top_srcdir)/lib/distribute.c $(top_srcdir)/lib/if_rmap.c \
32 $(top_srcdir)/lib/vty.c $(top_srcdir)/zebra/debug.c \
33 $(top_srcdir)/zebra/interface.c \
34 $(top_srcdir)/zebra/irdp_interface.c \
35 $(top_srcdir)/zebra/rtadv.c $(top_srcdir)/zebra/zebra_vty.c \
Bartek Kania41dc3482008-10-04 17:12:24 +010036 $(top_srcdir)/zebra/zserv.c $(top_srcdir)/zebra/router-id.c \
Avneesh Sachdev5adc2522012-11-13 22:48:59 +000037 $(top_srcdir)/zebra/zebra_routemap.c \
38 $(top_srcdir)/zebra/zebra_fpm.c
paul718e3742002-12-13 20:15:29 +000039
hassob5d518f2005-04-07 17:07:39 +000040vtysh_cmd.c: $(vtysh_cmd_FILES)
41 ./$(EXTRA_DIST) $(vtysh_cmd_FILES) > vtysh_cmd.c
paulec497662003-04-09 06:32:56 +000042