mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-11-03 08:33:00 +00:00
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>
This commit is contained in:
parent
b7671f356a
commit
bd9db8f46e
@ -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
|
||||
|
||||
|
||||
@ -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")
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user