|
|
c8bb8f |
diff -up dhcp-4.2.5b1/client/Makefile.am.sharedlib dhcp-4.2.5b1/client/Makefile.am
|
|
|
c8bb8f |
--- dhcp-4.2.5b1/client/Makefile.am.sharedlib 2012-12-17 16:26:53.350623790 +0100
|
|
|
c8bb8f |
+++ dhcp-4.2.5b1/client/Makefile.am 2012-12-17 16:26:53.384623342 +0100
|
|
|
c8bb8f |
@@ -4,7 +4,7 @@ dhclient_SOURCES = clparse.c dhclient.c
|
|
|
c8bb8f |
scripts/bsdos scripts/freebsd scripts/linux scripts/macos \
|
|
|
c8bb8f |
scripts/netbsd scripts/nextstep scripts/openbsd \
|
|
|
c8bb8f |
scripts/solaris scripts/openwrt
|
|
|
c8bb8f |
-dhclient_LDADD = ../common/libdhcp.a ../omapip/libomapi.a \
|
|
|
c8bb8f |
+dhclient_LDADD = ../common/libdhcp.a ../omapip/libomapi.la \
|
|
|
c8bb8f |
$(BIND9_LIBDIR) -ldns-export -lisc-export $(CAPNG_LDADD)
|
|
|
c8bb8f |
man_MANS = dhclient.8 dhclient-script.8 dhclient.conf.5 dhclient.leases.5
|
|
|
c8bb8f |
EXTRA_DIST = $(man_MANS)
|
|
|
c8bb8f |
diff -up dhcp-4.2.5b1/common/tests/Makefile.am.sharedlib dhcp-4.2.5b1/common/tests/Makefile.am
|
|
|
c8bb8f |
--- dhcp-4.2.5b1/common/tests/Makefile.am.sharedlib 2012-12-17 16:26:53.271624835 +0100
|
|
|
c8bb8f |
+++ dhcp-4.2.5b1/common/tests/Makefile.am 2012-12-17 16:26:53.384623342 +0100
|
|
|
c8bb8f |
@@ -13,7 +13,7 @@ ATF_TESTS += alloc_unittest
|
|
|
c8bb8f |
alloc_unittest_SOURCES = test_alloc.c $(top_srcdir)/tests/t_api_dhcp.c
|
|
|
c8bb8f |
alloc_unittest_LDADD = $(ATF_LDFLAGS)
|
|
|
c8bb8f |
alloc_unittest_LDADD += ../libdhcp.a \
|
|
|
c8bb8f |
- ../../omapip/libomapi.a \
|
|
|
c8bb8f |
+ ../../omapip/libomapi.la \
|
|
|
c8bb8f |
$(BIND9_LIBDIR) -ldns-export -lisc-export
|
|
|
c8bb8f |
|
|
|
c8bb8f |
check: $(ATF_TESTS)
|
|
|
c8bb8f |
diff -up dhcp-4.2.5b1/configure.ac.sharedlib dhcp-4.2.5b1/configure.ac
|
|
|
c8bb8f |
--- dhcp-4.2.5b1/configure.ac.sharedlib 2012-12-17 16:26:53.350623790 +0100
|
|
|
c8bb8f |
+++ dhcp-4.2.5b1/configure.ac 2012-12-17 16:26:53.384623342 +0100
|
|
|
c8bb8f |
@@ -37,7 +37,8 @@ fi
|
|
|
c8bb8f |
# Use this to define _GNU_SOURCE to pull in the IPv6 Advanced Socket API.
|
|
|
c8bb8f |
AC_USE_SYSTEM_EXTENSIONS
|
|
|
c8bb8f |
|
|
|
c8bb8f |
-AC_PROG_RANLIB
|
|
|
c8bb8f |
+# Use libtool to simplify building of shared libraries
|
|
|
c8bb8f |
+AC_PROG_LIBTOOL
|
|
|
c8bb8f |
AC_CONFIG_HEADERS([includes/config.h])
|
|
|
c8bb8f |
|
|
|
c8bb8f |
# we sometimes need to know byte order for building packets
|
|
|
c8bb8f |
diff -up dhcp-4.2.5b1/dhcpctl/Makefile.am.sharedlib dhcp-4.2.5b1/dhcpctl/Makefile.am
|
|
|
c8bb8f |
--- dhcp-4.2.5b1/dhcpctl/Makefile.am.sharedlib 2012-12-17 16:26:53.271624835 +0100
|
|
|
c8bb8f |
+++ dhcp-4.2.5b1/dhcpctl/Makefile.am 2012-12-17 16:26:53.385623329 +0100
|
|
|
c8bb8f |
@@ -1,15 +1,15 @@
|
|
|
c8bb8f |
bin_PROGRAMS = omshell
|
|
|
c8bb8f |
-lib_LIBRARIES = libdhcpctl.a
|
|
|
c8bb8f |
+lib_LTLIBRARIES = libdhcpctl.la
|
|
|
c8bb8f |
noinst_PROGRAMS = cltest
|
|
|
c8bb8f |
man_MANS = omshell.1 dhcpctl.3
|
|
|
c8bb8f |
EXTRA_DIST = $(man_MANS)
|
|
|
c8bb8f |
|
|
|
c8bb8f |
omshell_SOURCES = omshell.c
|
|
|
c8bb8f |
-omshell_LDADD = libdhcpctl.a ../common/libdhcp.a ../omapip/libomapi.a \
|
|
|
c8bb8f |
+omshell_LDADD = libdhcpctl.la ../common/libdhcp.a ../omapip/libomapi.la \
|
|
|
c8bb8f |
$(BIND9_LIBDIR) -ldns-export -lisc-export
|
|
|
c8bb8f |
|
|
|
c8bb8f |
-libdhcpctl_a_SOURCES = dhcpctl.c callback.c remote.c
|
|
|
c8bb8f |
+libdhcpctl_la_SOURCES = dhcpctl.c callback.c remote.c
|
|
|
c8bb8f |
|
|
|
c8bb8f |
cltest_SOURCES = cltest.c
|
|
|
c8bb8f |
-cltest_LDADD = libdhcpctl.a ../common/libdhcp.a ../omapip/libomapi.a \
|
|
|
c8bb8f |
+cltest_LDADD = libdhcpctl.la ../common/libdhcp.a ../omapip/libomapi.la \
|
|
|
c8bb8f |
$(BIND9_LIBDIR) -ldns-export -lisc-export
|
|
|
c8bb8f |
diff -up dhcp-4.2.5b1/omapip/Makefile.am.sharedlib dhcp-4.2.5b1/omapip/Makefile.am
|
|
|
c8bb8f |
--- dhcp-4.2.5b1/omapip/Makefile.am.sharedlib 2012-12-17 16:26:53.272624822 +0100
|
|
|
c8bb8f |
+++ dhcp-4.2.5b1/omapip/Makefile.am 2012-12-17 16:26:53.385623329 +0100
|
|
|
c8bb8f |
@@ -1,7 +1,7 @@
|
|
|
c8bb8f |
-lib_LIBRARIES = libomapi.a
|
|
|
c8bb8f |
+lib_LTLIBRARIES = libomapi.la
|
|
|
c8bb8f |
noinst_PROGRAMS = svtest
|
|
|
c8bb8f |
|
|
|
c8bb8f |
-libomapi_a_SOURCES = protocol.c buffer.c alloc.c result.c connection.c \
|
|
|
c8bb8f |
+libomapi_la_SOURCES = protocol.c buffer.c alloc.c result.c connection.c \
|
|
|
c8bb8f |
errwarn.c listener.c dispatch.c generic.c support.c \
|
|
|
c8bb8f |
handle.c message.c convert.c hash.c auth.c inet_addr.c \
|
|
|
c8bb8f |
array.c trace.c toisc.c iscprint.c isclib.c
|
|
|
c8bb8f |
@@ -10,5 +10,5 @@ man_MANS = omapi.3
|
|
|
c8bb8f |
EXTRA_DIST = $(man_MANS)
|
|
|
c8bb8f |
|
|
|
c8bb8f |
svtest_SOURCES = test.c
|
|
|
c8bb8f |
-svtest_LDADD = libomapi.a $(BIND9_LIBDIR) -ldns-export -lisc-export
|
|
|
c8bb8f |
+svtest_LDADD = libomapi.la $(BIND9_LIBDIR) -ldns-export -lisc-export
|
|
|
c8bb8f |
|
|
|
c8bb8f |
diff -up dhcp-4.2.5b1/relay/Makefile.am.sharedlib dhcp-4.2.5b1/relay/Makefile.am
|
|
|
c8bb8f |
--- dhcp-4.2.5b1/relay/Makefile.am.sharedlib 2012-12-17 16:26:53.351623777 +0100
|
|
|
c8bb8f |
+++ dhcp-4.2.5b1/relay/Makefile.am 2012-12-17 16:26:53.385623329 +0100
|
|
|
c8bb8f |
@@ -2,7 +2,7 @@ AM_CPPFLAGS = -DLOCALSTATEDIR='"@localst
|
|
|
c8bb8f |
|
|
|
c8bb8f |
sbin_PROGRAMS = dhcrelay
|
|
|
c8bb8f |
dhcrelay_SOURCES = dhcrelay.c
|
|
|
c8bb8f |
-dhcrelay_LDADD = ../common/libdhcp.a ../omapip/libomapi.a \
|
|
|
c8bb8f |
+dhcrelay_LDADD = ../common/libdhcp.a ../omapip/libomapi.la \
|
|
|
c8bb8f |
$(BIND9_LIBDIR) -ldns-export -lisc-export $(CAPNG_LDADD)
|
|
|
c8bb8f |
man_MANS = dhcrelay.8
|
|
|
c8bb8f |
EXTRA_DIST = $(man_MANS)
|
|
|
c8bb8f |
diff -up dhcp-4.2.5b1/server/Makefile.am.sharedlib dhcp-4.2.5b1/server/Makefile.am
|
|
|
c8bb8f |
--- dhcp-4.2.5b1/server/Makefile.am.sharedlib 2012-12-17 16:26:53.272624822 +0100
|
|
|
c8bb8f |
+++ dhcp-4.2.5b1/server/Makefile.am 2012-12-17 16:26:53.385623329 +0100
|
|
|
c8bb8f |
@@ -13,8 +13,8 @@ dhcpd_SOURCES = dhcpd.c dhcp.c bootp.c c
|
|
|
c8bb8f |
dhcpv6.c mdb6.c ldap.c ldap_casa.c
|
|
|
c8bb8f |
|
|
|
c8bb8f |
dhcpd_CFLAGS = $(LDAP_CFLAGS)
|
|
|
c8bb8f |
-dhcpd_LDADD = ../common/libdhcp.a ../omapip/libomapi.a \
|
|
|
c8bb8f |
- ../dhcpctl/libdhcpctl.a $(BIND9_LIBDIR) -ldns-export -lisc-export
|
|
|
c8bb8f |
+dhcpd_LDADD = ../common/libdhcp.a ../omapip/libomapi.la \
|
|
|
c8bb8f |
+ ../dhcpctl/libdhcpctl.la $(BIND9_LIBDIR) -ldns-export -lisc-export
|
|
|
c8bb8f |
|
|
|
c8bb8f |
man_MANS = dhcpd.8 dhcpd.conf.5 dhcpd.leases.5
|
|
|
c8bb8f |
EXTRA_DIST = $(man_MANS)
|
|
|
c8bb8f |
diff -up dhcp-4.2.5b1/server/tests/Makefile.am.sharedlib dhcp-4.2.5b1/server/tests/Makefile.am
|
|
|
c8bb8f |
--- dhcp-4.2.5b1/server/tests/Makefile.am.sharedlib 2012-12-17 16:26:53.000000000 +0100
|
|
|
c8bb8f |
+++ dhcp-4.2.5b1/server/tests/Makefile.am 2012-12-17 16:28:25.898349545 +0100
|
|
|
c8bb8f |
@@ -17,8 +17,8 @@ DHCPSRC = ../dhcp.c ../bootp.c ../confpa
|
|
|
c8bb8f |
../ddns.c ../dhcpleasequery.c ../dhcpv6.c ../mdb6.c \
|
|
|
c8bb8f |
../ldap.c ../ldap_casa.c ../dhcpd.c
|
|
|
c8bb8f |
|
|
|
c8bb8f |
-DHCPLIBS = $(top_builddir)/common/libdhcp.a $(top_builddir)/omapip/libomapi.a \
|
|
|
c8bb8f |
- $(top_builddir)/dhcpctl/libdhcpctl.a $(BIND9_LIBDIR) -ldns-export -lisc-export
|
|
|
c8bb8f |
+DHCPLIBS = $(top_builddir)/common/libdhcp.a $(top_builddir)/omapip/libomapi.la \
|
|
|
c8bb8f |
+ $(top_builddir)/dhcpctl/libdhcpctl.la $(BIND9_LIBDIR) -ldns-export -lisc-export
|
|
|
c8bb8f |
|
|
|
c8bb8f |
ATF_TESTS =
|
|
|
c8bb8f |
TESTS =
|