6 bin_PROGRAMS += vtysh/vtysh
7 man1 += $(MANBUILD)/vtysh.1
10 vtysh_vtysh_SOURCES = \
14 vtysh/vtysh_config.c \
16 nodist_vtysh_vtysh_SOURCES = \
19 CLEANFILES += vtysh/vtysh_cmd.c
26 vtysh_vtysh_LDADD = lib/libfrr.la $(LIBCAP) $(LIBREADLINE) $(LIBS) $(LIBPAM)
28 EXTRA_DIST += vtysh/daemons.pl
30 BUILT_SOURCES += vtysh/vtysh_daemons.h
32 # force vtysh_daemons.h
33 $(vtysh_vtysh_OBJECTS): vtysh/vtysh_daemons.h
35 CLEANFILES += vtysh/vtysh_daemons.h
36 vtysh/vtysh_daemons.h:
37 $(PERL) $(top_srcdir)/vtysh/daemons.pl $(vtysh_daemons) > vtysh/vtysh_daemons.h
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 " $@;
45 HAVE_ISISD = --have-isisd
51 HAVE_FABRICD = --have-fabricd
56 vtysh/vtysh_cmd.c: vtysh/extract.pl $(vtysh_scan)
57 $(AM_V_EXTRACT) $^ $(HAVE_ISISD) $(HAVE_FABRICD) > vtysh/vtysh_cmd.c