]> git.proxmox.com Git - mirror_frr.git/blob - vtysh/Makefile.am
* Makefile.am: Remove rebuild4 target, it's not used any more by build
[mirror_frr.git] / vtysh / Makefile.am
1 ## Process this file with Automake to create Makefile.in
2
3 INCLUDES = @INCLUDES@ -I$(top_srcdir) -I$(top_srcdir)/lib
4 DEFS = @DEFS@ -DSYSCONFDIR=\"$(sysconfdir)/\"
5
6 LIBS = @LIBS@ @CURSES@ @LIBPAM@
7
8 bin_PROGRAMS = vtysh
9
10 vtysh_SOURCES = vtysh_main.c vtysh.c vtysh_user.c vtysh_config.c
11 nodist_vtysh_SOURCES = vtysh_cmd.c
12 CLEANFILES = vtysh_cmd.c
13 noinst_HEADERS = vtysh.h vtysh_user.h
14 vtysh_LDADD = ../lib/libzebra.la @LIBCAP@
15
16 examplesdir = $(exampledir)
17 dist_examples_DATA = vtysh.conf.sample
18
19 EXTRA_DIST = extract.pl
20
21 vtysh_cmd_FILES = $(top_srcdir)/bgpd/*.c $(top_srcdir)/isisd/*.c \
22 $(top_srcdir)/ospfd/*.c $(top_srcdir)/ospf6d/*.c \
23 $(top_srcdir)/ripd/*.c $(top_srcdir)/ripngd/*.c \
24 $(top_srcdir)/lib/keychain.c $(top_srcdir)/lib/routemap.c \
25 $(top_srcdir)/lib/filter.c $(top_srcdir)/lib/plist.c \
26 $(top_srcdir)/lib/distribute.c $(top_srcdir)/lib/if_rmap.c \
27 $(top_srcdir)/lib/vty.c $(top_srcdir)/zebra/debug.c \
28 $(top_srcdir)/zebra/interface.c \
29 $(top_srcdir)/zebra/irdp_interface.c \
30 $(top_srcdir)/zebra/rtadv.c $(top_srcdir)/zebra/zebra_vty.c \
31 $(top_srcdir)/zebra/zserv.c $(top_srcdir)/zebra/router-id.c
32
33 vtysh_cmd.c: $(vtysh_cmd_FILES)
34 ./$(EXTRA_DIST) $(vtysh_cmd_FILES) > vtysh_cmd.c
35