]>
Commit | Line | Data |
---|---|---|
afca0690 DL |
1 | # |
2 | # ospfclient | |
3 | # | |
4 | ||
5 | if OSPFCLIENT | |
6 | lib_LTLIBRARIES += ospfclient/libfrrospfapiclient.la | |
58596d34 | 7 | noinst_PROGRAMS += ospfclient/ospfclient |
9b5065e0 | 8 | #man8 += $(MANBUILD)/frr-ospfclient.8 |
afca0690 DL |
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 \ | |
fdbd8086 | 26 | $(LIBCAP) \ |
afca0690 | 27 | # end |
d6e76257 DL |
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 | ||
afca0690 DL |
41 | ospfclient_ospfclient_SOURCES = \ |
42 | ospfclient/ospfclient.c \ | |
43 | # end |