]>
Commit | Line | Data |
---|---|---|
718e3744 | 1 | ## Process this file with Automake to create Makefile.in |
2 | ||
a652604c | 3 | INCLUDES = @INCLUDES@ -I$(top_srcdir) -I$(top_srcdir)/lib |
718e3744 | 4 | DEFS = @DEFS@ -DSYSCONFDIR=\"$(sysconfdir)/\" |
5 | ||
6 | LIBS = @LIBS@ @CURSES@ @LIBPAM@ | |
7 | ||
46bc0e43 PKJ |
8 | AM_CFLAGS = $(PICFLAGS) |
9 | AM_LDFLAGS = $(PILDFLAGS) | |
10 | ||
718e3744 | 11 | bin_PROGRAMS = vtysh |
12 | ||
1ac09d3e | 13 | vtysh_SOURCES = vtysh_main.c vtysh.c vtysh_user.c vtysh_config.c |
14 | nodist_vtysh_SOURCES = vtysh_cmd.c | |
fc9d0745 | 15 | CLEANFILES = vtysh_cmd.c |
718e3744 | 16 | noinst_HEADERS = vtysh.h vtysh_user.h |
c0689394 | 17 | vtysh_LDADD = ../lib/libzebra.la @LIBCAP@ @LIBREADLINE@ |
718e3744 | 18 | |
d6b72f7a | 19 | examplesdir = $(exampledir) |
20 | dist_examples_DATA = vtysh.conf.sample | |
718e3744 | 21 | |
d6b72f7a | 22 | EXTRA_DIST = extract.pl |
718e3744 | 23 | |
b5d518fb | 24 | vtysh_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 \ | |
feb6c53e | 27 | $(top_srcdir)/babeld/*.c \ |
b5d518fb | 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 \ | |
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 \ | |
41dc3488 BK |
35 | $(top_srcdir)/zebra/zserv.c $(top_srcdir)/zebra/router-id.c \ |
36 | $(top_srcdir)/zebra/zebra_routemap.c | |
b5d518fb | 37 | |
38 | vtysh_cmd.c: $(vtysh_cmd_FILES) | |
39 | ./$(EXTRA_DIST) $(vtysh_cmd_FILES) > vtysh_cmd.c | |
ec497669 | 40 |