]> git.proxmox.com Git - mirror_frr.git/blob - vtysh/subdir.am
*: Remove unused variables
[mirror_frr.git] / vtysh / subdir.am
1 #
2 # vtysh
3 #
4
5 if VTYSH
6 bin_PROGRAMS += vtysh/vtysh
7 man1 += $(MANBUILD)/vtysh.1
8 endif
9
10 vtysh_vtysh_SOURCES = \
11 vtysh/vtysh_main.c \
12 vtysh/vtysh.c \
13 vtysh/vtysh_user.c \
14 vtysh/vtysh_config.c \
15 # end
16 nodist_vtysh_vtysh_SOURCES = \
17 vtysh/vtysh_cmd.c \
18 # end
19 CLEANFILES += vtysh/vtysh_cmd.c
20
21 noinst_HEADERS += \
22 vtysh/vtysh.h \
23 vtysh/vtysh_user.h \
24 # end
25
26 vtysh_vtysh_LDADD = lib/libfrr.la $(LIBCAP) $(LIBREADLINE) $(LIBS) $(LIBPAM)
27
28 EXTRA_DIST += vtysh/daemons.pl
29
30 BUILT_SOURCES += vtysh/vtysh_daemons.h
31
32 # force vtysh_daemons.h
33 $(vtysh_vtysh_OBJECTS): vtysh/vtysh_daemons.h
34
35 CLEANFILES += vtysh/vtysh_daemons.h
36 vtysh/vtysh_daemons.h:
37 $(PERL) $(top_srcdir)/vtysh/daemons.pl $(vtysh_daemons) > vtysh/vtysh_daemons.h
38
39 AM_V_EXTRACT = $(am__v_EXTRACT_$(V))
40 am__v_EXTRACT_ = $(am__v_EXTRACT_$(AM_DEFAULT_VERBOSITY))
41 am__v_EXTRACT_0 = @echo " EXTRACT " $@;
42 am__v_EXTRACT_1 =
43
44 if ISISD
45 HAVE_ISISD = --have-isisd
46 else
47 HAVE_ISISD =
48 endif
49
50 if FABRICD
51 HAVE_FABRICD = --have-fabricd
52 else
53 HAVE_FABRICD =
54 endif
55
56 vtysh/vtysh_cmd.c: vtysh/extract.pl $(vtysh_scan)
57 $(AM_V_EXTRACT) $^ $(HAVE_ISISD) $(HAVE_FABRICD) > vtysh/vtysh_cmd.c