]> git.proxmox.com Git - mirror_frr.git/blob - ospfclient/subdir.am
Merge pull request #13649 from donaldsharp/unlock_the_node_or_else
[mirror_frr.git] / ospfclient / subdir.am
1 #
2 # ospfclient
3 #
4
5 if OSPFCLIENT
6 lib_LTLIBRARIES += ospfclient/libfrrospfapiclient.la
7 noinst_PROGRAMS += ospfclient/ospfclient
8 #man8 += $(MANBUILD)/frr-ospfclient.8
9
10 sbin_SCRIPTS += \
11 ospfclient/ospfclient.py \
12 # end
13 endif
14
15 ospfclient_libfrrospfapiclient_la_LDFLAGS = $(LIB_LDFLAGS) -version-info 0:0:0
16 ospfclient_libfrrospfapiclient_la_LIBADD = lib/libfrr.la
17 ospfclient_libfrrospfapiclient_la_SOURCES = \
18 ospfclient/ospf_apiclient.c \
19 # end
20
21 if OSPFCLIENT
22 ospfapiheaderdir = $(pkgincludedir)/ospfapi
23 ospfapiheader_HEADERS = \
24 ospfclient/ospf_apiclient.h \
25 # end
26 endif
27
28 ospfclient_ospfclient_LDADD = \
29 ospfclient/libfrrospfapiclient.la \
30 ospfd/libfrrospfclient.a \
31 $(LIBCAP) \
32 # end
33
34 if 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
38 else # !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.
43 ospfclient_ospfclient_LDADD += lib/libfrr.la
44 endif
45
46 ospfclient_ospfclient_SOURCES = \
47 ospfclient/ospfclient.c \
48 # end
49
50 EXTRA_DIST += \
51 ospfclient/ospfclient.py \
52 # end