]> git.ipfire.org Git - thirdparty/dhcp.git/blob - server/Makefile.am
Merged rt43285 (make distcheck vs --with-libbind)
[thirdparty/dhcp.git] / server / Makefile.am
1 # We want to build this directory first, before descending into tests subdir.
2 # The reason is that ideally the tests should link existing objects from this
3 # directory. That eliminates any discrepancies between tested code and
4 # production code. Sadly, we are not there yet.
5 SUBDIRS = . tests
6
7 BINDLIBDIR = @BINDDIR@/lib
8
9 AM_CPPFLAGS = -I.. -DLOCALSTATEDIR='"@localstatedir@"'
10
11 dist_sysconf_DATA = dhcpd.conf.example
12 sbin_PROGRAMS = dhcpd
13 dhcpd_SOURCES = dhcpd.c dhcp.c bootp.c confpars.c db.c class.c failover.c \
14 omapi.c mdb.c stables.c salloc.c ddns.c dhcpleasequery.c \
15 dhcpv6.c mdb6.c ldap.c ldap_casa.c leasechain.c ldap_krb_helper.c
16
17 dhcpd_CFLAGS = $(LDAP_CFLAGS)
18 dhcpd_LDADD = ../common/libdhcp.a ../omapip/libomapi.a \
19 ../dhcpctl/libdhcpctl.a $(BINDLIBDIR)/libirs.a \
20 $(BINDLIBDIR)/libdns.a $(BINDLIBDIR)/libisccfg.a \
21 $(BINDLIBDIR)/libisc.a $(LDAP_LIBS)
22
23 man_MANS = dhcpd.8 dhcpd.conf.5 dhcpd.leases.5
24 EXTRA_DIST = $(man_MANS)
25