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. 5SUBDIRS = . tests 6 7AM_CPPFLAGS = -I.. -DLOCALSTATEDIR='"@localstatedir@"' 8 9dist_sysconf_DATA = dhcpd.conf.example 10sbin_PROGRAMS = dhcpd 11dhcpd_SOURCES = dhcpd.c dhcp.c bootp.c confpars.c db.c class.c failover.c \ 12 omapi.c mdb.c stables.c salloc.c ddns.c dhcpleasequery.c \ 13 dhcpv6.c mdb6.c ldap.c ldap_casa.c leasechain.c ldap_krb_helper.c 14 15dhcpd_CFLAGS = $(LDAP_CFLAGS) 16dhcpd_LDADD = ../common/libdhcp.@A@ ../omapip/libomapi.@A@ \ 17 ../dhcpctl/libdhcpctl.@A@ \ 18 $(BINDLIBIRSDIR)/libirs.@A@ \ 19 $(BINDLIBDNSDIR)/libdns.@A@ \ 20 $(BINDLIBISCCFGDIR)/libisccfg.@A@ \ 21 $(BINDLIBISCDIR)/libisc.@A@ $(LDAP_LIBS) 22 23man_MANS = dhcpd.8 dhcpd.conf.5 dhcpd.leases.5 24EXTRA_DIST = $(man_MANS) 25 26