]>
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 |
9191ac86 CH |
9 | |
10 | sbin_SCRIPTS += \ | |
11 | ospfclient/ospfclient.py \ | |
12 | # end | |
afca0690 DL |
13 | endif |
14 | ||
63116a70 | 15 | ospfclient_libfrrospfapiclient_la_LDFLAGS = $(LIB_LDFLAGS) -version-info 0:0:0 |
afca0690 DL |
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 \ | |
253113bc | 30 | ospfd/libfrrospfclient.a \ |
fdbd8086 | 31 | $(LIBCAP) \ |
afca0690 | 32 | # end |
d6e76257 DL |
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 | ||
afca0690 DL |
46 | ospfclient_ospfclient_SOURCES = \ |
47 | ospfclient/ospfclient.c \ | |
48 | # end | |
9191ac86 CH |
49 | |
50 | EXTRA_DIST += \ | |
51 | ospfclient/ospfclient.py \ | |
52 | # end |