diff options
author | gdt <gdt> | 2004-06-30 17:36:11 +0000 |
---|---|---|
committer | gdt <gdt> | 2004-06-30 17:36:11 +0000 |
commit | 87efd646ffef693235d9d29b005a1467373c51bd (patch) | |
tree | 85d43e323abb1de6b1ddb6e889f9d580fdb8546d /ospfclient | |
parent | f2bfdee5f9db5363fcd13763eca3fda729067d57 (diff) |
Add libtool support.
libzebra and libospfapiclient are now built shared, and linked shared
with the daemons. This reduces the memory needed when running
multiple daemons; each daemon is at least 150k smaller. Static
libraries are still built, and libtool should use them on platforms
which don't have shared libaries. As with autoconf, the user of a
distribution does not need libtool; one just needs that to build from
CVS.
libospf.a is still a non-shared library, and still installed, not
because that makese sense, but because I don't understand why it is
the way it is now.
Note that the tree was tagged 'libtool-before' just before this commit.
Diffstat (limited to 'ospfclient')
-rw-r--r-- | ospfclient/ChangeLog | 4 | ||||
-rw-r--r-- | ospfclient/Makefile.am | 9 |
2 files changed, 9 insertions, 4 deletions
diff --git a/ospfclient/ChangeLog b/ospfclient/ChangeLog index 275b14ef..08653f40 100644 --- a/ospfclient/ChangeLog +++ b/ospfclient/ChangeLog @@ -1,3 +1,7 @@ +2004-06-30 Greg Troxel <gdt@poblano.ir.bbn.com> + + * Makefile.am: Add libtool/shlib support. + 2003-01-10 Ralph Keller <keller@tik.ee.ethz.ch> * New ChangeLog 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@ |