7b69e5
diff -up dhcp-4.3.1b1/client/Makefile.am.uCWMBl dhcp-4.3.1b1/client/Makefile.am
7b69e5
--- dhcp-4.3.1b1/client/Makefile.am.uCWMBl	2014-07-10 17:36:30.484250976 +0200
7b69e5
+++ dhcp-4.3.1b1/client/Makefile.am	2014-07-10 17:38:10.778828583 +0200
7b69e5
@@ -10,7 +10,7 @@ dhclient_SOURCES = clparse.c dhclient.c
34b641
 		   scripts/bsdos scripts/freebsd scripts/linux scripts/macos \
34b641
 		   scripts/netbsd scripts/nextstep scripts/openbsd \
Adam Tkac 81227a
 		   scripts/solaris scripts/openwrt
Adam Tkac 81227a
-dhclient_LDADD = ../common/libdhcp.a ../omapip/libomapi.a \
Adam Tkac 81227a
+dhclient_LDADD = ../common/libdhcp.a ../omapip/libomapi.la \
e83fb1
 		 $(BIND9_LIBDIR) -lirs-export -ldns-export -lisccfg-export -lisc-export
34b641
 man_MANS = dhclient.8 dhclient-script.8 dhclient.conf.5 dhclient.leases.5
34b641
 EXTRA_DIST = $(man_MANS)
7b69e5
diff -up dhcp-4.3.1b1/common/tests/Makefile.am.uCWMBl dhcp-4.3.1b1/common/tests/Makefile.am
7b69e5
--- dhcp-4.3.1b1/common/tests/Makefile.am.uCWMBl	2014-07-10 17:38:10.779828569 +0200
7b69e5
+++ dhcp-4.3.1b1/common/tests/Makefile.am	2014-07-10 17:38:21.355678580 +0200
7b69e5
@@ -13,19 +13,19 @@ ATF_TESTS += alloc_unittest dns_unittest
c72a79
 alloc_unittest_SOURCES = test_alloc.c $(top_srcdir)/tests/t_api_dhcp.c
c72a79
 alloc_unittest_LDADD = $(ATF_LDFLAGS)
c72a79
 alloc_unittest_LDADD += ../libdhcp.a  \
c72a79
-	../../omapip/libomapi.a \
c72a79
+	../../omapip/libomapi.la \
e83fb1
 	$(BIND9_LIBDIR) -lirs-export -ldns-export -lisccfg-export -lisc-export
c72a79
 
e83fb1
 dns_unittest_SOURCES = dns_unittest.c $(top_srcdir)/tests/t_api_dhcp.c
e83fb1
 dns_unittest_LDADD = $(ATF_LDFLAGS)
7b69e5
-dns_unittest_LDADD += ../libdhcp.a  \
7b69e5
+dns_unittest_LDADD += ../libdhcp.la  \
7b69e5
 	../../omapip/libomapi.a \
7b69e5
 	$(BIND9_LIBDIR) -lirs-export -ldns-export -lisccfg-export -lisc-export
7b69e5
 
7b69e5
 misc_unittest_SOURCES = misc_unittest.c $(top_srcdir)/tests/t_api_dhcp.c
7b69e5
 misc_unittest_LDADD = $(ATF_LDFLAGS)
7b69e5
 misc_unittest_LDADD += ../libdhcp.a  \
e83fb1
-	../../omapip/libomapi.a \
e83fb1
+	../../omapip/libomapi.la \
e83fb1
 	$(BIND9_LIBDIR) -lirs-export -ldns-export -lisccfg-export -lisc-export
c72a79
 check: $(ATF_TESTS)
e83fb1
 	atf-run | atf-report
7b69e5
diff -up dhcp-4.3.1b1/configure.ac.uCWMBl dhcp-4.3.1b1/configure.ac
7b69e5
--- dhcp-4.3.1b1/configure.ac.uCWMBl	2014-07-10 17:38:10.766828753 +0200
7b69e5
+++ dhcp-4.3.1b1/configure.ac	2014-07-10 17:38:10.779828569 +0200
e83fb1
@@ -39,7 +39,8 @@ fi
Adam Tkac 81227a
 # Use this to define _GNU_SOURCE to pull in the IPv6 Advanced Socket API.
Adam Tkac 81227a
 AC_USE_SYSTEM_EXTENSIONS
