Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
232 lines (217 sloc) 5.85 KB
#
# bgpd
#
if BGPD
noinst_LIBRARIES += bgpd/libbgp.a
sbin_PROGRAMS += bgpd/bgpd
noinst_PROGRAMS += bgpd/bgp_btoa
dist_examples_DATA += \
bgpd/bgpd.conf.sample \
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 \
bgpd/bgp_attr_evpn.c \
bgpd/bgp_bfd.c \
bgpd/bgp_clist.c \
bgpd/bgp_community.c \
bgpd/bgp_damp.c \
bgpd/bgp_debug.c \
bgpd/bgp_dump.c \
bgpd/bgp_ecommunity.c \
bgpd/bgp_encap_tlv.c \
bgpd/bgp_errors.c \
bgpd/bgp_evpn.c \
bgpd/bgp_evpn_vty.c \
bgpd/bgp_filter.c \
bgpd/bgp_flowspec.c \
bgpd/bgp_flowspec_util.c \
bgpd/bgp_flowspec_vty.c \
bgpd/bgp_fsm.c \
bgpd/bgp_io.c \
bgpd/bgp_keepalives.c \
bgpd/bgp_label.c \
bgpd/bgp_labelpool.c \
bgpd/bgp_lcommunity.c \
bgpd/bgp_mac.c \
bgpd/bgp_memory.c \
bgpd/bgp_mpath.c \
bgpd/bgp_mplsvpn.c \
bgpd/bgp_network.c \
bgpd/bgp_nexthop.c \
bgpd/bgp_nht.c \
bgpd/bgp_open.c \
bgpd/bgp_packet.c \
bgpd/bgp_pbr.c \
bgpd/bgp_rd.c \
bgpd/bgp_regex.c \
bgpd/bgp_route.c \
bgpd/bgp_routemap.c \
bgpd/bgp_table.c \
bgpd/bgp_updgrp.c \
bgpd/bgp_updgrp_adv.c \
bgpd/bgp_updgrp_packet.c \
bgpd/bgp_vpn.c \
bgpd/bgp_vty.c \
bgpd/bgp_zebra.c \
bgpd/bgpd.c \
# end
if ENABLE_BGP_VNC
bgpd_libbgp_a_SOURCES += \
bgpd/rfapi/bgp_rfapi_cfg.c \
bgpd/rfapi/rfapi_import.c \
bgpd/rfapi/rfapi.c \
bgpd/rfapi/rfapi_ap.c \
bgpd/rfapi/rfapi_descriptor_rfp_utils.c \
bgpd/rfapi/rfapi_encap_tlv.c \
bgpd/rfapi/rfapi_nve_addr.c \
bgpd/rfapi/rfapi_monitor.c \
bgpd/rfapi/rfapi_rib.c \
bgpd/rfapi/rfapi_vty.c \
bgpd/rfapi/vnc_debug.c \
bgpd/rfapi/vnc_export_bgp.c \
bgpd/rfapi/vnc_export_table.c \
bgpd/rfapi/vnc_import_bgp.c \
bgpd/rfapi/vnc_zebra.c \
# end
endif
noinst_HEADERS += \
bgpd/bgp_addpath.h \
bgpd/bgp_addpath_types.h \
bgpd/bgp_advertise.h \
bgpd/bgp_aspath.h \
bgpd/bgp_attr.h \
bgpd/bgp_attr_evpn.h \
bgpd/bgp_bfd.h \
bgpd/bgp_clist.h \
bgpd/bgp_community.h \
bgpd/bgp_damp.h \
bgpd/bgp_debug.h \
bgpd/bgp_dump.h \
bgpd/bgp_ecommunity.h \
bgpd/bgp_encap_tlv.h \
bgpd/bgp_encap_types.h \
bgpd/bgp_errors.h \
bgpd/bgp_evpn.h \
bgpd/bgp_evpn_private.h \
bgpd/bgp_evpn_vty.h \
bgpd/bgp_filter.h \
bgpd/bgp_flowspec.h \
bgpd/bgp_flowspec_private.h \
bgpd/bgp_flowspec_util.h \
bgpd/bgp_fsm.h \
bgpd/bgp_io.h \
bgpd/bgp_keepalives.h \
bgpd/bgp_label.h \
bgpd/bgp_labelpool.h \
bgpd/bgp_lcommunity.h \
bgpd/bgp_mac.h \
bgpd/bgp_memory.h \
bgpd/bgp_mpath.h \
bgpd/bgp_mplsvpn.h \
bgpd/bgp_network.h \
bgpd/bgp_nexthop.h \
bgpd/bgp_nht.h \
bgpd/bgp_open.h \
bgpd/bgp_packet.h \
bgpd/bgp_pbr.h \
bgpd/bgp_rd.h \
bgpd/bgp_regex.h \
bgpd/bgp_route.h \
bgpd/bgp_table.h \
bgpd/bgp_updgrp.h \
bgpd/bgp_vpn.h \
bgpd/bgp_vty.h \
bgpd/bgp_zebra.h \
bgpd/bgpd.h \
\
bgpd/rfapi/bgp_rfapi_cfg.h \
bgpd/rfapi/rfapi_import.h \
bgpd/rfapi/rfapi.h \
bgpd/rfapi/rfapi_ap.h \
bgpd/rfapi/rfapi_backend.h \
bgpd/rfapi/rfapi_descriptor_rfp_utils.h \
bgpd/rfapi/rfapi_encap_tlv.h \
bgpd/rfapi/rfapi_nve_addr.h \
bgpd/rfapi/rfapi_monitor.h \
bgpd/rfapi/rfapi_private.h \
bgpd/rfapi/rfapi_rib.h \
bgpd/rfapi/rfapi_vty.h \
bgpd/rfapi/vnc_debug.h \
bgpd/rfapi/vnc_export_bgp.h \
bgpd/rfapi/vnc_export_table.h \
bgpd/rfapi/vnc_import_bgp.h \
bgpd/rfapi/vnc_zebra.h \
bgpd/rfapi/vnc_export_bgp_p.h \
bgpd/rfapi/vnc_import_bgp_p.h \
bgpd/bgp_vnc_types.h \
# end
bgpd_bgpd_SOURCES = bgpd/bgp_main.c
bgpd_bgp_btoa_SOURCES = bgpd/bgp_btoa.c
bgpd_bgpd_CFLAGS = $(AM_CFLAGS)
bgpd_bgp_btoa_CFLAGS = $(AM_CFLAGS)
if ENABLE_BGP_VNC
bgpd_bgpd_SOURCES += bgpd/rfapi/rfapi_descriptor_rfp_utils.c
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)
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)
bgpd_bgpd_snmp_la_SOURCES = bgpd/bgp_snmp.c
bgpd_bgpd_snmp_la_CFLAGS = $(WERROR) $(SNMP_CFLAGS) -std=gnu99
bgpd_bgpd_snmp_la_LDFLAGS = -avoid-version -module -shared -export-dynamic
bgpd_bgpd_snmp_la_LIBADD = lib/libfrrsnmp.la
bgpd_bgpd_rpki_la_SOURCES = bgpd/bgp_rpki.c
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)
bgpd/bgp_route.$(OBJEXT): bgpd/bgp_route_clippy.c
bgpd/bgp_debug_clippy.c: $(CLIPPY_DEPS)
bgpd/bgp_debug.$(OBJEXT): bgpd/bgp_debug_clippy.c
bgpd/bgp_routemap_clippy.c: $(CLIPPY_DEPS)
bgpd/bgp_routemap.$(OBJEXT): bgpd/bgp_routemap_clippy.c
bgpd/bgp_rpki_clippy.c: $(CLIPPY_DEPS)
$(AUTOMAKE_DUMMY)bgpd/bgpd_bgpd_rpki_la-bgp_rpki.lo: bgpd/bgp_rpki_clippy.c
$(AUTOMAKE_DUMMY)bgpd/bgpd_rpki_la-bgp_rpki.lo: bgpd/bgp_rpki_clippy.c
You can’t perform that action at this time.