paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 1 | ## Process this file with Automake to create Makefile.in |
| 2 | |
David Lamparter | 237aac5 | 2014-06-28 22:23:10 +0200 | [diff] [blame] | 3 | AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/lib -I$(top_builddir)/lib |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 4 | DEFS = @DEFS@ -DSYSCONFDIR=\"$(sysconfdir)/\" |
| 5 | |
| 6 | LIBS = @LIBS@ @CURSES@ @LIBPAM@ |
| 7 | |
Paul Jakma | 52c0bc7 | 2015-08-20 21:30:17 +0100 | [diff] [blame] | 8 | AM_CFLAGS = $(WERROR) |
Paul P Komkoff Jr | 46bc0e4 | 2008-08-13 16:17:04 +0100 | [diff] [blame] | 9 | |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 10 | bin_PROGRAMS = vtysh |
| 11 | |
paul | 1ac09d3 | 2003-10-22 02:51:04 +0000 | [diff] [blame] | 12 | vtysh_SOURCES = vtysh_main.c vtysh.c vtysh_user.c vtysh_config.c |
| 13 | nodist_vtysh_SOURCES = vtysh_cmd.c |
gdt | fc9d074 | 2004-06-30 14:25:12 +0000 | [diff] [blame] | 14 | CLEANFILES = vtysh_cmd.c |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 15 | noinst_HEADERS = vtysh.h vtysh_user.h |
hasso | c068939 | 2005-08-25 12:00:58 +0000 | [diff] [blame] | 16 | vtysh_LDADD = ../lib/libzebra.la @LIBCAP@ @LIBREADLINE@ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 17 | |
gdt | d6b72f7 | 2003-12-03 17:24:27 +0000 | [diff] [blame] | 18 | examplesdir = $(exampledir) |
| 19 | dist_examples_DATA = vtysh.conf.sample |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 20 | |
gdt | d6b72f7 | 2003-12-03 17:24:27 +0000 | [diff] [blame] | 21 | EXTRA_DIST = extract.pl |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 22 | |
hasso | b5d518f | 2005-04-07 17:07:39 +0000 | [diff] [blame] | 23 | vtysh_cmd_FILES = $(top_srcdir)/bgpd/*.c $(top_srcdir)/isisd/*.c \ |
| 24 | $(top_srcdir)/ospfd/*.c $(top_srcdir)/ospf6d/*.c \ |
| 25 | $(top_srcdir)/ripd/*.c $(top_srcdir)/ripngd/*.c \ |
Leonard Herve | 596470f | 2009-08-11 15:45:26 -0300 | [diff] [blame] | 26 | $(top_srcdir)/pimd/pim_cmd.c \ |
Timo Teräs | dafa05e | 2017-01-19 17:27:01 +0200 | [diff] [blame^] | 27 | $(top_srcdir)/nhrpd/nhrp_vty.c \ |
hasso | b5d518f | 2005-04-07 17:07:39 +0000 | [diff] [blame] | 28 | $(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 \ |
Feng Lu | 55cfa2f | 2014-07-03 18:24:34 +0800 | [diff] [blame] | 31 | $(top_srcdir)/lib/vrf.c \ |
hasso | b5d518f | 2005-04-07 17:07:39 +0000 | [diff] [blame] | 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 Kania | 41dc348 | 2008-10-04 17:12:24 +0100 | [diff] [blame] | 36 | $(top_srcdir)/zebra/zserv.c $(top_srcdir)/zebra/router-id.c \ |
Avneesh Sachdev | 5adc252 | 2012-11-13 22:48:59 +0000 | [diff] [blame] | 37 | $(top_srcdir)/zebra/zebra_routemap.c \ |
| 38 | $(top_srcdir)/zebra/zebra_fpm.c |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 39 | |
Paul Jakma | c7c5b02 | 2016-04-04 15:19:37 +0100 | [diff] [blame] | 40 | vtysh_cmd.c: $(vtysh_cmd_FILES) extract.pl |
| 41 | ./extract.pl $(vtysh_cmd_FILES) > vtysh_cmd.c |