summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: ed692a5027ee793f3029aee48d745b0ee8003eaf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#
# automake adds dependencies that we don't like, so we explicitly remove them
#
Makefile:

#
# for libtool
#
ACLOCAL_AMFLAGS = -I m4

#
# We have a lot of files that we want shipped with the distribution.
#
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 \
	     doc/ja_JP.eucJP/dhclient.conf.5 doc/ja_JP.eucJP/dhclient.leases.5 \
	     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/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

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