]> git.proxmox.com Git - mirror_frr.git/blobdiff - bgpd/subdir.am
Merge pull request #3370 from pguibert6WIND/default_vrf_initialization
[mirror_frr.git] / bgpd / subdir.am
index e24516acd8c461934d63d614454c7eb621f16570..a13f058f744d4be14c788d25531de659f4edddc6 100644 (file)
@@ -11,15 +11,42 @@ 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
+vtysh_scan += $(top_srcdir)/bgpd/bgp_rpki.c
+
+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
+man8 += $(MANBUILD)/bgpd.8
 endif
 
 bgpd_libbgp_a_SOURCES = \
+       bgpd/bgp_addpath.c \
        bgpd/bgp_advertise.c \
        bgpd/bgp_aspath.c \
        bgpd/bgp_attr.c \
@@ -89,6 +116,8 @@ bgpd_libbgp_a_SOURCES += \
 endif
 
 noinst_HEADERS += \
+       bgpd/bgp_addpath.h \
+       bgpd/bgp_addpath_types.h \
        bgpd/bgp_advertise.h \
        bgpd/bgp_aspath.h \
        bgpd/bgp_attr.h \
@@ -166,11 +195,9 @@ bgpd_bgpd_CFLAGS = -Irfapi -I@top_srcdir@/$(RFPINC)
 
 bgpd_bgp_btoa_SOURCES += bgpd/rfapi/rfapi_descriptor_rfp_utils.c
 bgpd_bgp_btoa_CFLAGS = -Irfapi -I@top_srcdir@/$(RFPINC)
-
-RFPLDADD = bgpd/rfp-example/librfp/librfp.a
-else
-RFPLDADD =
 endif
+
+# RFPLDADD is set in bgpd/rfp-example/librfp/subdir.am
 bgpd_bgpd_LDADD = bgpd/libbgp.a $(RFPLDADD) lib/libfrr.la @LIBCAP@ @LIBM@
 bgpd_bgp_btoa_LDADD = bgpd/libbgp.a $(RFPLDADD) lib/libfrr.la @LIBCAP@ @LIBM@
 
@@ -184,6 +211,8 @@ bgpd_bgpd_rpki_la_CFLAGS = $(WERROR) $(RTRLIB_CFLAGS)
 bgpd_bgpd_rpki_la_LDFLAGS = -avoid-version -module -shared -export-dynamic
 bgpd_bgpd_rpki_la_LIBADD = $(RTRLIB_LIBS)
 
+bgpd/bgp_evpn_vty_clippy.c: $(CLIPPY_DEPS)
+bgpd/bgp_evpn_vty.$(OBJEXT): bgpd/bgp_evpn_vty_clippy.c
 bgpd/bgp_vty_clippy.c: $(CLIPPY_DEPS)
 bgpd/bgp_vty.$(OBJEXT): bgpd/bgp_vty_clippy.c
 bgpd/bgp_route_clippy.c: $(CLIPPY_DEPS)