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 \
26 bgpd/bgp_flowspec_vty.c \
29 # can be loaded as DSO - always include for vtysh
30 vtysh_scan += bgpd/bgp_rpki.c
31 vtysh_scan += bgpd/bgp_bmp.c
35 bgpd/rfapi/bgp_rfapi_cfg.c \
37 bgpd/rfapi/rfapi_vty.c \
38 bgpd/rfapi/vnc_debug.c \
42 module_LTLIBRARIES += bgpd/bgpd_snmp.la
45 module_LTLIBRARIES += bgpd/bgpd_rpki.la
48 module_LTLIBRARIES += bgpd/bgpd_bmp.la
50 man8 += $(MANBUILD)/frr-bgpd.8
53 bgpd_libbgp_a_SOURCES = \
55 bgpd/bgp_advertise.c \
58 bgpd/bgp_attr_evpn.c \
61 bgpd/bgp_community.c \
65 bgpd/bgp_ecommunity.c \
66 bgpd/bgp_encap_tlv.c \
73 bgpd/bgp_flowspec_util.c \
74 bgpd/bgp_flowspec_vty.c \
77 bgpd/bgp_keepalives.c \
79 bgpd/bgp_labelpool.c \
80 bgpd/bgp_lcommunity.c \
97 bgpd/bgp_updgrp_adv.c \
98 bgpd/bgp_updgrp_packet.c \
106 bgpd_libbgp_a_SOURCES += \
107 bgpd/rfapi/bgp_rfapi_cfg.c \
108 bgpd/rfapi/rfapi_import.c \
110 bgpd/rfapi/rfapi_ap.c \
111 bgpd/rfapi/rfapi_descriptor_rfp_utils.c \
112 bgpd/rfapi/rfapi_encap_tlv.c \
113 bgpd/rfapi/rfapi_nve_addr.c \
114 bgpd/rfapi/rfapi_monitor.c \
115 bgpd/rfapi/rfapi_rib.c \
116 bgpd/rfapi/rfapi_vty.c \
117 bgpd/rfapi/vnc_debug.c \
118 bgpd/rfapi/vnc_export_bgp.c \
119 bgpd/rfapi/vnc_export_table.c \
120 bgpd/rfapi/vnc_import_bgp.c \
121 bgpd/rfapi/vnc_zebra.c \
127 bgpd/bgp_addpath_types.h \
128 bgpd/bgp_advertise.h \
131 bgpd/bgp_attr_evpn.h \
134 bgpd/bgp_community.h \
139 bgpd/bgp_ecommunity.h \
140 bgpd/bgp_encap_tlv.h \
141 bgpd/bgp_encap_types.h \
145 bgpd/bgp_evpn_private.h \
146 bgpd/bgp_evpn_vty.h \
148 bgpd/bgp_flowspec.h \
149 bgpd/bgp_flowspec_private.h \
150 bgpd/bgp_flowspec_util.h \
153 bgpd/bgp_keepalives.h \
155 bgpd/bgp_labelpool.h \
156 bgpd/bgp_lcommunity.h \
177 bgpd/rfapi/bgp_rfapi_cfg.h \
178 bgpd/rfapi/rfapi_import.h \
180 bgpd/rfapi/rfapi_ap.h \
181 bgpd/rfapi/rfapi_backend.h \
182 bgpd/rfapi/rfapi_descriptor_rfp_utils.h \
183 bgpd/rfapi/rfapi_encap_tlv.h \
184 bgpd/rfapi/rfapi_nve_addr.h \
185 bgpd/rfapi/rfapi_monitor.h \
186 bgpd/rfapi/rfapi_private.h \
187 bgpd/rfapi/rfapi_rib.h \
188 bgpd/rfapi/rfapi_vty.h \
189 bgpd/rfapi/vnc_debug.h \
190 bgpd/rfapi/vnc_export_bgp.h \
191 bgpd/rfapi/vnc_export_table.h \
192 bgpd/rfapi/vnc_import_bgp.h \
193 bgpd/rfapi/vnc_zebra.h \
194 bgpd/rfapi/vnc_export_bgp_p.h \
195 bgpd/rfapi/vnc_import_bgp_p.h \
196 bgpd/bgp_vnc_types.h \
199 bgpd_bgpd_SOURCES = bgpd/bgp_main.c
200 bgpd_bgp_btoa_SOURCES = bgpd/bgp_btoa.c
202 bgpd_bgpd_CFLAGS = $(AM_CFLAGS)
203 bgpd_bgp_btoa_CFLAGS = $(AM_CFLAGS)
205 # RFPLDADD is set in bgpd/rfp-example/librfp/subdir.am
206 bgpd_bgpd_LDADD = bgpd/libbgp.a $(RFPLDADD) lib/libfrr.la $(LIBCAP) $(LIBM)
207 bgpd_bgp_btoa_LDADD = bgpd/libbgp.a $(RFPLDADD) lib/libfrr.la $(LIBCAP) $(LIBM)
209 bgpd_bgpd_snmp_la_SOURCES = bgpd/bgp_snmp.c
210 bgpd_bgpd_snmp_la_CFLAGS = $(WERROR) $(SNMP_CFLAGS) -std=gnu99
211 bgpd_bgpd_snmp_la_LDFLAGS = -avoid-version -module -shared -export-dynamic
212 bgpd_bgpd_snmp_la_LIBADD = lib/libfrrsnmp.la
214 bgpd_bgpd_rpki_la_SOURCES = bgpd/bgp_rpki.c
215 bgpd_bgpd_rpki_la_CFLAGS = $(WERROR) $(RTRLIB_CFLAGS)
216 bgpd_bgpd_rpki_la_LDFLAGS = -avoid-version -module -shared -export-dynamic
217 bgpd_bgpd_rpki_la_LIBADD = $(RTRLIB_LIBS)
219 bgpd_bgpd_bmp_la_SOURCES = bgpd/bgp_bmp.c
220 bgpd_bgpd_bmp_la_LIBADD = lib/libfrrcares.la
221 bgpd_bgpd_bmp_la_LDFLAGS = -avoid-version -module -shared -export-dynamic
226 bgpd/bgp_evpn_vty.c \
228 bgpd/bgp_routemap.c \