summaryrefslogtreecommitdiffstats
path: root/bin/tools/Makefile.am
blob: d7b8e4a3317fccb59053615ec27de02db6c1be5d (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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
include $(top_srcdir)/Makefile.top

AM_CPPFLAGS +=			\
	$(LIBISC_CFLAGS)	\
	$(LIBDNS_CFLAGS)

LDADD +=			\
	$(LIBDNS_LIBS)		\
	$(LIBISC_LIBS)

bin_PROGRAMS =			\
	arpaname		\
	mdig			\
	named-journalprint	\
	named-rrchecker		\
	nsec3hash

arpaname_LDADD =		\
	$(LIBISC_LIBS)

mdig_CPPFLAGS =			\
	$(AM_CPPFLAGS)		\
	$(LIBBIND9_CFLAGS)

mdig_LDADD =			\
	$(LIBBIND9_LIBS)	\
	$(LIBISCCFG_LIBS)	\
	$(LIBDNS_LIBS)		\
	$(LIBISC_LIBS)

if HAVE_DNSTAP
bin_PROGRAMS +=			\
	dnstap-read

dnstap_read_CPPFLAGS =		\
	$(AM_CPPFLAGS)		\
	$(DNSTAP_CFLAGS)	\
	-I$(top_builddir)/lib/dns

dnstap_read_LDADD =		\
	$(LIBDNS_LIBS)		\
	$(LIBISC_LIBS)		\
	$(DNSTAP_LIBS)
endif

if HAVE_LMDB
bin_PROGRAMS +=			\
	named-nzd2nzf

named_nzd2nzf_CPPFLAGS =		\
	$(AM_CPPFLAGS)		\
	$(LMDB_CFLAGS)

named_nzd2nzf_LDADD =		\
	$(LIBISC_LIBS)		\
	$(LMDB_LIBS)

endif