]> git.proxmox.com Git - mirror_frr.git/blame - ospfclient/subdir.am
zebra: Convert socket interface to use `union sockunion`
[mirror_frr.git] / ospfclient / subdir.am
CommitLineData
afca0690
DL
1#
2# ospfclient
3#
4
5if OSPFCLIENT
6lib_LTLIBRARIES += ospfclient/libfrrospfapiclient.la
58596d34 7noinst_PROGRAMS += ospfclient/ospfclient
f4f2f2cc 8man8 += $(MANBUILD)/ospfclient.8
afca0690
DL
9endif
10
11ospfclient_libfrrospfapiclient_la_LDFLAGS = -version-info 0:0:0
12ospfclient_libfrrospfapiclient_la_LIBADD = lib/libfrr.la
13ospfclient_libfrrospfapiclient_la_SOURCES = \
14 ospfclient/ospf_apiclient.c \
15 # end
16
17if OSPFCLIENT
18ospfapiheaderdir = $(pkgincludedir)/ospfapi
19ospfapiheader_HEADERS = \
20 ospfclient/ospf_apiclient.h \
21 # end
22endif
23
24ospfclient_ospfclient_LDADD = \
25 ospfclient/libfrrospfapiclient.la \
afca0690
DL
26 @LIBCAP@ \
27 # end
d6e76257
DL
28
29if STATIC_BIN
30# libfrr is linked in through libfrrospfapiclient. If we list it here too,
31# it gets linked twice and we get a ton of symbol collisions.
32
33else # !STATIC_BIN
34# For most systems we don't need this, except Debian, who patch their linker
35# to disallow transitive references *while* *als* not patching their libtool
36# to work appropriately. RedHat has the same linker behaviour, but things
37# work as expected since they also patch libtool.
38ospfclient_ospfclient_LDADD += lib/libfrr.la
39endif
40
afca0690
DL
41ospfclient_ospfclient_SOURCES = \
42 ospfclient/ospfclient.c \
43 # end