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 \
15 module_LTLIBRARIES += bgpd/bgpd_snmp.la
18 module_LTLIBRARIES += bgpd/bgpd_rpki.la
22 bgpd_libbgp_a_SOURCES = \
23 bgpd/bgp_advertise.c \
26 bgpd/bgp_attr_evpn.c \
29 bgpd/bgp_community.c \
33 bgpd/bgp_ecommunity.c \
34 bgpd/bgp_encap_tlv.c \
40 bgpd/bgp_flowspec_util.c \
41 bgpd/bgp_flowspec_vty.c \
44 bgpd/bgp_keepalives.c \
46 bgpd/bgp_labelpool.c \
47 bgpd/bgp_lcommunity.c \
63 bgpd/bgp_updgrp_adv.c \
64 bgpd/bgp_updgrp_packet.c \
72 bgpd_libbgp_a_SOURCES += \
73 bgpd/rfapi/bgp_rfapi_cfg.c \
74 bgpd/rfapi/rfapi_import.c \
76 bgpd/rfapi/rfapi_ap.c \
77 bgpd/rfapi/rfapi_descriptor_rfp_utils.c \
78 bgpd/rfapi/rfapi_encap_tlv.c \
79 bgpd/rfapi/rfapi_nve_addr.c \
80 bgpd/rfapi/rfapi_monitor.c \
81 bgpd/rfapi/rfapi_rib.c \
82 bgpd/rfapi/rfapi_vty.c \
83 bgpd/rfapi/vnc_debug.c \
84 bgpd/rfapi/vnc_export_bgp.c \
85 bgpd/rfapi/vnc_export_table.c \
86 bgpd/rfapi/vnc_import_bgp.c \
87 bgpd/rfapi/vnc_zebra.c \
92 bgpd/bgp_advertise.h \
95 bgpd/bgp_attr_evpn.h \
98 bgpd/bgp_community.h \
102 bgpd/bgp_ecommunity.h \
103 bgpd/bgp_encap_tlv.h \
104 bgpd/bgp_encap_types.h \
107 bgpd/bgp_evpn_private.h \
108 bgpd/bgp_evpn_vty.h \
110 bgpd/bgp_flowspec.h \
111 bgpd/bgp_flowspec_private.h \
112 bgpd/bgp_flowspec_util.h \
115 bgpd/bgp_keepalives.h \
117 bgpd/bgp_labelpool.h \
118 bgpd/bgp_lcommunity.h \
138 bgpd/rfapi/bgp_rfapi_cfg.h \
139 bgpd/rfapi/rfapi_import.h \
141 bgpd/rfapi/rfapi_ap.h \
142 bgpd/rfapi/rfapi_backend.h \
143 bgpd/rfapi/rfapi_descriptor_rfp_utils.h \
144 bgpd/rfapi/rfapi_encap_tlv.h \
145 bgpd/rfapi/rfapi_nve_addr.h \
146 bgpd/rfapi/rfapi_monitor.h \
147 bgpd/rfapi/rfapi_private.h \
148 bgpd/rfapi/rfapi_rib.h \
149 bgpd/rfapi/rfapi_vty.h \
150 bgpd/rfapi/vnc_debug.h \
151 bgpd/rfapi/vnc_export_bgp.h \
152 bgpd/rfapi/vnc_export_table.h \
153 bgpd/rfapi/vnc_import_bgp.h \
154 bgpd/rfapi/vnc_zebra.h \
155 bgpd/rfapi/vnc_export_bgp_p.h \
156 bgpd/rfapi/vnc_import_bgp_p.h \
157 bgpd/bgp_vnc_types.h \
160 bgpd_bgpd_SOURCES = bgpd/bgp_main.c
161 bgpd_bgp_btoa_SOURCES = bgpd/bgp_btoa.c
164 bgpd_bgpd_SOURCES += bgpd/rfapi/rfapi_descriptor_rfp_utils.c
165 bgpd_bgpd_CFLAGS = -Irfapi -I@top_srcdir@/$(RFPINC)
167 bgpd_bgp_btoa_SOURCES += bgpd/rfapi/rfapi_descriptor_rfp_utils.c
168 bgpd_bgp_btoa_CFLAGS = -Irfapi -I@top_srcdir@/$(RFPINC)
170 RFPLDADD = bgpd/rfp-example/librfp/librfp.a
174 bgpd_bgpd_LDADD = bgpd/libbgp.a $(RFPLDADD) lib/libfrr.la @LIBCAP@ @LIBM@
175 bgpd_bgp_btoa_LDADD = bgpd/libbgp.a $(RFPLDADD) lib/libfrr.la @LIBCAP@ @LIBM@
177 bgpd_bgpd_snmp_la_SOURCES = bgpd/bgp_snmp.c
178 bgpd_bgpd_snmp_la_CFLAGS = $(WERROR) $(SNMP_CFLAGS) -std=gnu99
179 bgpd_bgpd_snmp_la_LDFLAGS = -avoid-version -module -shared -export-dynamic
180 bgpd_bgpd_snmp_la_LIBADD = lib/libfrrsnmp.la
182 bgpd_bgpd_rpki_la_SOURCES = bgpd/bgp_rpki.c
183 bgpd_bgpd_rpki_la_CFLAGS = $(WERROR) $(RTRLIB_CFLAGS)
184 bgpd_bgpd_rpki_la_LDFLAGS = -avoid-version -module -shared -export-dynamic
185 bgpd_bgpd_rpki_la_LIBADD = $(RTRLIB_LIBS)
187 bgpd/bgp_vty_clippy.c: $(CLIPPY_DEPS)
188 bgpd/bgp_vty.$(OBJEXT): bgpd/bgp_vty_clippy.c
189 bgpd/bgp_route_clippy.c: $(CLIPPY_DEPS)
190 bgpd/bgp_route.$(OBJEXT): bgpd/bgp_route_clippy.c
191 bgpd/bgp_debug_clippy.c: $(CLIPPY_DEPS)
192 bgpd/bgp_debug.$(OBJEXT): bgpd/bgp_debug_clippy.c
193 bgpd/bgp_rpki_clippy.c: $(CLIPPY_DEPS)
194 $(AUTOMAKE_DUMMY)bgpd/bgpd_bgpd_rpki_la-bgp_rpki.lo: bgpd/bgp_rpki_clippy.c
195 $(AUTOMAKE_DUMMY)bgpd/bgpd_rpki_la-bgp_rpki.lo: bgpd/bgp_rpki_clippy.c
197 EXTRA_DIST += bgpd/BGP4-MIB.txt