summaryrefslogtreecommitdiffstats
path: root/bgpd/subdir.am
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2018-08-18 06:05:07 +0200
committerDavid Lamparter <equinox@opensourcerouting.org>2018-09-08 21:30:19 +0200
commit74dc19a2f5f72865b5f7da86453b881ae161e857 (patch)
tree9de4b34240e8106f48b56f6c11146653612ea20c /bgpd/subdir.am
parentbuild: remove common.am (diff)
downloadfrr-74dc19a2f5f72865b5f7da86453b881ae161e857.tar.xz
frr-74dc19a2f5f72865b5f7da86453b881ae161e857.zip
build: move vtysh & manpage listings to subdir.am
Since we're now building through one large Makefile, we can easily put things with their daemons and crossreference nicely. Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'bgpd/subdir.am')
-rw-r--r--bgpd/subdir.am28
1 files changed, 28 insertions, 0 deletions
diff --git a/bgpd/subdir.am b/bgpd/subdir.am
index e24516acd..7bb8b8ed8 100644
--- a/bgpd/subdir.am
+++ b/bgpd/subdir.am
@@ -11,12 +11,40 @@ dist_examples_DATA += \
bgpd/bgpd.conf.sample2 \
bgpd/bgpd.conf.vnc.sample \
# end
+vtysh_scan += \
+ $(top_srcdir)/bgpd/bgp_bfd.c \
+ $(top_srcdir)/bgpd/bgp_debug.c \
+ $(top_srcdir)/bgpd/bgp_dump.c \
+ $(top_srcdir)/bgpd/bgp_evpn_vty.c \
+ $(top_srcdir)/bgpd/bgp_filter.c \
+ $(top_srcdir)/bgpd/bgp_mplsvpn.c \
+ $(top_srcdir)/bgpd/bgp_nexthop.c \
+ $(top_srcdir)/bgpd/bgp_route.c \
+ $(top_srcdir)/bgpd/bgp_routemap.c \
+ $(top_srcdir)/bgpd/bgp_vty.c \
+ $(top_srcdir)/bgpd/bgp_flowspec_vty.c \
+ # end
+
+# can be loaded as DSO - always include for vtysh
+if RPKI
+vtysh_scan += $(top_srcdir)/bgpd/bgp_rpki.c
+endif
+
+if ENABLE_BGP_VNC
+vtysh_scan += \
+ $(top_srcdir)/bgpd/rfapi/bgp_rfapi_cfg.c \
+ $(top_srcdir)/bgpd/rfapi/rfapi.c \
+ $(top_srcdir)/bgpd/rfapi/rfapi_vty.c \
+ $(top_srcdir)/bgpd/rfapi/vnc_debug.c \
+ # end
+endif
if SNMP
module_LTLIBRARIES += bgpd/bgpd_snmp.la
endif
if RPKI
module_LTLIBRARIES += bgpd/bgpd_rpki.la
endif
+rstman8_DATA += $(MANBUILD)/bgpd.8
endif
bgpd_libbgp_a_SOURCES = \