diff options
Diffstat (limited to 'ospfclient/Makefile.am')
-rw-r--r-- | ospfclient/Makefile.am | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/ospfclient/Makefile.am b/ospfclient/Makefile.am index 035ee901..6c5a8cdd 100644 --- a/ospfclient/Makefile.am +++ b/ospfclient/Makefile.am @@ -2,10 +2,10 @@ INCLUDES = -I../lib -I../ -lib_LIBRARIES = libospfapiclient.a +lib_LTLIBRARIES = libospfapiclient.la sbin_PROGRAMS = ospfclient -libospfapiclient_a_SOURCES = \ +libospfapiclient_la_SOURCES = \ ospf_apiclient.c ospfapiheaderdir = $(pkgincludedir)/ospfapi @@ -14,8 +14,9 @@ ospfapiheader_HEADERS = \ ospf_apiclient.h ospfclient_SOURCES = \ - ospfclient.c $(libospfapiclient_a_SOURCES) + ospfclient.c -ospfclient_LDADD = ../ospfd/libospf.a ../lib/libzebra.a @LIBCAP@ +ospfclient_LDADD = libospfapiclient.la \ + -L../ospfd -lospf -L../lib -lzebra @LIBCAP@ |