2011-08-11 16:14:01 +00:00
|
|
|
diff -up dhcp-4.2.2/client/Makefile.am.sharedlib dhcp-4.2.2/client/Makefile.am
|
2011-10-09 18:19:26 +00:00
|
|
|
--- dhcp-4.2.2/client/Makefile.am.sharedlib 2011-10-09 20:07:40.000000000 +0200
|
|
|
|
+++ dhcp-4.2.2/client/Makefile.am 2011-10-09 20:07:40.000000000 +0200
|
|
|
|
@@ -4,7 +4,7 @@ dhclient_SOURCES = clparse.c dhclient.c
|
2011-09-09 15:13:55 +00:00
|
|
|
scripts/bsdos scripts/freebsd scripts/linux scripts/macos \
|
|
|
|
scripts/netbsd scripts/nextstep scripts/openbsd \
|
2010-10-05 09:51:27 +00:00
|
|
|
scripts/solaris scripts/openwrt
|
|
|
|
-dhclient_LDADD = ../common/libdhcp.a ../omapip/libomapi.a \
|
|
|
|
+dhclient_LDADD = ../common/libdhcp.a ../omapip/libomapi.la \
|
|
|
|
$(BIND9_LIBDIR) -ldns-export -lisc-export $(CAPNG_LDADD)
|
2011-09-09 15:13:55 +00:00
|
|
|
man_MANS = dhclient.8 dhclient-script.8 dhclient.conf.5 dhclient.leases.5
|
|
|
|
EXTRA_DIST = $(man_MANS)
|
2011-08-11 16:14:01 +00:00
|
|
|
diff -up dhcp-4.2.2/configure.ac.sharedlib dhcp-4.2.2/configure.ac
|
2011-10-09 18:19:26 +00:00
|
|
|
--- dhcp-4.2.2/configure.ac.sharedlib 2011-10-09 20:07:40.000000000 +0200
|
|
|
|
+++ dhcp-4.2.2/configure.ac 2011-10-09 20:07:40.000000000 +0200
|
2010-10-05 09:51:27 +00:00
|
|
|
@@ -30,7 +30,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
|
2011-08-11 16:14:01 +00:00
|
|
|
diff -up dhcp-4.2.2/dhcpctl/Makefile.am.sharedlib dhcp-4.2.2/dhcpctl/Makefile.am
|
2011-10-09 18:19:26 +00:00
|
|
|
--- dhcp-4.2.2/dhcpctl/Makefile.am.sharedlib 2011-10-09 20:07:39.000000000 +0200
|
|
|
|
+++ dhcp-4.2.2/dhcpctl/Makefile.am 2011-10-09 20:07:40.000000000 +0200
|
2010-10-05 09:51:27 +00:00
|
|
|
@@ -1,15 +1,15 @@
|
|
|
|
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) -ldns-export -lisc-export
|
|
|
|
|
|
|
|
-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) -ldns-export -lisc-export
|
2011-08-11 16:14:01 +00:00
|
|
|
diff -up dhcp-4.2.2/omapip/Makefile.am.sharedlib dhcp-4.2.2/omapip/Makefile.am
|
2011-10-09 18:19:26 +00:00
|
|
|
--- dhcp-4.2.2/omapip/Makefile.am.sharedlib 2011-10-09 20:07:39.000000000 +0200
|
|
|
|
+++ dhcp-4.2.2/omapip/Makefile.am 2011-10-09 20:07:40.000000000 +0200
|
2011-09-09 15:13:55 +00:00
|
|
|
@@ -1,7 +1,7 @@
|
2010-10-05 09:51:27 +00:00
|
|
|
-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
|
2011-09-09 15:13:55 +00:00
|
|
|
@@ -10,5 +10,5 @@ man_MANS = omapi.3
|
|
|
|
EXTRA_DIST = $(man_MANS)
|
2010-10-05 09:51:27 +00:00
|
|
|
|
|
|
|
svtest_SOURCES = test.c
|
|
|
|
-svtest_LDADD = libomapi.a $(BIND9_LIBDIR) -ldns-export -lisc-export
|
|
|
|
+svtest_LDADD = libomapi.la $(BIND9_LIBDIR) -ldns-export -lisc-export
|
|
|
|
|
2011-08-11 16:14:01 +00:00
|
|
|
diff -up dhcp-4.2.2/relay/Makefile.am.sharedlib dhcp-4.2.2/relay/Makefile.am
|
2011-10-09 18:19:26 +00:00
|
|
|
--- dhcp-4.2.2/relay/Makefile.am.sharedlib 2011-10-09 20:07:40.000000000 +0200
|
|
|
|
+++ dhcp-4.2.2/relay/Makefile.am 2011-10-09 20:07:40.000000000 +0200
|
2011-09-09 15:13:55 +00:00
|
|
|
@@ -2,7 +2,7 @@ AM_CPPFLAGS = -DLOCALSTATEDIR='"@localst
|
|
|
|
|
2010-10-05 09:51:27 +00:00
|
|
|
sbin_PROGRAMS = dhcrelay
|
|
|
|
dhcrelay_SOURCES = dhcrelay.c
|
|
|
|
-dhcrelay_LDADD = ../common/libdhcp.a ../omapip/libomapi.a \
|
|
|
|
+dhcrelay_LDADD = ../common/libdhcp.a ../omapip/libomapi.la \
|
2011-07-01 13:20:42 +00:00
|
|
|
$(BIND9_LIBDIR) -ldns-export -lisc-export $(CAPNG_LDADD)
|
2011-09-09 15:13:55 +00:00
|
|
|
man_MANS = dhcrelay.8
|
|
|
|
EXTRA_DIST = $(man_MANS)
|
2011-08-11 16:14:01 +00:00
|
|
|
diff -up dhcp-4.2.2/server/Makefile.am.sharedlib dhcp-4.2.2/server/Makefile.am
|
2011-10-09 18:19:26 +00:00
|
|
|
--- dhcp-4.2.2/server/Makefile.am.sharedlib 2011-10-09 20:07:39.000000000 +0200
|
|
|
|
+++ dhcp-4.2.2/server/Makefile.am 2011-10-09 20:08:26.000000000 +0200
|
2011-09-09 15:13:55 +00:00
|
|
|
@@ -7,8 +7,8 @@ dhcpd_SOURCES = dhcpd.c dhcp.c bootp.c c
|
2010-10-05 09:51:27 +00:00
|
|
|
dhcpv6.c mdb6.c ldap.c ldap_casa.c
|
|
|
|
|
2011-09-09 15:13:55 +00:00
|
|
|
dhcpd_CFLAGS = $(LDAP_CFLAGS)
|
2010-10-05 09:51:27 +00:00
|
|
|
-dhcpd_LDADD = ../common/libdhcp.a ../omapip/libomapi.a \
|
2011-10-09 18:19:26 +00:00
|
|
|
- ../dhcpctl/libdhcpctl.a $(BIND9_LIBDIR) -ldns-export -lisc-export
|
2010-10-05 09:51:27 +00:00
|
|
|
+dhcpd_LDADD = ../common/libdhcp.a ../omapip/libomapi.la \
|
2011-10-09 18:19:26 +00:00
|
|
|
+ ../dhcpctl/libdhcpctl.la $(BIND9_LIBDIR) -ldns-export -lisc-export
|
2010-10-05 09:51:27 +00:00
|
|
|
|
|
|
|
man_MANS = dhcpd.8 dhcpd.conf.5 dhcpd.leases.5
|
2011-10-09 18:19:26 +00:00
|
|
|
EXTRA_DIST = $(man_MANS)
|