From bd9db8f46efcf88be586caa99d83bbdabb371b66 Mon Sep 17 00:00:00 2001 From: David Lamparter Date: Thu, 9 Feb 2017 12:59:44 +0100 Subject: ospfclient: #include sources Pulling in source files from another directory breaks automake's distclean target, and there seems to be no good fix for this... (particularly since we need -fPIC build for a DSO here, while ospfd compiles for an executable...) Signed-off-by: David Lamparter --- ospfclient/ospf_apiclient.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ospfclient/ospf_apiclient.c') diff --git a/ospfclient/ospf_apiclient.c b/ospfclient/ospf_apiclient.c index 1590b65384..fd53ab364c 100644 --- a/ospfclient/ospf_apiclient.c +++ b/ospfclient/ospf_apiclient.c @@ -49,6 +49,10 @@ #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" + DEFINE_MGROUP(OSPFCLIENT, "libospfapiclient") DEFINE_MTYPE_STATIC(OSPFCLIENT, OSPF_APICLIENT, "OSPF-API client") -- cgit v1.2.3