]> git.ipfire.org Git - thirdparty/dhcp.git/blobdiff - Makefile.am
Checkpoint: code done, need tests
[thirdparty/dhcp.git] / Makefile.am
index 57fd09d2391affd16017bbf7aa7d0a1dcf3ba67e..ed692a5027ee793f3029aee48d745b0ee8003eaf 100644 (file)
@@ -3,16 +3,22 @@
 #
 Makefile:
 
+#
+# for libtool
+#
+ACLOCAL_AMFLAGS = -I m4
+
 #
 # We have a lot of files that we want shipped with the distribution.
 #
-EXTRA_DIST = RELNOTES LICENSE \
+EXTRA_DIST = RELNOTES LICENSE configure.ac+lt config+lt \
             contrib/3.0b1-lease-convert contrib/dhclient-tz-exithook.sh \
             contrib/dhcp.spec contrib/sethostname.sh contrib/solaris.init \
             contrib/ms2isc/Registry.pm contrib/ms2isc/ms2isc.pl \
             contrib/ms2isc/readme.txt contrib/ldap/dhcpd-conf-to-ldap \
             contrib/ldap/dhcp.schema contrib/ldap/README.ldap \
              contrib/dhcp-lease-list.pl \
+            doc/BIND-libraries doc/DHCPv4-over-DHCPv6 \
             doc/IANA-arp-parameters doc/Makefile doc/References.html \
             doc/References.txt doc/References.xml doc/api+protocol \
             doc/ja_JP.eucJP/dhclient-script.8 doc/ja_JP.eucJP/dhclient.8 \
@@ -20,12 +26,36 @@ EXTRA_DIST = RELNOTES LICENSE \
             doc/ja_JP.eucJP/dhcp-eval.5 doc/ja_JP.eucJP/dhcp-options.5 \
             doc/examples/dhclient-dhcpv6.conf doc/examples/dhcpd-dhcpv6.conf \
             doc/devel/arch.dox doc/devel/atf.dox doc/devel/contrib.dox \
-            doc/devel/debug.dox doc/devel/isc-logo.jpg doc/devel/mainpage.dox \
-            doc/devel/omapi.dox doc/devel/qa.dox util/bindvar.sh \
-            bind/Makefile.in bind/bind.tar.gz bind/version.tmp \
-            common/tests/Atffile server/tests/Atffile
+            doc/devel/debug.dox doc/devel/isc-logo.jpg doc/devel/libtool.dox \
+            doc/devel/mainpage.dox doc/devel/omapi.dox doc/devel/qa.dox \
+            client/tests/Atffile common/tests/Atffile server/tests/Atffile \
+            client/tests/Kyuafile common/tests/Kyuafile server/tests/Kyuafile \
+         m4/README CONTRIBUTING.md
+
+if HAVE_BINDDIR
+EXTRA_DIST += bind/Makefile.in bind/bind.tar.gz bind/version.tmp
+endif
+
+# Use an autoconf substitution vs an automake conditional here
+# to fool automake when the bind directory does not exist.
+SUBDIRS = @BINDSUBDIR@ includes tests common omapip client dhcpctl relay server
 
-SUBDIRS = bind includes tests common dst omapip client dhcpctl relay server
+DIST_SUBDIRS = $(SUBDIRS) keama
 
 nobase_include_HEADERS = dhcpctl/dhcpctl.h
 
+#
+# distcheck tuning
+#
+
+DISTCHECK_CONFIGURE_FLAGS =  @DISTCHECK_ATF_CONFIGURE_FLAG@
+DISTCHECK_CONFIGURE_FLAGS += @DISTCHECK_LIBBIND_CONFIGURE_FLAG@
+DISTCHECK_CONFIGURE_FLAGS += @DISTCHECK_LIBTOOL_CONFIGURE_FLAG@
+
+distcheck-hook:
+if HAVE_BINDDIR
+       chmod u+w $(distdir)/bind
+endif
+
+distclean-local:
+       rm -f config.report