summaryrefslogtreecommitdiffstats
path: root/ospfclient
diff options
context:
space:
mode:
Diffstat (limited to 'ospfclient')
-rw-r--r--ospfclient/Makefile.am2
-rw-r--r--ospfclient/ospf_apiclient.c4
2 files changed, 5 insertions, 1 deletions
diff --git a/ospfclient/Makefile.am b/ospfclient/Makefile.am
index 28dc65d16..b4e362bbb 100644
--- a/ospfclient/Makefile.am
+++ b/ospfclient/Makefile.am
@@ -11,7 +11,7 @@ libfrrospfapiclient_la_LIBADD = ../lib/libfrr.la
sbin_PROGRAMS = ospfclient
libfrrospfapiclient_la_SOURCES = \
- ospf_apiclient.c ../ospfd/ospf_dump_api.c ../ospfd/ospf_api.c
+ ospf_apiclient.c
ospfapiheaderdir = $(pkgincludedir)/ospfapi
diff --git a/ospfclient/ospf_apiclient.c b/ospfclient/ospf_apiclient.c
index 1590b6538..fd53ab364 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")