6 noinst_LIBRARIES += bgpd/libbgp.a
7 sbin_PROGRAMS += bgpd/bgpd
8 noinst_PROGRAMS += bgpd/bgp_btoa
9 dist_examples_DATA += \
10 bgpd/bgpd.conf.sample \
11 bgpd/bgpd.conf.sample2 \
12 bgpd/bgpd.conf.vnc.sample \
25 bgpd/bgp_flowspec_vty.c \
28 # can be loaded as DSO - always include for vtysh
29 vtysh_scan += bgpd/bgp_rpki.c
30 vtysh_scan += bgpd/bgp_bmp.c
34 bgpd/rfapi/bgp_rfapi_cfg.c \
36 bgpd/rfapi/rfapi_vty.c \
37 bgpd/rfapi/vnc_debug.c \
41 module_LTLIBRARIES += bgpd/bgpd_snmp.la
44 module_LTLIBRARIES += bgpd/bgpd_rpki.la
47 module_LTLIBRARIES += bgpd/bgpd_bmp.la
49 man8 += $(MANBUILD)/frr-bgpd.8
52 bgpd_libbgp_a_SOURCES = \
54 bgpd/bgp_advertise.c \
57 bgpd/bgp_attr_evpn.c \
60 bgpd/bgp_community.c \
64 bgpd/bgp_ecommunity.c \
65 bgpd/bgp_encap_tlv.c \
71 bgpd/bgp_flowspec_util.c \
72 bgpd/bgp_flowspec_vty.c \
75 bgpd/bgp_keepalives.c \
77 bgpd/bgp_labelpool.c \
78 bgpd/bgp_lcommunity.c \
95 bgpd/bgp_updgrp_adv.c \
96 bgpd/bgp_updgrp_packet.c \
104 bgpd_libbgp_a_SOURCES += \
105 bgpd/rfapi/bgp_rfapi_cfg.c \
106 bgpd/rfapi/rfapi_import.c \
108 bgpd/rfapi/rfapi_ap.c \
109 bgpd/rfapi/rfapi_descriptor_rfp_utils.c \
110 bgpd/rfapi/rfapi_encap_tlv.c \
111 bgpd/rfapi/rfapi_nve_addr.c \
112 bgpd/rfapi/rfapi_monitor.c \
113 bgpd/rfapi/rfapi_rib.c \
114 bgpd/rfapi/rfapi_vty.c \
115 bgpd/rfapi/vnc_debug.c \
116 bgpd/rfapi/vnc_export_bgp.c \
117 bgpd/rfapi/vnc_export_table.c \
118 bgpd/rfapi/vnc_import_bgp.c \
119 bgpd/rfapi/vnc_zebra.c \
125 bgpd/bgp_addpath_types.h \
126 bgpd/bgp_advertise.h \
129 bgpd/bgp_attr_evpn.h \
132 bgpd/bgp_community.h \
137 bgpd/bgp_ecommunity.h \
138 bgpd/bgp_encap_tlv.h \
139 bgpd/bgp_encap_types.h \
142 bgpd/bgp_evpn_private.h \
143 bgpd/bgp_evpn_vty.h \
145 bgpd/bgp_flowspec.h \
146 bgpd/bgp_flowspec_private.h \
147 bgpd/bgp_flowspec_util.h \
150 bgpd/bgp_keepalives.h \
152 bgpd/bgp_labelpool.h \
153 bgpd/bgp_lcommunity.h \
174 bgpd/rfapi/bgp_rfapi_cfg.h \
175 bgpd/rfapi/rfapi_import.h \
177 bgpd/rfapi/rfapi_ap.h \
178 bgpd/rfapi/rfapi_backend.h \
179 bgpd/rfapi/rfapi_descriptor_rfp_utils.h \
180 bgpd/rfapi/rfapi_encap_tlv.h \
181 bgpd/rfapi/rfapi_nve_addr.h \
182 bgpd/rfapi/rfapi_monitor.h \
183 bgpd/rfapi/rfapi_private.h \
184 bgpd/rfapi/rfapi_rib.h \
185 bgpd/rfapi/rfapi_vty.h \
186 bgpd/rfapi/vnc_debug.h \
187 bgpd/rfapi/vnc_export_bgp.h \
188 bgpd/rfapi/vnc_export_table.h \
189 bgpd/rfapi/vnc_import_bgp.h \
190 bgpd/rfapi/vnc_zebra.h \
191 bgpd/rfapi/vnc_export_bgp_p.h \
192 bgpd/rfapi/vnc_import_bgp_p.h \
193 bgpd/bgp_vnc_types.h \
196 bgpd_bgpd_SOURCES = bgpd/bgp_main.c
197 bgpd_bgp_btoa_SOURCES = bgpd/bgp_btoa.c
199 bgpd_bgpd_CFLAGS = $(AM_CFLAGS)
200 bgpd_bgp_btoa_CFLAGS = $(AM_CFLAGS)
202 # RFPLDADD is set in bgpd/rfp-example/librfp/subdir.am
203 bgpd_bgpd_LDADD = bgpd/libbgp.a $(RFPLDADD) lib/libfrr.la $(LIBCAP) $(LIBM)
204 bgpd_bgp_btoa_LDADD = bgpd/libbgp.a $(RFPLDADD) lib/libfrr.la $(LIBCAP) $(LIBM)
206 bgpd_bgpd_snmp_la_SOURCES = bgpd/bgp_snmp.c
207 bgpd_bgpd_snmp_la_CFLAGS = $(WERROR) $(SNMP_CFLAGS) -std=gnu99
208 bgpd_bgpd_snmp_la_LDFLAGS = -avoid-version -module -shared -export-dynamic
209 bgpd_bgpd_snmp_la_LIBADD = lib/libfrrsnmp.la
211 bgpd_bgpd_rpki_la_SOURCES = bgpd/bgp_rpki.c
212 bgpd_bgpd_rpki_la_CFLAGS = $(WERROR) $(RTRLIB_CFLAGS)
213 bgpd_bgpd_rpki_la_LDFLAGS = -avoid-version -module -shared -export-dynamic
214 bgpd_bgpd_rpki_la_LIBADD = $(RTRLIB_LIBS)
216 bgpd_bgpd_bmp_la_SOURCES = bgpd/bgp_bmp.c
217 bgpd_bgpd_bmp_la_LIBADD = lib/libfrrcares.la
218 bgpd_bgpd_bmp_la_LDFLAGS = -avoid-version -module -shared -export-dynamic
223 bgpd/bgp_evpn_vty.c \
225 bgpd/bgp_routemap.c \