summaryrefslogtreecommitdiffstats
path: root/ospfclient/ospf_apiclient.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2017-02-09 12:59:44 +0100
committerDavid Lamparter <equinox@opensourcerouting.org>2017-02-09 17:08:09 +0100
commitbd9db8f46efcf88be586caa99d83bbdabb371b66 (patch)
tree9d36ac90957736e04cc4f807a2c29f206e84641a /ospfclient/ospf_apiclient.c
parentMerge pull request #190 from opensourcerouting/config-write-sync-stable (diff)
downloadfrr-bd9db8f46efcf88be586caa99d83bbdabb371b66.tar.xz
frr-bd9db8f46efcf88be586caa99d83bbdabb371b66.zip
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 <equinox@opensourcerouting.org>
Diffstat (limited to 'ospfclient/ospf_apiclient.c')
-rw-r--r--ospfclient/ospf_apiclient.c4
1 files changed, 4 insertions, 0 deletions
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")