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