summaryrefslogtreecommitdiffstats
path: root/bin/rndc/Makefile.am
blob: a668522bc2a0291fe58bfb50cf66ff9f9eaea11a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
include $(top_srcdir)/Makefile.top

AM_CPPFLAGS +=			\
	$(LIBISC_CFLAGS)	\
	$(LIBDNS_CFLAGS)	\
	$(LIBISCCFG_CFLAGS)	\
	$(LIBISCCC_CFLAGS)	\
	$(LIBBIND9_CFLAGS)

AM_CPPFLAGS +=						\
	-DRNDC_CONFFILE=\"${sysconfdir}/rndc.conf\"	\
	-DRNDC_KEYFILE=\"${sysconfdir}/rndc.key\"

sbin_PROGRAMS = rndc

rndc_SOURCES =	\
	rndc.c	\
	util.c	\
	util.h

rndc_LDADD =			\
	$(LIBISC_LIBS)		\
	$(LIBDNS_LIBS)		\
	$(LIBISCCC_LIBS)	\
	$(LIBISCCFG_LIBS)	\
	$(LIBBIND9_LIBS)