Home | History | Annotate | Line # | Download | only in server
      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 AM_CPPFLAGS = -I.. -DLOCALSTATEDIR='"@localstatedir@"'
      8 
      9 dist_sysconf_DATA = dhcpd.conf.example
     10 sbin_PROGRAMS = dhcpd
     11 dhcpd_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 
     15 dhcpd_CFLAGS = $(LDAP_CFLAGS)
     16 dhcpd_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 
     23 man_MANS = dhcpd.8 dhcpd.conf.5 dhcpd.leases.5
     24 EXTRA_DIST = $(man_MANS)
     25 
     26