Adam Tkac 81227a
 
Adam Tkac 81227a
-AC_PROG_RANLIB
Adam Tkac 81227a
+# Use libtool to simplify building of shared libraries
Adam Tkac 81227a
+AC_PROG_LIBTOOL
Adam Tkac 81227a
 AC_CONFIG_HEADERS([includes/config.h])
Adam Tkac 81227a
 
Adam Tkac 81227a
 # we sometimes need to know byte order for building packets
7b69e5
diff -up dhcp-4.3.1b1/dhcpctl/Makefile.am.uCWMBl dhcp-4.3.1b1/dhcpctl/Makefile.am
7b69e5
--- dhcp-4.3.1b1/dhcpctl/Makefile.am.uCWMBl	2014-07-10 17:36:30.485250962 +0200
7b69e5
+++ dhcp-4.3.1b1/dhcpctl/Makefile.am	2014-07-10 17:38:10.780828554 +0200
e83fb1
@@ -1,14 +1,14 @@
Adam Tkac 81227a
 bin_PROGRAMS = omshell
Adam Tkac 81227a
-lib_LIBRARIES = libdhcpctl.a
Adam Tkac 81227a
+lib_LTLIBRARIES = libdhcpctl.la
Adam Tkac 81227a
 noinst_PROGRAMS = cltest
Adam Tkac 81227a
 man_MANS = omshell.1 dhcpctl.3
Adam Tkac 81227a
 EXTRA_DIST = $(man_MANS)
Adam Tkac 81227a
 
Adam Tkac 81227a
 omshell_SOURCES = omshell.c
Adam Tkac 81227a
-omshell_LDADD = libdhcpctl.a ../common/libdhcp.a ../omapip/libomapi.a \
Adam Tkac 81227a
+omshell_LDADD = libdhcpctl.la ../common/libdhcp.a ../omapip/libomapi.la \
e83fb1
 	        $(BIND9_LIBDIR) -lirs-export -ldns-export -lisccfg-export -lisc-export
Adam Tkac 81227a
-libdhcpctl_a_SOURCES = dhcpctl.c callback.c remote.c
Adam Tkac 81227a
+libdhcpctl_la_SOURCES = dhcpctl.c callback.c remote.c
Adam Tkac 81227a
 
Adam Tkac 81227a
 cltest_SOURCES = cltest.c
Adam Tkac 81227a
-cltest_LDADD = libdhcpctl.a ../common/libdhcp.a ../omapip/libomapi.a \
Adam Tkac 81227a
+cltest_LDADD = libdhcpctl.la ../common/libdhcp.a ../omapip/libomapi.la \
e83fb1
 	       $(BIND9_LIBDIR) -lirs-export -ldns-export -lisccfg-export -lisc-export
7b69e5
diff -up dhcp-4.3.1b1/omapip/Makefile.am.uCWMBl dhcp-4.3.1b1/omapip/Makefile.am
7b69e5
--- dhcp-4.3.1b1/omapip/Makefile.am.uCWMBl	2014-07-10 17:36:30.486250948 +0200
7b69e5
+++ dhcp-4.3.1b1/omapip/Makefile.am	2014-07-10 17:38:10.780828554 +0200
34b641
@@ -1,7 +1,7 @@
Adam Tkac 81227a
-lib_LIBRARIES = libomapi.a
Adam Tkac 81227a
+lib_LTLIBRARIES = libomapi.la
Adam Tkac 81227a
 noinst_PROGRAMS = svtest
Adam Tkac 81227a
 
Adam Tkac 81227a
-libomapi_a_SOURCES = protocol.c buffer.c alloc.c result.c connection.c \
Adam Tkac 81227a
+libomapi_la_SOURCES = protocol.c buffer.c alloc.c result.c connection.c \
Adam Tkac 81227a
 		     errwarn.c listener.c dispatch.c generic.c support.c \
Adam Tkac 81227a
 		     handle.c message.c convert.c hash.c auth.c inet_addr.c \
Adam Tkac 81227a
 		     array.c trace.c toisc.c iscprint.c isclib.c
34b641
@@ -10,5 +10,5 @@ man_MANS = omapi.3
34b641
 EXTRA_DIST = $(man_MANS)
Adam Tkac 81227a
 
Adam Tkac 81227a
 svtest_SOURCES = test.c
