paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 1 | ## Process this file with Automake to create Makefile.in |
| 2 | |
paul | a652604 | 2003-10-24 04:39:18 +0000 | [diff] [blame] | 3 | INCLUDES = @INCLUDES@ -I$(top_srcdir) -I$(top_srcdir)/lib |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 4 | DEFS = @DEFS@ -DSYSCONFDIR=\"$(sysconfdir)/\" |
| 5 | |
| 6 | LIBS = @LIBS@ @CURSES@ @LIBPAM@ |
| 7 | |
| 8 | bin_PROGRAMS = vtysh |
| 9 | |
paul | 1ac09d3 | 2003-10-22 02:51:04 +0000 | [diff] [blame] | 10 | vtysh_SOURCES = vtysh_main.c vtysh.c vtysh_user.c vtysh_config.c |
| 11 | nodist_vtysh_SOURCES = vtysh_cmd.c |
gdt | fc9d074 | 2004-06-30 14:25:12 +0000 | [diff] [blame] | 12 | CLEANFILES = vtysh_cmd.c |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 13 | noinst_HEADERS = vtysh.h vtysh_user.h |
gdt | b7a97f8 | 2004-07-23 16:23:56 +0000 | [diff] [blame] | 14 | vtysh_LDADD = ../lib/libzebra.la @LIBCAP@ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 15 | |
gdt | d6b72f7 | 2003-12-03 17:24:27 +0000 | [diff] [blame] | 16 | examplesdir = $(exampledir) |
| 17 | dist_examples_DATA = vtysh.conf.sample |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 18 | |
gdt | d6b72f7 | 2003-12-03 17:24:27 +0000 | [diff] [blame] | 19 | EXTRA_DIST = extract.pl |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 20 | |
| 21 | rebuild4: |
hasso | c25e458 | 2003-12-23 10:39:08 +0000 | [diff] [blame] | 22 | ./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 |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 23 | |
hasso | 95e735b | 2004-08-26 13:08:30 +0000 | [diff] [blame] | 24 | vtysh_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 \ |
gdt | 94755ea | 2004-08-31 15:35:32 +0000 | [diff] [blame] | 27 | $(top_srcdir)/zebra/debug.c $(top_srcdir)/zebra/interface.c \ |
hasso | 95e735b | 2004-08-26 13:08:30 +0000 | [diff] [blame] | 28 | $(top_srcdir)/zebra/irdp_interface.c $(top_srcdir)/zebra/rtadv.c $(top_srcdir)/zebra/zebra_vty.c \ |
| 29 | $(top_srcdir)/zebra/zserv.c |
paul | 0e82d0e | 2004-09-13 05:00:18 +0000 | [diff] [blame] | 30 | ./extract.pl $(top_srcdir)/ripd/*.c $(top_srcdir)/ripngd/*.c $(top_srcdir)/ospfd/*.c $(top_srcdir)/ospf6d/*.c \ |
hasso | 95e735b | 2004-08-26 13:08:30 +0000 | [diff] [blame] | 31 | $(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 \ |
| 33 | $(top_srcdir)/zebra/debug.c $(top_srcdir)/zebra/interface.c $(top_srcdir)/zebra/irdp.c \ |
| 34 | $(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 |
paul | ec49766 | 2003-04-09 06:32:56 +0000 | [diff] [blame] | 36 | |