]> git.proxmox.com Git - mirror_frr.git/blob - ospfclient/subdir.am
zebra: Allow ns delete to happen after under/over flow checks
[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)/ospfclient.8
9 endif
10
11 ospfclient_libfrrospfapiclient_la_LDFLAGS = -version-info 0:0:0
12 ospfclient_libfrrospfapiclient_la_LIBADD = lib/libfrr.la
13 ospfclient_libfrrospfapiclient_la_SOURCES = \
14 ospfclient/ospf_apiclient.c \
15 # end
16
17 if OSPFCLIENT
18 ospfapiheaderdir = $(pkgincludedir)/ospfapi
19 ospfapiheader_HEADERS = \
20 ospfclient/ospf_apiclient.h \
21 # end
22 endif
23
24 ospfclient_ospfclient_LDADD = \
25 ospfclient/libfrrospfapiclient.la \
26 @LIBCAP@ \
27 # end
28
29 if 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
33 else # !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.
38 ospfclient_ospfclient_LDADD += lib/libfrr.la
39 endif
40
41 ospfclient_ospfclient_SOURCES = \
42 ospfclient/ospfclient.c \
43 # end