summaryrefslogtreecommitdiff
path: root/ospfclient
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2022-12-05 11:55:14 -0500
committerDonald Sharp <sharpd@nvidia.com>2022-12-05 11:55:14 -0500
commit253113bcb80b7b489eb848988a90459403f870de (patch)
treebd08f36bf7e7e3424bb661520281b0d7d8a83ef2 /ospfclient
parent29a1a53d6c3023841b8289f9ff7b15219ec0b05c (diff)
ospfd, ospfclient: Do not just include .c files in another .c
ospfclient.c includes .c files directly from ospfd. Let's separate these out a bit. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'ospfclient')
-rw-r--r--ospfclient/ospf_apiclient.c4
-rw-r--r--ospfclient/subdir.am1
2 files changed, 1 insertions, 4 deletions
diff --git a/ospfclient/ospf_apiclient.c b/ospfclient/ospf_apiclient.c
index 05c5e7789d..4982cd885e 100644
--- a/ospfclient/ospf_apiclient.c
+++ b/ospfclient/ospf_apiclient.c
@@ -54,10 +54,6 @@
#include "ospf_apiclient.h"
-/* *sigh* ... can't find a better way to hammer this into automake */
-#include "ospfd/ospf_dump_api.c"
-#include "ospfd/ospf_api.c"
-
XREF_SETUP();
DEFINE_MGROUP(OSPFCLIENT, "libospfapiclient");
diff --git a/ospfclient/subdir.am b/ospfclient/subdir.am
index b8c82c0bcf..289ddd009d 100644
--- a/ospfclient/subdir.am
+++ b/ospfclient/subdir.am
@@ -27,6 +27,7 @@ endif
ospfclient_ospfclient_LDADD = \
ospfclient/libfrrospfapiclient.la \
+ ospfd/libfrrospfclient.a \
$(LIBCAP) \
# end