xref: /minix/external/bsd/dhcp/dist/server/Makefile.am (revision 83ee113e)
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
14
15dhcpd_CFLAGS = $(LDAP_CFLAGS)
16dhcpd_LDADD = ../common/libdhcp.a ../omapip/libomapi.a \
17	      ../dhcpctl/libdhcpctl.a ../bind/lib/libirs.a \
18	      ../bind/lib/libdns.a ../bind/lib/libisccfg.a ../bind/lib/libisc.a
19
20man_MANS = dhcpd.8 dhcpd.conf.5 dhcpd.leases.5
21EXTRA_DIST = $(man_MANS)
22
23