summaryrefslogtreecommitdiffstats
path: root/bgpd/subdir.am
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2018-08-21 20:56:16 +0200
committerDavid Lamparter <equinox@opensourcerouting.org>2018-09-08 21:30:42 +0200
commit82f9e9b35839e849a83e8a9341ca1a1ca4a1e537 (patch)
tree19645d470f1f45d3b2591228977f7f4766d224bb /bgpd/subdir.am
parentvtysh: make RPKI node non-conditional (diff)
downloadfrr-82f9e9b35839e849a83e8a9341ca1a1ca4a1e537.tar.xz
frr-82f9e9b35839e849a83e8a9341ca1a1ca4a1e537.zip
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>
Diffstat (limited to 'bgpd/subdir.am')
-rw-r--r--bgpd/subdir.am6
1 files changed, 2 insertions, 4 deletions
diff --git a/bgpd/subdir.am b/bgpd/subdir.am
index f54fbab1f..6ab63abea 100644
--- a/bgpd/subdir.am
+++ b/bgpd/subdir.am
@@ -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@