]> git.proxmox.com Git - mirror_frr.git/blame - vtysh/subdir.am
Merge pull request #12920 from sri-mohan1/sri-mohan-ldp
[mirror_frr.git] / vtysh / subdir.am
CommitLineData
8b7668ec
DL
1#
2# vtysh
3#
718e3744 4
8b7668ec
DL
5if VTYSH
6bin_PROGRAMS += vtysh/vtysh
f4f2f2cc 7man1 += $(MANBUILD)/vtysh.1
8b7668ec 8endif
718e3744 9
bec667a6
DL
10clippy_scan += \
11 vtysh/vtysh.c \
12 # end
13
8b7668ec
DL
14vtysh_vtysh_SOURCES = \
15 vtysh/vtysh_main.c \
16 vtysh/vtysh.c \
17 vtysh/vtysh_user.c \
18 vtysh/vtysh_config.c \
19 # end
20nodist_vtysh_vtysh_SOURCES = \
21 vtysh/vtysh_cmd.c \
22 # end
718e3744 23
8b7668ec
DL
24noinst_HEADERS += \
25 vtysh/vtysh.h \
26 vtysh/vtysh_user.h \
27 # end
718e3744 28
fdbd8086 29vtysh_vtysh_LDADD = lib/libfrr.la $(LIBCAP) $(LIBREADLINE) $(LIBS) $(LIBPAM)
718e3744 30
d7b86ae4
IR
31EXTRA_DIST += vtysh/daemons.pl
32
33BUILT_SOURCES += vtysh/vtysh_daemons.h
34
35# force vtysh_daemons.h
36$(vtysh_vtysh_OBJECTS): vtysh/vtysh_daemons.h
37
dfca5be5 38CLEANFILES += vtysh/vtysh_daemons.h
d7b86ae4 39vtysh/vtysh_daemons.h:
d173381e 40 @$(MKDIR_P) vtysh
dfca5be5 41 $(PERL) $(top_srcdir)/vtysh/daemons.pl $(vtysh_daemons) > vtysh/vtysh_daemons.h