]> git.proxmox.com Git - mirror_frr.git/blame - ospfclient/subdir.am
Merge pull request #13513 from subsecond/patch-4
[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
9b5065e0 8#man8 += $(MANBUILD)/frr-ospfclient.8
9191ac86
CH
9
10sbin_SCRIPTS += \
11 ospfclient/ospfclient.py \
12 # end
afca0690
DL
13endif
14
63116a70 15ospfclient_libfrrospfapiclient_la_LDFLAGS = $(LIB_LDFLAGS) -version-info 0:0:0
afca0690
DL
16ospfclient_libfrrospfapiclient_la_LIBADD = lib/libfrr.la
17ospfclient_libfrrospfapiclient_la_SOURCES = \
18 ospfclient/ospf_apiclient.c \
19 # end
20
21if OSPFCLIENT
22ospfapiheaderdir = $(pkgincludedir)/ospfapi
23ospfapiheader_HEADERS = \
24 ospfclient/ospf_apiclient.h \
25 # end
26endif
27
28ospfclient_ospfclient_LDADD = \
29 ospfclient/libfrrospfapiclient.la \
253113bc 30 ospfd/libfrrospfclient.a \
fdbd8086 31 $(LIBCAP) \
afca0690 32 # end
d6e76257
DL
33
34if STATIC_BIN
35# libfrr is linked in through libfrrospfapiclient. If we list it here too,
36# it gets linked twice and we get a ton of symbol collisions.
37
38else # !STATIC_BIN
39# For most systems we don't need this, except Debian, who patch their linker
40# to disallow transitive references *while* *als* not patching their libtool
41# to work appropriately. RedHat has the same linker behaviour, but things
42# work as expected since they also patch libtool.
43ospfclient_ospfclient_LDADD += lib/libfrr.la
44endif
45
afca0690
DL
46ospfclient_ospfclient_SOURCES = \
47 ospfclient/ospfclient.c \
48 # end
9191ac86
CH
49
50EXTRA_DIST += \
51 ospfclient/ospfclient.py \
52 # end