]> git.ipfire.org Git - thirdparty/dhcp.git/blob - server/Makefile.am
8e8ce889b535480c5d69a0f666778292dfc0ec46
[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 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
14
15 dhcpd_CFLAGS = $(LDAP_CFLAGS)
16 dhcpd_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
20 man_MANS = dhcpd.8 dhcpd.conf.5 dhcpd.leases.5
21 EXTRA_DIST = $(man_MANS)
22