summaryrefslogtreecommitdiffstats
path: root/vtysh/subdir.am
blob: 3d40f37d22919981174b14a76d605c42bca5b94f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#
# vtysh
#

if VTYSH
bin_PROGRAMS += vtysh/vtysh
dist_examples_DATA += vtysh/vtysh.conf.sample
rstman1_DATA += $(MANBUILD)/vtysh.1
endif

vtysh_vtysh_SOURCES = \
	vtysh/vtysh_main.c \
	vtysh/vtysh.c \
	vtysh/vtysh_user.c \
	vtysh/vtysh_config.c \
	# end
nodist_vtysh_vtysh_SOURCES = \
	vtysh/vtysh_cmd.c \
	# end
CLEANFILES += vtysh/vtysh_cmd.c

noinst_HEADERS += \
	vtysh/vtysh.h \
	vtysh/vtysh_user.h \
	# end

vtysh_vtysh_LDADD = lib/libfrr.la @LIBCAP@ @LIBREADLINE@ @LIBS@ @CURSES@ @LIBPAM@

EXTRA_DIST += vtysh/extract.pl

AM_V_EXTRACT = $(am__v_EXTRACT_$(V))
am__v_EXTRACT_ = $(am__v_EXTRACT_$(AM_DEFAULT_VERBOSITY))
am__v_EXTRACT_0 = @echo "  EXTRACT " $@;
am__v_EXTRACT_1 =

vtysh/vtysh_cmd.c: $(vtysh_scan) vtysh/extract.pl
	$(AM_V_EXTRACT) vtysh/extract.pl $(vtysh_scan) > vtysh/vtysh_cmd.c