e83fb1
-svtest_LDADD = libomapi.a \
e83fb1
+svtest_LDADD = libomapi.la \
e83fb1
 	       $(BIND9_LIBDIR) -lirs-export -ldns-export -lisccfg-export -lisc-export
7b69e5
diff -up dhcp-4.3.1b1/relay/Makefile.am.uCWMBl dhcp-4.3.1b1/relay/Makefile.am
7b69e5
--- dhcp-4.3.1b1/relay/Makefile.am.uCWMBl	2014-07-10 17:36:30.486250948 +0200
7b69e5
+++ dhcp-4.3.1b1/relay/Makefile.am	2014-07-10 17:38:10.780828554 +0200
34b641
@@ -2,7 +2,7 @@ AM_CPPFLAGS = -DLOCALSTATEDIR='"@localst
34b641
 
Adam Tkac 81227a
 sbin_PROGRAMS = dhcrelay
Adam Tkac 81227a
 dhcrelay_SOURCES = dhcrelay.c
Adam Tkac 81227a
-dhcrelay_LDADD = ../common/libdhcp.a ../omapip/libomapi.a \
Adam Tkac 81227a
+dhcrelay_LDADD = ../common/libdhcp.a ../omapip/libomapi.la \
e83fb1
 		 $(BIND9_LIBDIR) -lirs-export -ldns-export -lisccfg-export -lisc-export
34b641
 man_MANS = dhcrelay.8
34b641
 EXTRA_DIST = $(man_MANS)
7b69e5
diff -up dhcp-4.3.1b1/server/Makefile.am.uCWMBl dhcp-4.3.1b1/server/Makefile.am
7b69e5
--- dhcp-4.3.1b1/server/Makefile.am.uCWMBl	2014-07-10 17:36:30.486250948 +0200
7b69e5
+++ dhcp-4.3.1b1/server/Makefile.am	2014-07-10 17:38:10.780828554 +0200
e83fb1
@@ -13,7 +13,7 @@ dhcpd_SOURCES = dhcpd.c dhcp.c bootp.c c
Adam Tkac 81227a
 		dhcpv6.c mdb6.c ldap.c ldap_casa.c
Adam Tkac 81227a
 
34b641
 dhcpd_CFLAGS = $(LDAP_CFLAGS)
e83fb1
-dhcpd_LDADD = ../common/libdhcp.a ../omapip/libomapi.a ../dhcpctl/libdhcpctl.a \
e83fb1
+dhcpd_LDADD = ../common/libdhcp.a ../omapip/libomapi.la ../dhcpctl/libdhcpctl.la \
e83fb1
 	      $(BIND9_LIBDIR) -lirs-export -ldns-export -lisccfg-export -lisc-export
Adam Tkac 81227a
 man_MANS = dhcpd.8 dhcpd.conf.5 dhcpd.leases.5
ee81fb
 EXTRA_DIST = $(man_MANS)
7b69e5
diff -up dhcp-4.3.1b1/server/tests/Makefile.am.uCWMBl dhcp-4.3.1b1/server/tests/Makefile.am
7b69e5
--- dhcp-4.3.1b1/server/tests/Makefile.am.uCWMBl	2014-07-10 17:36:30.486250948 +0200
7b69e5
+++ dhcp-4.3.1b1/server/tests/Makefile.am	2014-07-10 17:38:10.780828554 +0200
c72a79
@@ -17,8 +17,8 @@ DHCPSRC = ../dhcp.c ../bootp.c ../confpa
c72a79
           ../ddns.c ../dhcpleasequery.c ../dhcpv6.c ../mdb6.c        \
c72a79
           ../ldap.c ../ldap_casa.c ../dhcpd.c
c72a79
 
c72a79
-DHCPLIBS = $(top_builddir)/common/libdhcp.a $(top_builddir)/omapip/libomapi.a    \
e83fb1
-          $(top_builddir)/dhcpctl/libdhcpctl.a \
e83fb1
+DHCPLIBS = $(top_builddir)/common/libdhcp.a $(top_builddir)/omapip/libomapi.la \
e83fb1
+          $(top_builddir)/dhcpctl/libdhcpctl.la \
e83fb1
           $(BIND9_LIBDIR) -lirs-export -ldns-export -lisccfg-export -lisc-export
c72a79
 
c72a79
 ATF_TESTS =