From 5d7402780ebbd43e0ddb51aed8fb3a7232775ed7 Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Mon, 5 Dec 2022 11:55:14 -0500 Subject: 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 (cherry picked from commit 253113bcb80b7b489eb848988a90459403f870de) --- ospfclient/ospf_apiclient.c | 4 ---- ospfclient/subdir.am | 1 + 2 files changed, 1 insertion(+), 4 deletions(-) (limited to 'ospfclient') diff --git a/ospfclient/ospf_apiclient.c b/ospfclient/ospf_apiclient.c index 4ce65e379a..2a125f08db 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 -- cgit v1.2.3