mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-06 00:41:20 +00:00
build: move RFPLDADD to bgpd/rfp-example/librfp
This makes it slightly easier to replace the stub RFP code with an external implementation. Signed-off-by: David Lamparter <equinox@diac24.net>
This commit is contained in:
parent
086aec2ad4
commit
82f9e9b358
@ -4,6 +4,7 @@
|
||||
|
||||
if ENABLE_BGP_VNC
|
||||
noinst_LIBRARIES += bgpd/rfp-example/librfp/librfp.a
|
||||
RFPLDADD = bgpd/rfp-example/librfp/librfp.a
|
||||
endif
|
||||
|
||||
bgpd_rfp_example_librfp_librfp_a_SOURCES = \
|
||||
|
@ -16,5 +16,5 @@ noinst_HEADERS += \
|
||||
|
||||
bgpd_rfp_example_rfptest_rfptest_LDADD = \
|
||||
lib/libfrr.la \
|
||||
bgpd/rfp-example/librfp/librfp.a \
|
||||
$(RFPLDADD) \
|
||||
# end
|
||||
|
@ -192,11 +192,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@
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user