blob: 7550173c5fab278e1fc9a43ef506b384a9a6f8e7 [file] [log] [blame]
paul718e3742002-12-13 20:15:29 +00001## Process this file with Automake to create Makefile.in
2
Vincent Bernat9e7a5482012-05-22 14:32:22 +02003INCLUDES = @INCLUDES@ -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 \
hassob5d518f2005-04-07 17:07:39 +000028 $(top_srcdir)/lib/keychain.c $(top_srcdir)/lib/routemap.c \
29 $(top_srcdir)/lib/filter.c $(top_srcdir)/lib/plist.c \
30 $(top_srcdir)/lib/distribute.c $(top_srcdir)/lib/if_rmap.c \
31 $(top_srcdir)/lib/vty.c $(top_srcdir)/zebra/debug.c \
32 $(top_srcdir)/zebra/interface.c \
33 $(top_srcdir)/zebra/irdp_interface.c \
34 $(top_srcdir)/zebra/rtadv.c $(top_srcdir)/zebra/zebra_vty.c \
Bartek Kania41dc3482008-10-04 17:12:24 +010035 $(top_srcdir)/zebra/zserv.c $(top_srcdir)/zebra/router-id.c \
36 $(top_srcdir)/zebra/zebra_routemap.c
paul718e3742002-12-13 20:15:29 +000037
hassob5d518f2005-04-07 17:07:39 +000038vtysh_cmd.c: $(vtysh_cmd_FILES)
39 ./$(EXTRA_DIST) $(vtysh_cmd_FILES) > vtysh_cmd.c
paulec497662003-04-09 06:32:56 +000040