Makefile.in revision 259065
1# Copyright 2007 NLnet Labs
2# See the file LICENSE for the license
3
4SHELL=@SHELL@
5VERSION=@PACKAGE_VERSION@
6srcdir=@srcdir@
7prefix=@prefix@
8exec_prefix=@exec_prefix@
9bindir=@bindir@
10sbindir=@sbindir@
11mandir=@mandir@
12libdir=@libdir@
13# datarootdir is here to please some checkers, use datadir.
14datarootdir=@datarootdir@
15datadir=@datadir@
16includedir=@includedir@
17doxygen=@doxygen@
18libtool=@libtool@
19ldnsdir=@ldnsdir@
20staticexe=@staticexe@
21EXEEXT=@EXEEXT@
22configfile=@ub_conf_file@
23UNBOUND_RUN_DIR=@UNBOUND_RUN_DIR@
24CHECKLOCK_SRC=testcode/checklocks.c
25CHECKLOCK_OBJ=@CHECKLOCK_OBJ@
26WITH_PYTHONMODULE=@WITH_PYTHONMODULE@
27WITH_PYUNBOUND=@WITH_PYUNBOUND@
28PYTHON_SITE_PKG=@PYTHON_SITE_PKG@
29PYTHONMOD_INSTALL=@PYTHONMOD_INSTALL@
30PYTHONMOD_UNINSTALL=@PYTHONMOD_UNINSTALL@
31PYUNBOUND_INSTALL=@PYUNBOUND_INSTALL@
32PYUNBOUND_UNINSTALL=@PYUNBOUND_UNINSTALL@
33ALLTARGET=@ALLTARGET@
34
35# _unbound.la if pyunbound enabled.
36PYUNBOUND_TARGET=@PYUNBOUND_TARGET@
37
38# override $U variable which is used by autotools for deansification (for
39# K&R C compilers), but causes problems if $U is defined in the env).
40U=
41
42SWIG=@SWIG@
43YACC=@YACC@
44LEX=@LEX@
45STRIP=@STRIP@
46CC=@CC@
47CPPFLAGS=-I. @CPPFLAGS@
48CFLAGS=@CFLAGS@
49LDFLAGS=@LDFLAGS@
50LIBS=@LIBS@
51LIBOBJS=@LIBOBJS@
52# filter out ctime_r from compat obj.
53LIBOBJ_WITHOUT_CTIME=@LIBOBJ_WITHOUT_CTIME@
54RUNTIME_PATH=@RUNTIME_PATH@
55DEPFLAG=@DEPFLAG@
56DATE=@CONFIG_DATE@
57LIBTOOL=$(libtool)
58BUILD=build/
59UBSYMS=@UBSYMS@
60EXTRALINK=@EXTRALINK@
61
62WINDRES=@WINDRES@
63LINT=splint
64LINTFLAGS=+quiet -weak -warnposix -unrecog -Din_addr_t=uint32_t -Du_int=unsigned -Du_char=uint8_t -preproc -Drlimit=rlimit64 -D__gnuc_va_list=va_list
65#-Dglob64=glob -Dglobfree64=globfree
66# compat with openssl linux edition.
67LINTFLAGS+="-DBN_ULONG=unsigned long" -Dkrb5_int32=int "-Dkrb5_ui_4=unsigned int" -DPQ_64BIT=uint64_t -DRC4_INT=unsigned -fixedformalarray -D"ENGINE=unsigned" -D"RSA=unsigned" -D"DSA=unsigned" -D"EVP_PKEY=unsigned" -D"EVP_MD=unsigned" -D"SSL=unsigned" -D"SSL_CTX=unsigned" -D"X509=unsigned" -D"RC4_KEY=unsigned" -D"EVP_MD_CTX=unsigned" -D"ECDSA_SIG=DSA_SIG"
68# compat with NetBSD
69LINTFLAGS+=@NETBSD_LINTFLAGS@
70# compat with OpenBSD
71LINTFLAGS+="-Dsigset_t=long"
72# FreeBSD8
73LINTFLAGS+="-D__uint16_t=uint16_t"
74
75INSTALL=$(srcdir)/install-sh
76
77#pythonmod.c is not here, it is mentioned by itself in its own rules,
78#makedepend fails on missing interface.h otherwise.
79PYTHONMOD_SRC=pythonmod/pythonmod_utils.c
80# pythonmod.lo pythonmod_utils.lo if python mod enabled.
81PYTHONMOD_OBJ=@PYTHONMOD_OBJ@
82PYTHONMOD_HEADER=@PYTHONMOD_HEADER@
83# libunbound/python/libunbound_wrap.c is dealt with by its own rules.
84PYUNBOUND_SRC=
85# libunbound_wrap.lo if python libunbound wrapper enabled.
86PYUNBOUND_OBJ=@PYUNBOUND_OBJ@
87COMMON_SRC=services/cache/dns.c services/cache/infra.c services/cache/rrset.c \
88util/data/dname.c util/data/msgencode.c util/data/msgparse.c \
89util/data/msgreply.c util/data/packed_rrset.c iterator/iterator.c \
90iterator/iter_delegpt.c iterator/iter_donotq.c iterator/iter_fwd.c \
91iterator/iter_hints.c iterator/iter_priv.c iterator/iter_resptype.c \
92iterator/iter_scrub.c iterator/iter_utils.c services/listen_dnsport.c \
93services/localzone.c services/mesh.c services/modstack.c \
94services/outbound_list.c services/outside_network.c util/alloc.c \
95util/config_file.c util/configlexer.c util/configparser.c \
96util/fptr_wlist.c util/locks.c util/log.c util/mini_event.c util/module.c \
97util/netevent.c util/net_help.c util/random.c util/rbtree.c util/regional.c \
98util/rtt.c util/storage/dnstree.c util/storage/lookup3.c \
99util/storage/lruhash.c util/storage/slabhash.c util/timehist.c util/tube.c \
100util/winsock_event.c validator/autotrust.c validator/val_anchor.c \
101validator/validator.c validator/val_kcache.c validator/val_kentry.c \
102validator/val_neg.c validator/val_nsec3.c validator/val_nsec.c \
103validator/val_secalgo.c validator/val_sigcrypt.c \
104validator/val_utils.c $(CHECKLOCK_SRC)
105COMMON_OBJ_WITHOUT_NETCALL=dns.lo infra.lo rrset.lo dname.lo msgencode.lo \
106msgparse.lo msgreply.lo packed_rrset.lo iterator.lo iter_delegpt.lo \
107iter_donotq.lo iter_fwd.lo iter_hints.lo iter_priv.lo iter_resptype.lo \
108iter_scrub.lo iter_utils.lo localzone.lo mesh.lo modstack.lo \
109outbound_list.lo alloc.lo config_file.lo configlexer.lo configparser.lo \
110fptr_wlist.lo locks.lo log.lo mini_event.lo module.lo net_help.lo \
111random.lo rbtree.lo regional.lo rtt.lo dnstree.lo lookup3.lo lruhash.lo \
112slabhash.lo timehist.lo tube.lo winsock_event.lo autotrust.lo val_anchor.lo \
113validator.lo val_kcache.lo val_kentry.lo val_neg.lo val_nsec3.lo val_nsec.lo \
114val_secalgo.lo val_sigcrypt.lo val_utils.lo $(PYTHONMOD_OBJ) $(CHECKLOCK_OBJ)
115COMMON_OBJ=$(COMMON_OBJ_WITHOUT_NETCALL) netevent.lo listen_dnsport.lo \
116outside_network.lo
117# set to $COMMON_OBJ or to "" if --enableallsymbols
118COMMON_OBJ_ALL_SYMBOLS=@COMMON_OBJ_ALL_SYMBOLS@
119COMPAT_SRC=compat/ctime_r.c compat/fake-rfc2553.c compat/gmtime_r.c \
120compat/inet_aton.c compat/inet_ntop.c compat/inet_pton.c compat/malloc.c \
121compat/memcmp.c compat/memmove.c compat/snprintf.c compat/strlcpy.c \
122compat/strptime.c
123COMPAT_OBJ=$(LIBOBJS:.o=.lo)
124COMPAT_OBJ_WITHOUT_CTIME=$(LIBOBJ_WITHOUT_CTIME:.o=.lo)
125UNITTEST_SRC=testcode/unitanchor.c testcode/unitdname.c \
126testcode/unitlruhash.c testcode/unitmain.c testcode/unitmsgparse.c \
127testcode/unitneg.c testcode/unitregional.c testcode/unitslabhash.c \
128testcode/unitverify.c testcode/readhex.c testcode/ldns-testpkts.c
129UNITTEST_OBJ=unitanchor.lo unitdname.lo unitlruhash.lo unitmain.lo \
130unitmsgparse.lo unitneg.lo unitregional.lo unitslabhash.lo unitverify.lo \
131readhex.lo ldns-testpkts.lo
132UNITTEST_OBJ_LINK=$(UNITTEST_OBJ) worker_cb.lo $(COMMON_OBJ) $(COMPAT_OBJ)
133DAEMON_SRC=daemon/acl_list.c daemon/cachedump.c daemon/daemon.c \
134daemon/remote.c daemon/stats.c daemon/unbound.c daemon/worker.c @WIN_DAEMON_SRC@
135DAEMON_OBJ=acl_list.lo cachedump.lo daemon.lo remote.lo stats.lo unbound.lo \
136worker.lo @WIN_DAEMON_OBJ@
137DAEMON_OBJ_LINK=$(DAEMON_OBJ) $(COMMON_OBJ_ALL_SYMBOLS) \
138$(COMPAT_OBJ) @WIN_DAEMON_OBJ_LINK@
139CHECKCONF_SRC=smallapp/unbound-checkconf.c smallapp/worker_cb.c
140CHECKCONF_OBJ=unbound-checkconf.lo worker_cb.lo
141CHECKCONF_OBJ_LINK=$(CHECKCONF_OBJ) $(COMMON_OBJ_ALL_SYMBOLS) \
142$(COMPAT_OBJ) @WIN_CHECKCONF_OBJ_LINK@
143CONTROL_SRC=smallapp/unbound-control.c
144CONTROL_OBJ=unbound-control.lo 
145CONTROL_OBJ_LINK=$(CONTROL_OBJ) worker_cb.lo $(COMMON_OBJ_ALL_SYMBOLS) \
146$(COMPAT_OBJ) @WIN_CONTROL_OBJ_LINK@
147HOST_SRC=smallapp/unbound-host.c
148HOST_OBJ=unbound-host.lo
149HOST_OBJ_LINK=$(HOST_OBJ) $(COMPAT_OBJ_WITHOUT_CTIME) @WIN_HOST_OBJ_LINK@
150UBANCHOR_SRC=smallapp/unbound-anchor.c
151UBANCHOR_OBJ=unbound-anchor.lo
152UBANCHOR_OBJ_LINK=$(UBANCHOR_OBJ) \
153$(COMPAT_OBJ_WITHOUT_CTIME) @WIN_UBANCHOR_OBJ_LINK@
154TESTBOUND_SRC=testcode/testbound.c testcode/ldns-testpkts.c \
155daemon/worker.c daemon/acl_list.c daemon/daemon.c daemon/stats.c \
156testcode/replay.c testcode/fake_event.c
157TESTBOUND_OBJ=testbound.lo replay.lo fake_event.lo
158TESTBOUND_OBJ_LINK=$(TESTBOUND_OBJ) ldns-testpkts.lo worker.lo acl_list.lo \
159daemon.lo stats.lo $(COMMON_OBJ_WITHOUT_NETCALL) $(COMPAT_OBJ)
160LOCKVERIFY_SRC=testcode/lock_verify.c
161LOCKVERIFY_OBJ=lock_verify.lo
162LOCKVERIFY_OBJ_LINK=$(LOCKVERIFY_OBJ) worker_cb.lo $(COMMON_OBJ) $(COMPAT_OBJ)
163PETAL_SRC=testcode/petal.c
164PETAL_OBJ=petal.lo
165PETAL_OBJ_LINK=$(PETAL_OBJ) $(COMPAT_OBJ_WITHOUT_CTIME)
166PKTVIEW_SRC=testcode/pktview.c testcode/readhex.c
167PKTVIEW_OBJ=pktview.lo
168PKTVIEW_OBJ_LINK=$(PKTVIEW_OBJ) worker_cb.lo readhex.lo $(COMMON_OBJ) \
169$(COMPAT_OBJ)
170SIGNIT_SRC=testcode/signit.c
171SIGNIT_OBJ=signit.lo
172SIGNIT_OBJ_LINK=$(SIGNIT_OBJ) worker_cb.lo $(COMMON_OBJ) $(COMPAT_OBJ)
173MEMSTATS_SRC=testcode/memstats.c
174MEMSTATS_OBJ=memstats.lo
175MEMSTATS_OBJ_LINK=$(MEMSTATS_OBJ) worker_cb.lo $(COMMON_OBJ) $(COMPAT_OBJ)
176ASYNCLOOK_SRC=testcode/asynclook.c
177ASYNCLOOK_OBJ=asynclook.lo
178ASYNCLOOK_OBJ_LINK=$(ASYNCLOOK_OBJ) log.lo locks.lo $(COMPAT_OBJ)
179STREAMTCP_SRC=testcode/streamtcp.c
180STREAMTCP_OBJ=streamtcp.lo
181STREAMTCP_OBJ_LINK=$(STREAMTCP_OBJ) worker_cb.lo $(COMMON_OBJ) $(COMPAT_OBJ)
182PERF_SRC=testcode/perf.c
183PERF_OBJ=perf.lo
184PERF_OBJ_LINK=$(PERF_OBJ) worker_cb.lo $(COMMON_OBJ) $(COMPAT_OBJ)
185DELAYER_SRC=testcode/delayer.c
186DELAYER_OBJ=delayer.lo
187DELAYER_OBJ_LINK=$(DELAYER_OBJ) worker_cb.lo $(COMMON_OBJ) $(COMPAT_OBJ)
188HARVEST_SRC=testcode/harvest.c
189HARVEST_OBJ=harvest.lo
190HARVEST_OBJ_LINK=$(HARVEST_OBJ) $(COMPAT_OBJ_WITHOUT_CTIME)
191LIBUNBOUND_SRC=libunbound/context.c libunbound/libunbound.c \
192libunbound/libworker.c
193LIBUNBOUND_OBJ=context.lo libunbound.lo libworker.lo
194LIBUNBOUND_OBJ_LINK=$(LIBUNBOUND_OBJ) $(COMMON_OBJ) $(COMPAT_OBJ)
195
196# win apps or "" if not on windows
197WINAPPS=@WINAPPS@
198WIN_DAEMON_THE_SRC=winrc/win_svc.c winrc/w_inst.c
199SVCINST_SRC=winrc/unbound-service-install.c
200SVCINST_OBJ=unbound-service-install.lo
201SVCINST_OBJ_LINK=$(SVCINST_OBJ) w_inst.lo rsrc_svcinst.o $(COMPAT_OBJ_WITHOUT_CTIME)
202SVCUNINST_SRC=winrc/unbound-service-remove.c
203SVCUNINST_OBJ=unbound-service-remove.lo
204SVCUNINST_OBJ_LINK=$(SVCUNINST_OBJ) w_inst.lo rsrc_svcuninst.o \
205$(COMPAT_OBJ_WITHOUT_CTIME)
206ANCHORUPD_SRC=winrc/anchor-update.c
207ANCHORUPD_OBJ=anchor-update.lo
208ANCHORUPD_OBJ_LINK=$(ANCHORUPD_OBJ) rsrc_anchorupd.o $(COMPAT_OBJ_WITHOUT_CTIME)
209RSRC_OBJ=rsrc_svcinst.o rsrc_svcuninst.o rsrc_anchorupd.o rsrc_unbound.o \
210	rsrc_unbound_host.o rsrc_unbound_anchor.o rsrc_unbound_control.o \
211	rsrc_unbound_checkconf.o
212
213ALL_SRC=$(COMMON_SRC) $(UNITTEST_SRC) $(DAEMON_SRC) \
214	$(TESTBOUND_SRC) $(LOCKVERIFY_SRC) $(PKTVIEW_SRC) $(SIGNIT_SRC) \
215	$(MEMSTATS_SRC) $(CHECKCONF_SRC) $(LIBUNBOUND_SRC) $(HOST_SRC) \
216	$(ASYNCLOOK_SRC) $(STREAMTCP_SRC) $(PERF_SRC) $(DELAYER_SRC) \
217	$(HARVEST_SRC) $(CONTROL_SRC) $(UBANCHOR_SRC) $(PETAL_SRC) \
218	$(PYTHONMOD_SRC) $(PYUNBOUND_SRC) $(WIN_DAEMON_THE_SRC)\
219	$(SVCINST_SRC) $(SVCUNINST_SRC) $(ANCHORUPD_SRC)
220ALL_OBJ=$(COMMON_OBJ) $(UNITTEST_OBJ) $(DAEMON_OBJ) \
221	$(TESTBOUND_OBJ) $(LOCKVERIFY_OBJ) $(PKTVIEW_OBJ) $(SIGNIT_OBJ) \
222	$(MEMSTATS_OBJ) $(CHECKCONF_OBJ) $(LIBUNBOUND_OBJ) $(HOST_OBJ) \
223	$(ASYNCLOOK_OBJ) $(STREAMTCP_OBJ) $(PERF_OBJ) $(DELAYER_OBJ) \
224	$(HARVEST_OBJ) $(CONTROL_OBJ) $(UBANCHOR_OBJ) $(PETAL_OBJ) \
225	$(COMPAT_OBJ) $(PYUNBOUND_OBJ) \
226	$(SVCINST_OBJ) $(SVCUNINST_OBJ) $(ANCHORUPD_OBJ)
227
228COMPILE=$(LIBTOOL) --tag=CC --mode=compile $(CC) $(CPPFLAGS) $(CFLAGS)
229LINK=$(LIBTOOL) --tag=CC --mode=link $(CC) $(staticexe) $(RUNTIME_PATH) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS)
230LINK_LIB=$(LIBTOOL) --tag=CC --mode=link $(CC) $(RUNTIME_PATH) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) $(staticexe) -version-info @LIBUNBOUND_CURRENT@:@LIBUNBOUND_REVISION@:@LIBUNBOUND_AGE@ -no-undefined
231
232.PHONY:	clean realclean doc lint all install uninstall tests test strip lib longtest longcheck check alltargets
233
234all:	$(COMMON_OBJ) $(ALLTARGET)
235
236alltargets:	unbound$(EXEEXT) unbound-checkconf$(EXEEXT) lib unbound-host$(EXEEXT) unbound-control$(EXEEXT) unbound-anchor$(EXEEXT) unbound-control-setup $(WINAPPS) $(PYUNBOUND_TARGET)
237
238# compat with BSD make, register suffix, and an implicit rule to actualise it.
239.SUFFIXES: .lo
240.c.lo:
241	$(COMPILE) -o $@ -c $<
242
243$(ALL_OBJ):
244	@@SOURCEDETERMINE@
245	$(COMPILE) -o $@ -c @SOURCEFILE@
246
247$(RSRC_OBJ):
248	@@SOURCEDETERMINE@
249	$(WINDRES) $(CPPFLAGS) @SOURCEFILE@ $@
250
251rsrc_svcinst.o:	$(srcdir)/winrc/rsrc_svcinst.rc config.h
252rsrc_svcuninst.o:	$(srcdir)/winrc/rsrc_svcuninst.rc config.h
253rsrc_anchorupd.o:	$(srcdir)/winrc/rsrc_anchorupd.rc config.h
254rsrc_unbound.o:	$(srcdir)/winrc/rsrc_unbound.rc config.h
255rsrc_unbound_host.o:	$(srcdir)/winrc/rsrc_unbound_host.rc config.h
256rsrc_unbound_anchor.o:	$(srcdir)/winrc/rsrc_unbound_anchor.rc config.h
257rsrc_unbound_control.o:	$(srcdir)/winrc/rsrc_unbound_control.rc config.h
258rsrc_unbound_checkconf.o:	$(srcdir)/winrc/rsrc_unbound_checkconf.rc config.h
259
260TEST_BIN=asynclook$(EXEEXT) delayer$(EXEEXT) harvest$(EXEEXT) \
261	lock-verify$(EXEEXT) memstats$(EXEEXT) perf$(EXEEXT) \
262	petal$(EXEEXT) pktview$(EXEEXT) signit$(EXEEXT) streamtcp$(EXEEXT) \
263	testbound$(EXEEXT) unittest$(EXEEXT)
264tests:	all $(TEST_BIN)
265
266check: test
267longcheck: longtest
268
269test:	unittest$(EXEEXT) testbound$(EXEEXT)
270	./unittest$(EXEEXT)
271	./testbound$(EXEEXT) -s
272	for x in testdata/*.rpl; do echo -n "$$x "; if ./testbound$(EXEEXT) -p $$x >/dev/null 2>&1; then echo OK; else echo failed; exit 1; fi done
273	@echo test OK
274
275longtest:	tests
276	if test -x "`which bash`"; then bash testcode/do-tests.sh; else sh testcode/do-tests.sh; fi
277
278lib:	libunbound.la
279
280libunbound.la:	$(LIBUNBOUND_OBJ_LINK)
281	$(LINK_LIB) $(UBSYMS) -o $@ $(LIBUNBOUND_OBJ_LINK) -rpath $(libdir) -lssl $(LIBS)
282
283unbound$(EXEEXT):	$(DAEMON_OBJ_LINK) libunbound.la
284	$(LINK) -o $@ $(DAEMON_OBJ_LINK) $(EXTRALINK) -lssl $(LIBS)
285
286unbound-checkconf$(EXEEXT):	$(CHECKCONF_OBJ_LINK) libunbound.la
287	$(LINK) -o $@ $(CHECKCONF_OBJ_LINK) $(EXTRALINK) -lssl $(LIBS)
288
289unbound-control$(EXEEXT):	$(CONTROL_OBJ_LINK) libunbound.la
290	$(LINK) -o $@ $(CONTROL_OBJ_LINK) $(EXTRALINK) -lssl $(LIBS)
291
292unbound-host$(EXEEXT):	$(HOST_OBJ_LINK) libunbound.la
293	$(LINK) -o $@ $(HOST_OBJ_LINK) -L. -L.libs -lunbound $(LIBS)
294
295unbound-anchor$(EXEEXT):	$(UBANCHOR_OBJ_LINK) libunbound.la
296	$(LINK) -o $@ $(UBANCHOR_OBJ_LINK) -L. -L.libs -lunbound -lexpat -lssl $(LIBS)
297
298unbound-service-install$(EXEEXT):	$(SVCINST_OBJ_LINK)
299	$(LINK) -o $@ $(SVCINST_OBJ_LINK) $(LIBS)
300
301unbound-service-remove$(EXEEXT):	$(SVCUNINST_OBJ_LINK)
302	$(LINK) -o $@ $(SVCUNINST_OBJ_LINK) $(LIBS)
303
304anchor-update$(EXEEXT):  $(ANCHORUPD_OBJ_LINK) libunbound.la
305	$(LINK) -o $@ $(ANCHORUPD_OBJ_LINK) -L. -L.libs -lunbound $(LIBS)
306
307unittest$(EXEEXT):	$(UNITTEST_OBJ_LINK)
308	$(LINK) -o $@ $(UNITTEST_OBJ_LINK) -lssl $(LIBS)
309
310testbound$(EXEEXT):	$(TESTBOUND_OBJ_LINK)
311	$(LINK) -o $@ $(TESTBOUND_OBJ_LINK) -lssl $(LIBS)
312
313lock-verify$(EXEEXT):	$(LOCKVERIFY_OBJ_LINK)
314	$(LINK) -o $@ $(LOCKVERIFY_OBJ_LINK) -lssl $(LIBS)
315
316petal$(EXEEXT):	$(PETAL_OBJ_LINK)
317	$(LINK) -o $@ $(PETAL_OBJ_LINK) -lssl $(LIBS)
318
319pktview$(EXEEXT):	$(PKTVIEW_OBJ_LINK)
320	$(LINK) -o $@ $(PKTVIEW_OBJ_LINK) -lssl $(LIBS)
321
322signit$(EXEEXT):	$(SIGNIT_OBJ_LINK)
323	$(LINK) -o $@ $(SIGNIT_OBJ_LINK) -lssl $(LIBS)
324
325memstats$(EXEEXT):	$(MEMSTATS_OBJ_LINK)
326	$(LINK) -o $@ $(MEMSTATS_OBJ_LINK) -lssl $(LIBS)
327
328asynclook$(EXEEXT):	$(ASYNCLOOK_OBJ_LINK) libunbound.la
329	$(LINK) -o $@ $(ASYNCLOOK_OBJ_LINK) $(LIBS) -L. -L.libs -lunbound
330
331streamtcp$(EXEEXT):	$(STREAMTCP_OBJ_LINK)
332	$(LINK) -o $@ $(STREAMTCP_OBJ_LINK) -lssl $(LIBS)
333
334perf$(EXEEXT):	$(PERF_OBJ_LINK)
335	$(LINK) -o $@ $(PERF_OBJ_LINK) -lssl $(LIBS)
336
337delayer$(EXEEXT):	$(DELAYER_OBJ_LINK)
338	$(LINK) -o $@ $(DELAYER_OBJ_LINK) -lssl $(LIBS)
339
340harvest$(EXEEXT):	$(HARVEST_OBJ_LINK) libunbound.la
341	$(LINK) -o $@ $(HARVEST_OBJ_LINK) $(LIBS) -L. -L.libs -lunbound
342
343unbound-control-setup:	$(srcdir)/smallapp/unbound-control-setup.sh
344	sed -e 's:^DESTDIR=.*$$:DESTDIR=$(UNBOUND_RUN_DIR):' < $(srcdir)/smallapp/unbound-control-setup.sh > $@
345	-chmod +x $@
346
347#testcode/ldns-testpkts.c:	$(ldnsdir)/examples/ldns-testpkts.c \
348#			$(ldnsdir)/examples/ldns-testpkts.h
349#	cp $(ldnsdir)/examples/ldns-testpkts.c testcode/ldns-testpkts.c
350#	cp $(ldnsdir)/examples/ldns-testpkts.h testcode/ldns-testpkts.h
351
352# Python Module
353pythonmod.lo pythonmod.o: $(srcdir)/pythonmod/pythonmod.c config.h \
354	pythonmod/interface.h \
355	$(srcdir)/pythonmod/pythonmod.h $(srcdir)/util/module.h \
356	$(srcdir)/util/storage/lruhash.h $(srcdir)/util/locks.h \
357	$(srcdir)/util/log.h $(srcdir)/util/data/msgreply.h \
358	$(srcdir)/util/data/packed_rrset.h $(srcdir)/util/data/msgparse.h \
359	$(srcdir)/services/outbound_list.h $(srcdir)/util/config_file.h \
360	$(srcdir)/pythonmod/pythonmod_utils.h $(srcdir)/util/netevent.h \
361	$(srcdir)/util/regional.h $(srcdir)/util/data/dname.h \
362	$(srcdir)/services/cache/dns.h $(srcdir)/services/mesh.h \
363	$(srcdir)/util/rbtree.h $(srcdir)/services/modstack.h
364
365pythonmod/interface.h:	$(srcdir)/pythonmod/interface.i config.h
366	@-if test ! -d pythonmod; then $(INSTALL) -d pythonmod; fi
367	$(SWIG) $(CPPFLAGS) -o $@ -python $(srcdir)/pythonmod/interface.i
368
369libunbound_wrap.lo libunbound_wrap.o: libunbound/python/libunbound_wrap.c \
370	$(srcdir)/libunbound/unbound.h
371libunbound/python/libunbound_wrap.c:	$(srcdir)/libunbound/python/libunbound.i $(srcdir)/libunbound/unbound.h
372	@-if test ! -d libunbound/python; then $(INSTALL) -d libunbound/python; fi
373	$(SWIG) -python -o $@ $(CPPFLAGS) $(srcdir)/libunbound/python/libunbound.i
374
375# Pyunbound python unbound wrapper
376_unbound.la:	libunbound_wrap.lo libunbound.la
377	$(LIBTOOL) --tag=CC --mode=link $(CC) $(RUNTIME_PATH) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -module -version-info @LIBUNBOUND_CURRENT@:@LIBUNBOUND_REVISION@:@LIBUNBOUND_AGE@ -no-undefined -o $@ libunbound_wrap.lo -rpath $(PYTHON_SITE_PKG) L. -L.libs -lunbound $(LIBS)
378
379util/config_file.c:	util/configparser.h
380util/configlexer.c:  $(srcdir)/util/configlexer.lex util/configparser.h
381	@-if test ! -d util; then $(INSTALL) -d util; fi
382	if test "$(LEX)" != ":"; then \
383		echo "#include \"config.h\"" > $@ ;\
384		echo "#include \"util/configyyrename.h\"" >> $@ ;\
385		$(LEX) -t $(srcdir)/util/configlexer.lex >> $@ ;\
386	fi
387
388util/configparser.c util/configparser.h:  $(srcdir)/util/configparser.y
389	@-if test ! -d util; then $(INSTALL) -d util; fi
390	$(YACC) -d -o util/configparser.c $(srcdir)/util/configparser.y
391
392clean:
393	rm -f *.o *.d *.lo *~ tags
394	rm -f unbound$(EXEEXT) unbound-checkconf$(EXEEXT) unbound-host$(EXEEXT) unbound-control$(EXEEXT) unbound-anchor$(EXEEXT) unbound-control-setup libunbound.la
395	rm -f $(ALL_SRC:.c=.lint)
396	rm -f _unbound.la libunbound/python/libunbound_wrap.c libunbound/python/unbound.py pythonmod/interface.h pythonmod/unboundmodule.py
397	rm -rf autom4te.cache .libs build doc/html doc/xml
398
399realclean: clean
400	rm -f config.status config.log config.h.in config.h
401	rm -f configure config.sub config.guess ltmain.sh aclocal.m4 libtool
402	rm -f util/configlexer.c util/configparser.c util/configparser.h
403	rm -f doc/example.conf doc/libunbound.3 doc/unbound-anchor.8 doc/unbound-checkconf.8 doc/unbound-control.8 doc/unbound.8 doc/unbound.conf.5
404	rm -f $(TEST_BIN)
405	rm -f Makefile 
406
407.SUFFIXES: .lint
408.c.lint:
409	$(LINT) $(LINTFLAGS) -I. -I$(srcdir) -I$(ldnsdir)/include $<
410	touch $@
411
412util/configparser.lint util/configlexer.lint pythonmod/pythonmod.lint libunbound/python/libunbound_wrap.lint:
413	# skip lint for generated code
414	touch $@
415
416winrc/win_svc.lint winrc/w_inst.lint winrc/unbound-service-install.lint winrc/unbound-service-remove.lint:
417	# skip lint for windows types
418	touch $@
419
420lint:	$(ALL_SRC:.c=.lint)
421
422tags:	$(srcdir)/*.[ch] $(srcdir)/*/*.[ch]
423	ctags  -f $(srcdir)/tags $(srcdir)/*.[ch] $(srcdir)/*/*.[ch]
424
425doc:
426	if test -n "$(doxygen)"; then \
427		$(doxygen) $(srcdir)/doc/unbound.doxygen; fi
428	if test "$(WITH_PYUNBOUND)" = "yes" -o "$(WITH_PYTHONMODULE)" = "yes"; \
429	    then if test -x "`which sphinx-build 2>&1`"; then \
430		sphinx-build -b html pythonmod/doc doc/html/pythonmod; \
431		sphinx-build -b html libunbound/python/doc doc/html/pyunbound;\
432	    fi ;\
433	fi
434
435strip:
436	$(STRIP) unbound$(EXEEXT)
437	$(STRIP) unbound-checkconf$(EXEEXT)
438	$(STRIP) unbound-control$(EXEEXT)
439	$(STRIP) unbound-host$(EXEEXT)
440	$(STRIP) unbound-anchor$(EXEEXT)
441
442pythonmod-install:
443	$(INSTALL) -m 755 -d $(DESTDIR)$(PYTHON_SITE_PKG)
444	$(INSTALL) -c -m 644 pythonmod/unboundmodule.py $(DESTDIR)$(PYTHON_SITE_PKG)/unboundmodule.py
445
446pyunbound-install:
447	$(INSTALL) -m 755 -d $(DESTDIR)$(PYTHON_SITE_PKG)
448	$(INSTALL) -c -m 644 $(srcdir)/libunbound/python/unbound.py $(DESTDIR)$(PYTHON_SITE_PKG)/unbound.py
449	$(LIBTOOL) --mode=install cp _unbound.la $(DESTDIR)$(PYTHON_SITE_PKG)
450	$(LIBTOOL) --mode=finish $(DESTDIR)$(PYTHON_SITE_PKG)
451
452install:	all $(PYTHONMOD_INSTALL) $(PYUNBOUND_INSTALL)
453	$(INSTALL) -m 755 -d $(DESTDIR)$(sbindir)
454	$(INSTALL) -m 755 -d $(DESTDIR)$(mandir)
455	$(INSTALL) -m 755 -d $(DESTDIR)$(mandir)/man8
456	$(INSTALL) -m 755 -d $(DESTDIR)$(mandir)/man5
457	$(INSTALL) -m 755 -d $(DESTDIR)$(mandir)/man3
458	$(INSTALL) -m 755 -d $(DESTDIR)$(mandir)/man1
459	$(INSTALL) -m 755 -d $(DESTDIR)$(libdir)
460	$(INSTALL) -m 755 -d $(DESTDIR)$(includedir)
461	$(LIBTOOL) --mode=install cp unbound$(EXEEXT) $(DESTDIR)$(sbindir)/unbound$(EXEEXT)
462	$(LIBTOOL) --mode=install cp unbound-checkconf$(EXEEXT) $(DESTDIR)$(sbindir)/unbound-checkconf$(EXEEXT)
463	$(LIBTOOL) --mode=install cp unbound-control$(EXEEXT) $(DESTDIR)$(sbindir)/unbound-control$(EXEEXT)
464	$(LIBTOOL) --mode=install cp unbound-host$(EXEEXT) $(DESTDIR)$(sbindir)/unbound-host$(EXEEXT)
465	$(LIBTOOL) --mode=install cp unbound-anchor$(EXEEXT) $(DESTDIR)$(sbindir)/unbound-anchor$(EXEEXT)
466	$(INSTALL) -c -m 644 doc/unbound.8 $(DESTDIR)$(mandir)/man8
467	$(INSTALL) -c -m 644 doc/unbound-checkconf.8 $(DESTDIR)$(mandir)/man8
468	$(INSTALL) -c -m 644 doc/unbound-control.8 $(DESTDIR)$(mandir)/man8
469	$(INSTALL) -c -m 644 doc/unbound-anchor.8 $(DESTDIR)$(mandir)/man8
470	$(INSTALL) -c -m 644 doc/unbound.conf.5 $(DESTDIR)$(mandir)/man5
471	$(INSTALL) -c -m 644 $(srcdir)/doc/unbound-host.1 $(DESTDIR)$(mandir)/man1
472	$(INSTALL) -c -m 644 doc/libunbound.3 $(DESTDIR)$(mandir)/man3
473	for mpage in ub_ctx ub_result ub_ctx_create ub_ctx_delete \
474		ub_ctx_set_option ub_ctx_get_option ub_ctx_config ub_ctx_set_fwd \
475		ub_ctx_resolvconf ub_ctx_hosts ub_ctx_add_ta ub_ctx_add_ta_file \
476		ub_ctx_trustedkeys ub_ctx_debugout ub_ctx_debuglevel ub_ctx_async \
477		ub_poll ub_wait ub_fd ub_process ub_resolve ub_resolve_async ub_cancel \
478		ub_resolve_free ub_strerror ub_ctx_print_local_zones ub_ctx_zone_add \
479		ub_ctx_zone_remove ub_ctx_data_add ub_ctx_data_remove; \
480	do \
481		echo ".so man3/libunbound.3" > $(DESTDIR)$(mandir)/man3/$$mpage.3 ; \
482	done
483	$(INSTALL) -c -m 755 unbound-control-setup $(DESTDIR)$(sbindir)/unbound-control-setup
484	if test ! -e $(DESTDIR)$(configfile); then $(INSTALL) -d `dirname $(DESTDIR)$(configfile)`; $(INSTALL) -c -m 644 doc/example.conf $(DESTDIR)$(configfile); fi
485	$(LIBTOOL) --mode=install cp $(srcdir)/libunbound/unbound.h $(DESTDIR)$(includedir)/unbound.h
486	$(LIBTOOL) --mode=install cp libunbound.la $(DESTDIR)$(libdir)
487	$(LIBTOOL) --mode=finish $(DESTDIR)$(libdir)
488
489pythonmod-uninstall:
490	rm -f -- $(DESTDIR)$(PYTHON_SITE_PKG)/unboundmodule.py
491
492pyunbound-uninstall:
493	rm -f -- $(DESTDIR)$(PYTHON_SITE_PKG)/unbound.py
494	$(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(PYTHON_SITE_PKG)/_unbound.la
495
496uninstall:	$(PYTHONMOD_UNINSTALL) $(PYUNBOUND_UNINSTALL)
497	rm -f -- $(DESTDIR)$(sbindir)/unbound$(EXEEXT) $(DESTDIR)$(sbindir)/unbound-checkconf$(EXEEXT) $(DESTDIR)$(sbindir)/unbound-host$(EXEEXT) $(DESTDIR)$(sbindir)/unbound-control$(EXEEXT) $(DESTDIR)$(sbindir)/unbound-anchor$(EXEEXT) $(DESTDIR)$(sbindir)/unbound-control-setup
498	rm -f -- $(DESTDIR)$(mandir)/man8/unbound.8 $(DESTDIR)$(mandir)/man8/unbound-checkconf.8 $(DESTDIR)$(mandir)/man5/unbound.conf.5 $(DESTDIR)$(mandir)/man8/unbound-control.8 $(DESTDIR)$(mandir)/man8/unbound-anchor.8
499	rm -f -- $(DESTDIR)$(mandir)/man1/unbound-host.1 $(DESTDIR)$(mandir)/man3/libunbound.3
500	for mpage in ub_ctx ub_result ub_ctx_create ub_ctx_delete \
501		ub_ctx_set_option ub_ctx_get_option ub_ctx_config ub_ctx_set_fwd \
502		ub_ctx_resolvconf ub_ctx_hosts ub_ctx_add_ta ub_ctx_add_ta_file \
503		ub_ctx_trustedkeys ub_ctx_debugout ub_ctx_debuglevel ub_ctx_async \
504		ub_poll ub_wait ub_fd ub_process ub_resolve ub_resolve_async ub_cancel \
505		ub_resolve_free ub_strerror ub_ctx_print_local_zones ub_ctx_zone_add \
506		ub_ctx_zone_remove ub_ctx_data_add ub_ctx_data_remove; \
507	do \
508		rm -f -- $(DESTDIR)$(mandir)/man3/$$mpage.3 ; \
509	done
510	rm -f -- $(DESTDIR)$(includedir)/unbound.h
511	$(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/libunbound.la
512	@echo
513	@echo "You still need to remove "`dirname $(DESTDIR)$(configfile)`" , $(DESTDIR)$(configfile) by hand"
514
515iana_update:
516	curl -o port-numbers.tmp http://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xml --compressed
517	if file port-numbers.tmp | grep 'gzip' >/dev/null; then zcat port-numbers.tmp; else cat port-numbers.tmp; fi | awk '/<record>/ {p=0;} /<protocol>udp/ {p=1;} /<protocol>[^u]/ {p=0;} /Decomissioned|Decommissioned|Removed|De-registered|unassigned|Unassigned|Reserved/ {u=1;} /<number>/ { if(u==1) {u=0;} else { if(p==1) { match($$0,/[0-9]+/); print substr($$0, RSTART, RLENGTH) ","}}}' | sort -nu > util/iana_ports.inc  
518	rm -f port-numbers.tmp
519
520# dependency generation
521DEPEND_TMP=depend1073.tmp
522DEPEND_TMP2=depend1074.tmp
523DEPEND_TARGET=Makefile
524DEPEND_TARGET2=Makefile.in
525# actions: generate deplines from gcc,
526# then, filter out home/xx, /usr/xx and /opt/xx lines (some cc already do this)
527# then, remove empty " \" lines
528# then, add srcdir before .c and .h in deps.
529# then, remove srcdir from the (generated) parser and lexer.
530# and mention the .lo
531depend:
532	(cd $(srcdir) ; $(CC) $(DEPFLAG) $(CPPFLAGS) $(CFLAGS) $(ALL_SRC) $(COMPAT_SRC)) | \
533		sed -e 's!'$$HOME'[^ ]* !!g' -e 's!'$$HOME'[^ ]*$$!!g' \
534			-e 's!/usr[^ ]* !!g' -e 's!/usr[^ ]*$$!!g' \
535			-e 's!/opt[^ ]* !!g' -e 's!/opt[^ ]*$$!!g' | \
536		sed -e '/^ \\$$/d' | \
537		sed -e 's? *\([^ ]*\.[ch]\)? $$(srcdir)/\1?g' | \
538		sed -e 's? *\([^ ]*\.inc\)? $$(srcdir)/\1?g' | \
539		sed -e 's?$$(srcdir)/config.h?config.h?g' \
540			-e 's?$$(srcdir)/util/configlexer.c?util/configlexer.c?g' \
541			-e 's?$$(srcdir)/util/configparser.c?util/configparser.c?g' \
542			-e 's?$$(srcdir)/util/configparser.h?util/configparser.h?g' \
543			-e 's?$$(srcdir)/pythonmod/pythonmod.h?$$(PYTHONMOD_HEADER)?g' \
544			-e 's!\(.*\)\.o[ :]*!\1.lo \1.o: !g' \
545			> $(DEPEND_TMP)
546	cp $(DEPEND_TARGET) $(DEPEND_TMP2)
547	head -`egrep -n "# Dependencies" $(DEPEND_TARGET) | tail -1 | sed -e 's/:.*$$//'` $(DEPEND_TMP2) > $(DEPEND_TARGET)
548	cat $(DEPEND_TMP) >> $(DEPEND_TARGET)
549	@if diff $(DEPEND_TARGET) $(DEPEND_TMP2); then echo "	$(DEPEND_TARGET) unchanged"; else echo "	Updated $(DEPEND_TARGET))"; fi
550	@if test -f $(DEPEND_TARGET2); then \
551		cp $(DEPEND_TARGET2) $(DEPEND_TMP2); \
552		head -`egrep -n "# Dependencies" $(DEPEND_TARGET2) | tail -1 | sed -e 's/:.*$$//'` $(DEPEND_TMP2) > $(DEPEND_TARGET2); \
553		cat $(DEPEND_TMP) >> $(DEPEND_TARGET2); \
554		if diff $(DEPEND_TARGET2) $(DEPEND_TMP2); then echo "	$(DEPEND_TARGET2) unchanged"; else echo "	Updated $(DEPEND_TARGET2))"; fi; \
555	fi
556	rm -f $(DEPEND_TMP) $(DEPEND_TMP2)
557
558# Dependencies
559dns.lo dns.o: $(srcdir)/services/cache/dns.c config.h $(srcdir)/iterator/iter_delegpt.h $(srcdir)/util/log.h \
560 $(srcdir)/validator/val_nsec.h \
561 $(srcdir)/util/data/packed_rrset.h $(srcdir)/util/storage/lruhash.h $(srcdir)/util/locks.h \
562 $(srcdir)/services/cache/dns.h \
563 $(srcdir)/util/data/msgreply.h $(srcdir)/services/cache/rrset.h $(srcdir)/util/storage/slabhash.h \
564 $(srcdir)/util/data/dname.h $(srcdir)/util/module.h $(srcdir)/util/data/msgparse.h \
565 $(srcdir)/util/net_help.h \
566 $(srcdir)/util/regional.h $(srcdir)/util/config_file.h
567infra.lo infra.o: $(srcdir)/services/cache/infra.c config.h \
568 $(srcdir)/services/cache/infra.h \
569 $(srcdir)/util/storage/lruhash.h $(srcdir)/util/locks.h $(srcdir)/util/log.h $(srcdir)/util/rtt.h \
570 $(srcdir)/util/storage/slabhash.h $(srcdir)/util/storage/lookup3.h $(srcdir)/util/data/dname.h \
571 $(srcdir)/util/net_help.h $(srcdir)/util/config_file.h $(srcdir)/iterator/iterator.h \
572 $(srcdir)/services/outbound_list.h $(srcdir)/util/data/msgreply.h $(srcdir)/util/data/packed_rrset.h \
573 $(srcdir)/util/module.h $(srcdir)/util/data/msgparse.h \
574 
575rrset.lo rrset.o: $(srcdir)/services/cache/rrset.c config.h $(srcdir)/services/cache/rrset.h \
576 $(srcdir)/util/storage/lruhash.h $(srcdir)/util/locks.h $(srcdir)/util/log.h \
577 $(srcdir)/util/storage/slabhash.h $(srcdir)/util/data/packed_rrset.h \
578 $(srcdir)/util/config_file.h \
579 $(srcdir)/util/data/msgreply.h $(srcdir)/util/regional.h $(srcdir)/util/alloc.h
580dname.lo dname.o: $(srcdir)/util/data/dname.c config.h $(srcdir)/util/data/dname.h \
581 $(srcdir)/util/storage/lruhash.h $(srcdir)/util/locks.h $(srcdir)/util/log.h \
582 $(srcdir)/util/data/msgparse.h \
583 $(srcdir)/util/storage/lookup3.h
584msgencode.lo msgencode.o: $(srcdir)/util/data/msgencode.c config.h \
585 $(srcdir)/util/data/msgencode.h \
586 $(srcdir)/util/data/msgreply.h $(srcdir)/util/storage/lruhash.h $(srcdir)/util/locks.h $(srcdir)/util/log.h \
587 $(srcdir)/util/data/packed_rrset.h $(srcdir)/util/data/msgparse.h $(srcdir)/util/data/dname.h \
588 $(srcdir)/util/regional.h $(srcdir)/util/net_help.h
589msgparse.lo msgparse.o: $(srcdir)/util/data/msgparse.c config.h \
590 $(srcdir)/util/data/msgparse.h \
591 $(srcdir)/util/storage/lruhash.h $(srcdir)/util/locks.h $(srcdir)/util/log.h $(srcdir)/util/data/dname.h \
592 $(srcdir)/util/data/packed_rrset.h $(srcdir)/util/storage/lookup3.h $(srcdir)/util/regional.h
593msgreply.lo msgreply.o: $(srcdir)/util/data/msgreply.c config.h \
594 $(srcdir)/util/data/msgreply.h \
595 $(srcdir)/util/storage/lruhash.h $(srcdir)/util/locks.h $(srcdir)/util/log.h $(srcdir)/util/data/packed_rrset.h \
596 $(srcdir)/util/storage/lookup3.h $(srcdir)/util/alloc.h $(srcdir)/util/netevent.h $(srcdir)/util/net_help.h \
597 $(srcdir)/util/data/dname.h $(srcdir)/util/regional.h $(srcdir)/util/data/msgparse.h \
598 $(srcdir)/util/data/msgencode.h
599packed_rrset.lo packed_rrset.o: $(srcdir)/util/data/packed_rrset.c config.h \
600 $(srcdir)/util/data/packed_rrset.h $(srcdir)/util/storage/lruhash.h $(srcdir)/util/locks.h $(srcdir)/util/log.h \
601 $(srcdir)/util/data/dname.h $(srcdir)/util/storage/lookup3.h $(srcdir)/util/alloc.h $(srcdir)/util/regional.h \
602 $(srcdir)/util/net_help.h
603iterator.lo iterator.o: $(srcdir)/iterator/iterator.c config.h \
604 $(srcdir)/iterator/iterator.h \
605 $(srcdir)/services/outbound_list.h $(srcdir)/util/data/msgreply.h $(srcdir)/util/storage/lruhash.h \
606 $(srcdir)/util/locks.h $(srcdir)/util/log.h $(srcdir)/util/data/packed_rrset.h $(srcdir)/util/module.h \
607 $(srcdir)/util/data/msgparse.h $(srcdir)/iterator/iter_utils.h $(srcdir)/iterator/iter_resptype.h \
608 $(srcdir)/iterator/iter_hints.h $(srcdir)/util/storage/dnstree.h $(srcdir)/util/rbtree.h \
609 $(srcdir)/iterator/iter_fwd.h $(srcdir)/iterator/iter_donotq.h $(srcdir)/iterator/iter_delegpt.h \
610 $(srcdir)/iterator/iter_scrub.h $(srcdir)/iterator/iter_priv.h $(srcdir)/validator/val_neg.h \
611 $(srcdir)/services/cache/dns.h $(srcdir)/services/cache/infra.h $(srcdir)/util/rtt.h $(srcdir)/util/netevent.h \
612 $(srcdir)/util/net_help.h $(srcdir)/util/regional.h $(srcdir)/util/data/dname.h $(srcdir)/util/data/msgencode.h \
613 $(srcdir)/util/fptr_wlist.h $(srcdir)/util/tube.h $(srcdir)/services/mesh.h $(srcdir)/services/modstack.h \
614 $(srcdir)/util/config_file.h
615iter_delegpt.lo iter_delegpt.o: $(srcdir)/iterator/iter_delegpt.c config.h $(srcdir)/iterator/iter_delegpt.h \
616 $(srcdir)/util/log.h \
617 $(srcdir)/services/cache/dns.h \
618 $(srcdir)/util/storage/lruhash.h $(srcdir)/util/locks.h $(srcdir)/util/data/msgreply.h \
619 $(srcdir)/util/data/packed_rrset.h \
620 $(srcdir)/util/regional.h \
621 $(srcdir)/util/data/dname.h $(srcdir)/util/net_help.h
622iter_donotq.lo iter_donotq.o: $(srcdir)/iterator/iter_donotq.c config.h $(srcdir)/iterator/iter_donotq.h \
623 $(srcdir)/util/storage/dnstree.h $(srcdir)/util/rbtree.h $(srcdir)/util/regional.h $(srcdir)/util/log.h \
624 $(srcdir)/util/config_file.h \
625 $(srcdir)/util/net_help.h
626iter_fwd.lo iter_fwd.o: $(srcdir)/iterator/iter_fwd.c config.h \
627 $(srcdir)/iterator/iter_fwd.h \
628 $(srcdir)/util/rbtree.h $(srcdir)/iterator/iter_delegpt.h $(srcdir)/util/log.h $(srcdir)/util/config_file.h \
629 $(srcdir)/util/net_help.h $(srcdir)/util/data/dname.h $(srcdir)/util/storage/lruhash.h $(srcdir)/util/locks.h
630iter_hints.lo iter_hints.o: $(srcdir)/iterator/iter_hints.c config.h \
631 $(srcdir)/iterator/iter_hints.h \
632 $(srcdir)/util/storage/dnstree.h $(srcdir)/util/rbtree.h $(srcdir)/iterator/iter_delegpt.h $(srcdir)/util/log.h \
633 $(srcdir)/util/config_file.h $(srcdir)/util/net_help.h $(srcdir)/util/data/dname.h \
634 $(srcdir)/util/storage/lruhash.h $(srcdir)/util/locks.h
635iter_priv.lo iter_priv.o: $(srcdir)/iterator/iter_priv.c config.h \
636 $(srcdir)/iterator/iter_priv.h \
637 $(srcdir)/util/rbtree.h \
638 $(srcdir)/util/regional.h $(srcdir)/util/log.h $(srcdir)/util/config_file.h $(srcdir)/util/data/dname.h \
639 $(srcdir)/util/storage/lruhash.h $(srcdir)/util/locks.h $(srcdir)/util/data/msgparse.h \
640 $(srcdir)/util/net_help.h \
641 $(srcdir)/util/storage/dnstree.h
642iter_resptype.lo iter_resptype.o: $(srcdir)/iterator/iter_resptype.c config.h \
643 $(srcdir)/iterator/iter_resptype.h $(srcdir)/iterator/iter_delegpt.h $(srcdir)/util/log.h \
644 $(srcdir)/services/cache/dns.h $(srcdir)/util/storage/lruhash.h $(srcdir)/util/locks.h \
645 $(srcdir)/util/data/msgreply.h $(srcdir)/util/data/packed_rrset.h $(srcdir)/util/net_help.h \
646 $(srcdir)/util/data/dname.h
647iter_scrub.lo iter_scrub.o: $(srcdir)/iterator/iter_scrub.c config.h $(srcdir)/iterator/iter_scrub.h \
648 $(srcdir)/iterator/iterator.h \
649 $(srcdir)/services/outbound_list.h $(srcdir)/util/data/msgreply.h $(srcdir)/util/storage/lruhash.h \
650 $(srcdir)/util/locks.h $(srcdir)/util/log.h $(srcdir)/util/data/packed_rrset.h \
651 $(srcdir)/util/module.h \
652 $(srcdir)/util/data/msgparse.h \
653 $(srcdir)/iterator/iter_priv.h $(srcdir)/util/rbtree.h $(srcdir)/services/cache/rrset.h \
654 $(srcdir)/util/storage/slabhash.h $(srcdir)/util/net_help.h $(srcdir)/util/regional.h \
655 $(srcdir)/util/config_file.h $(srcdir)/util/data/dname.h $(srcdir)/util/alloc.h
656iter_utils.lo iter_utils.o: $(srcdir)/iterator/iter_utils.c config.h $(srcdir)/iterator/iter_utils.h \
657 $(srcdir)/iterator/iter_resptype.h \
658 $(srcdir)/iterator/iterator.h \
659 $(srcdir)/services/outbound_list.h $(srcdir)/util/data/msgreply.h $(srcdir)/util/storage/lruhash.h \
660 $(srcdir)/util/locks.h $(srcdir)/util/log.h $(srcdir)/util/data/packed_rrset.h \
661 $(srcdir)/util/module.h \
662 $(srcdir)/util/data/msgparse.h \
663 $(srcdir)/iterator/iter_hints.h $(srcdir)/util/storage/dnstree.h $(srcdir)/util/rbtree.h \
664 $(srcdir)/iterator/iter_fwd.h $(srcdir)/iterator/iter_donotq.h $(srcdir)/iterator/iter_delegpt.h \
665 $(srcdir)/iterator/iter_priv.h $(srcdir)/services/cache/infra.h $(srcdir)/util/rtt.h \
666 $(srcdir)/services/cache/dns.h $(srcdir)/services/cache/rrset.h $(srcdir)/util/storage/slabhash.h \
667 $(srcdir)/util/net_help.h $(srcdir)/util/config_file.h $(srcdir)/util/regional.h $(srcdir)/util/data/dname.h \
668 $(srcdir)/util/random.h $(srcdir)/util/fptr_wlist.h $(srcdir)/util/netevent.h $(srcdir)/util/tube.h \
669 $(srcdir)/services/mesh.h $(srcdir)/services/modstack.h $(srcdir)/validator/val_anchor.h \
670 $(srcdir)/validator/val_kcache.h $(srcdir)/validator/val_kentry.h $(srcdir)/validator/val_utils.h
671listen_dnsport.lo listen_dnsport.o: $(srcdir)/services/listen_dnsport.c config.h \
672 $(srcdir)/services/listen_dnsport.h $(srcdir)/util/netevent.h \
673 $(srcdir)/services/outside_network.h $(srcdir)/util/rbtree.h $(srcdir)/util/log.h $(srcdir)/util/config_file.h \
674 $(srcdir)/util/net_help.h
675localzone.lo localzone.o: $(srcdir)/services/localzone.c config.h \
676 $(srcdir)/services/localzone.h \
677 $(srcdir)/util/rbtree.h $(srcdir)/util/locks.h $(srcdir)/util/log.h $(srcdir)/util/regional.h $(srcdir)/util/config_file.h \
678 $(srcdir)/util/data/dname.h $(srcdir)/util/storage/lruhash.h $(srcdir)/util/data/packed_rrset.h \
679 $(srcdir)/util/data/msgencode.h $(srcdir)/util/net_help.h $(srcdir)/util/data/msgreply.h \
680 $(srcdir)/util/data/msgparse.h
681mesh.lo mesh.o: $(srcdir)/services/mesh.c config.h \
682 $(srcdir)/services/mesh.h \
683 $(srcdir)/util/rbtree.h $(srcdir)/util/netevent.h $(srcdir)/util/data/msgparse.h \
684 $(srcdir)/util/storage/lruhash.h $(srcdir)/util/locks.h $(srcdir)/util/log.h $(srcdir)/util/module.h \
685 $(srcdir)/util/data/msgreply.h $(srcdir)/util/data/packed_rrset.h $(srcdir)/services/modstack.h \
686 $(srcdir)/services/outbound_list.h $(srcdir)/services/cache/dns.h $(srcdir)/util/net_help.h \
687 $(srcdir)/util/regional.h $(srcdir)/util/data/msgencode.h $(srcdir)/util/timehist.h $(srcdir)/util/fptr_wlist.h \
688 $(srcdir)/util/tube.h $(srcdir)/util/alloc.h $(srcdir)/util/config_file.h
689modstack.lo modstack.o: $(srcdir)/services/modstack.c config.h $(srcdir)/services/modstack.h \
690 $(srcdir)/util/module.h $(srcdir)/util/storage/lruhash.h $(srcdir)/util/locks.h $(srcdir)/util/log.h \
691 $(srcdir)/util/data/msgreply.h \
692 $(srcdir)/util/data/packed_rrset.h \
693 $(srcdir)/util/data/msgparse.h \
694 $(srcdir)/util/fptr_wlist.h \
695 $(srcdir)/util/netevent.h $(srcdir)/util/tube.h $(srcdir)/services/mesh.h $(srcdir)/util/rbtree.h \
696 $(srcdir)/iterator/iterator.h $(srcdir)/services/outbound_list.h $(srcdir)/validator/validator.h \
697 $(srcdir)/validator/val_utils.h
698outbound_list.lo outbound_list.o: $(srcdir)/services/outbound_list.c config.h \
699 $(srcdir)/services/outbound_list.h $(srcdir)/services/outside_network.h $(srcdir)/util/rbtree.h \
700 $(srcdir)/util/netevent.h \
701 
702outside_network.lo outside_network.o: $(srcdir)/services/outside_network.c config.h \
703 $(srcdir)/services/outside_network.h $(srcdir)/util/rbtree.h $(srcdir)/util/netevent.h \
704 $(srcdir)/services/listen_dnsport.h $(srcdir)/services/cache/infra.h $(srcdir)/util/storage/lruhash.h \
705 $(srcdir)/util/locks.h $(srcdir)/util/log.h $(srcdir)/util/rtt.h $(srcdir)/util/data/msgparse.h \
706 $(srcdir)/util/data/msgreply.h $(srcdir)/util/data/packed_rrset.h $(srcdir)/util/data/msgencode.h \
707 $(srcdir)/util/data/dname.h $(srcdir)/util/net_help.h $(srcdir)/util/random.h $(srcdir)/util/fptr_wlist.h \
708 $(srcdir)/util/module.h $(srcdir)/util/tube.h $(srcdir)/services/mesh.h $(srcdir)/services/modstack.h \
709 
710alloc.lo alloc.o: $(srcdir)/util/alloc.c config.h $(srcdir)/util/alloc.h $(srcdir)/util/locks.h $(srcdir)/util/log.h \
711 $(srcdir)/util/regional.h \
712 $(srcdir)/util/data/packed_rrset.h $(srcdir)/util/storage/lruhash.h \
713 $(srcdir)/util/fptr_wlist.h \
714 $(srcdir)/util/netevent.h $(srcdir)/util/module.h $(srcdir)/util/data/msgreply.h $(srcdir)/util/data/msgparse.h \
715 $(srcdir)/util/tube.h \
716 $(srcdir)/services/mesh.h $(srcdir)/util/rbtree.h $(srcdir)/services/modstack.h
717config_file.lo config_file.o: $(srcdir)/util/config_file.c config.h \
718 $(srcdir)/util/log.h \
719 $(srcdir)/util/configyyrename.h $(srcdir)/util/config_file.h util/configparser.h \
720 $(srcdir)/util/net_help.h $(srcdir)/util/data/msgparse.h $(srcdir)/util/storage/lruhash.h $(srcdir)/util/locks.h \
721 $(srcdir)/util/module.h $(srcdir)/util/data/msgreply.h $(srcdir)/util/data/packed_rrset.h \
722 $(srcdir)/util/regional.h $(srcdir)/util/fptr_wlist.h $(srcdir)/util/netevent.h $(srcdir)/util/tube.h \
723 $(srcdir)/services/mesh.h $(srcdir)/util/rbtree.h $(srcdir)/services/modstack.h $(srcdir)/util/data/dname.h \
724 $(srcdir)/util/iana_ports.inc
725configlexer.lo configlexer.o: util/configlexer.c config.h $(srcdir)/util/configyyrename.h \
726 $(srcdir)/util/config_file.h util/configparser.h
727configparser.lo configparser.o: util/configparser.c config.h $(srcdir)/util/configyyrename.h \
728 $(srcdir)/util/config_file.h $(srcdir)/util/net_help.h $(srcdir)/util/log.h \
729 
730fptr_wlist.lo fptr_wlist.o: $(srcdir)/util/fptr_wlist.c config.h $(srcdir)/util/fptr_wlist.h \
731 $(srcdir)/util/netevent.h \
732 $(srcdir)/util/storage/lruhash.h \
733 $(srcdir)/util/locks.h $(srcdir)/util/log.h $(srcdir)/util/module.h $(srcdir)/util/data/msgreply.h \
734 $(srcdir)/util/data/packed_rrset.h \
735 $(srcdir)/util/data/msgparse.h \
736 $(srcdir)/util/tube.h \
737 $(srcdir)/services/mesh.h $(srcdir)/util/rbtree.h $(srcdir)/services/modstack.h $(srcdir)/util/mini_event.h \
738 $(srcdir)/daemon/worker.h $(srcdir)/util/alloc.h $(srcdir)/daemon/stats.h $(srcdir)/util/timehist.h \
739 $(srcdir)/daemon/remote.h \
740 $(srcdir)/services/outside_network.h $(srcdir)/services/localzone.h $(srcdir)/services/cache/infra.h \
741 $(srcdir)/util/rtt.h $(srcdir)/services/cache/rrset.h $(srcdir)/util/storage/slabhash.h \
742 $(srcdir)/iterator/iterator.h $(srcdir)/services/outbound_list.h $(srcdir)/iterator/iter_fwd.h \
743 $(srcdir)/validator/validator.h $(srcdir)/validator/val_utils.h $(srcdir)/validator/val_anchor.h \
744 $(srcdir)/validator/val_nsec3.h $(srcdir)/validator/val_sigcrypt.h $(srcdir)/validator/val_kentry.h \
745 $(srcdir)/validator/val_neg.h $(srcdir)/validator/autotrust.h $(srcdir)/util/storage/dnstree.h \
746 $(srcdir)/libunbound/libworker.h $(srcdir)/libunbound/context.h $(srcdir)/libunbound/unbound.h \
747 $(srcdir)/util/config_file.h
748locks.lo locks.o: $(srcdir)/util/locks.c config.h $(srcdir)/util/locks.h $(srcdir)/util/log.h \
749 
750log.lo log.o: $(srcdir)/util/log.c config.h $(srcdir)/util/log.h \
751 $(srcdir)/util/locks.h
752mini_event.lo mini_event.o: $(srcdir)/util/mini_event.c config.h
753module.lo module.o: $(srcdir)/util/module.c config.h $(srcdir)/util/module.h $(srcdir)/util/storage/lruhash.h \
754 $(srcdir)/util/locks.h $(srcdir)/util/log.h \
755 $(srcdir)/util/data/msgreply.h \
756 $(srcdir)/util/data/packed_rrset.h \
757 $(srcdir)/util/data/msgparse.h \
758 
759netevent.lo netevent.o: $(srcdir)/util/netevent.c config.h \
760 $(srcdir)/util/netevent.h \
761 $(srcdir)/util/log.h $(srcdir)/util/net_help.h $(srcdir)/util/fptr_wlist.h $(srcdir)/util/storage/lruhash.h \
762 $(srcdir)/util/locks.h $(srcdir)/util/module.h $(srcdir)/util/data/msgreply.h $(srcdir)/util/data/packed_rrset.h \
763 $(srcdir)/util/data/msgparse.h $(srcdir)/util/tube.h $(srcdir)/services/mesh.h $(srcdir)/util/rbtree.h \
764 $(srcdir)/services/modstack.h \
765 
766net_help.lo net_help.o: $(srcdir)/util/net_help.c config.h \
767 $(srcdir)/util/net_help.h \
768 $(srcdir)/util/log.h $(srcdir)/util/data/dname.h $(srcdir)/util/storage/lruhash.h $(srcdir)/util/locks.h \
769 $(srcdir)/util/module.h $(srcdir)/util/data/msgreply.h $(srcdir)/util/data/packed_rrset.h \
770 $(srcdir)/util/data/msgparse.h $(srcdir)/util/regional.h \
771 
772random.lo random.o: $(srcdir)/util/random.c config.h $(srcdir)/util/random.h $(srcdir)/util/log.h \
773 
774rbtree.lo rbtree.o: $(srcdir)/util/rbtree.c config.h $(srcdir)/util/log.h \
775 $(srcdir)/util/fptr_wlist.h \
776 $(srcdir)/util/netevent.h $(srcdir)/util/storage/lruhash.h $(srcdir)/util/locks.h $(srcdir)/util/log.h \
777 $(srcdir)/util/module.h $(srcdir)/util/data/msgreply.h $(srcdir)/util/data/packed_rrset.h \
778 $(srcdir)/util/data/msgparse.h \
779 $(srcdir)/util/tube.h \
780 $(srcdir)/services/mesh.h $(srcdir)/util/rbtree.h $(srcdir)/services/modstack.h
781regional.lo regional.o: $(srcdir)/util/regional.c config.h $(srcdir)/util/log.h \
782 $(srcdir)/util/regional.h
783rtt.lo rtt.o: $(srcdir)/util/rtt.c config.h $(srcdir)/util/rtt.h
784dnstree.lo dnstree.o: $(srcdir)/util/storage/dnstree.c config.h $(srcdir)/util/storage/dnstree.h \
785 $(srcdir)/util/rbtree.h $(srcdir)/util/data/dname.h $(srcdir)/util/storage/lruhash.h $(srcdir)/util/locks.h \
786 $(srcdir)/util/log.h \
787 $(srcdir)/util/net_help.h
788lookup3.lo lookup3.o: $(srcdir)/util/storage/lookup3.c config.h $(srcdir)/util/storage/lookup3.h
789lruhash.lo lruhash.o: $(srcdir)/util/storage/lruhash.c config.h $(srcdir)/util/storage/lruhash.h \
790 $(srcdir)/util/locks.h $(srcdir)/util/log.h \
791 $(srcdir)/util/fptr_wlist.h \
792 $(srcdir)/util/netevent.h $(srcdir)/util/module.h $(srcdir)/util/data/msgreply.h \
793 $(srcdir)/util/data/packed_rrset.h \
794 $(srcdir)/util/data/msgparse.h \
795 $(srcdir)/util/tube.h \
796 $(srcdir)/services/mesh.h $(srcdir)/util/rbtree.h $(srcdir)/services/modstack.h
797slabhash.lo slabhash.o: $(srcdir)/util/storage/slabhash.c config.h $(srcdir)/util/storage/slabhash.h \
798 $(srcdir)/util/storage/lruhash.h $(srcdir)/util/locks.h $(srcdir)/util/log.h \
799 
800timehist.lo timehist.o: $(srcdir)/util/timehist.c config.h $(srcdir)/util/timehist.h $(srcdir)/util/log.h \
801 
802tube.lo tube.o: $(srcdir)/util/tube.c config.h $(srcdir)/util/tube.h $(srcdir)/util/log.h \
803 $(srcdir)/util/net_help.h \
804 $(srcdir)/util/netevent.h $(srcdir)/util/fptr_wlist.h $(srcdir)/util/storage/lruhash.h $(srcdir)/util/locks.h \
805 $(srcdir)/util/module.h $(srcdir)/util/data/msgreply.h $(srcdir)/util/data/packed_rrset.h \
806 $(srcdir)/util/data/msgparse.h \
807 $(srcdir)/services/mesh.h \
808 $(srcdir)/util/rbtree.h $(srcdir)/services/modstack.h
809winsock_event.lo winsock_event.o: $(srcdir)/util/winsock_event.c config.h
810autotrust.lo autotrust.o: $(srcdir)/validator/autotrust.c config.h \
811 $(srcdir)/validator/autotrust.h \
812 $(srcdir)/util/rbtree.h $(srcdir)/util/data/packed_rrset.h $(srcdir)/util/storage/lruhash.h \
813 $(srcdir)/util/locks.h $(srcdir)/util/log.h $(srcdir)/validator/val_anchor.h $(srcdir)/validator/val_utils.h \
814 $(srcdir)/validator/val_sigcrypt.h $(srcdir)/util/data/dname.h $(srcdir)/util/module.h \
815 $(srcdir)/util/data/msgreply.h $(srcdir)/util/data/msgparse.h $(srcdir)/util/net_help.h \
816 $(srcdir)/util/config_file.h $(srcdir)/util/regional.h $(srcdir)/util/random.h $(srcdir)/services/mesh.h \
817 $(srcdir)/util/netevent.h $(srcdir)/services/modstack.h $(srcdir)/services/cache/rrset.h \
818 $(srcdir)/util/storage/slabhash.h $(srcdir)/validator/val_kcache.h
819val_anchor.lo val_anchor.o: $(srcdir)/validator/val_anchor.c config.h \
820 $(srcdir)/validator/val_anchor.h \
821 $(srcdir)/util/rbtree.h $(srcdir)/util/locks.h $(srcdir)/util/log.h $(srcdir)/validator/val_sigcrypt.h \
822 $(srcdir)/util/data/packed_rrset.h $(srcdir)/util/storage/lruhash.h $(srcdir)/validator/autotrust.h \
823 $(srcdir)/util/data/dname.h $(srcdir)/util/net_help.h $(srcdir)/util/config_file.h
824validator.lo validator.o: $(srcdir)/validator/validator.c config.h \
825 $(srcdir)/validator/validator.h \
826 $(srcdir)/util/module.h $(srcdir)/util/storage/lruhash.h $(srcdir)/util/locks.h $(srcdir)/util/log.h \
827 $(srcdir)/util/data/msgreply.h $(srcdir)/util/data/packed_rrset.h $(srcdir)/util/data/msgparse.h \
828 $(srcdir)/validator/val_utils.h $(srcdir)/validator/val_anchor.h $(srcdir)/util/rbtree.h \
829 $(srcdir)/validator/val_kcache.h $(srcdir)/util/storage/slabhash.h $(srcdir)/validator/val_kentry.h \
830 $(srcdir)/validator/val_nsec.h $(srcdir)/validator/val_nsec3.h $(srcdir)/validator/val_neg.h \
831 $(srcdir)/validator/val_sigcrypt.h $(srcdir)/validator/autotrust.h $(srcdir)/services/cache/dns.h \
832 $(srcdir)/util/data/dname.h $(srcdir)/util/net_help.h $(srcdir)/util/regional.h $(srcdir)/util/config_file.h \
833 $(srcdir)/util/fptr_wlist.h $(srcdir)/util/netevent.h $(srcdir)/util/tube.h $(srcdir)/services/mesh.h \
834 $(srcdir)/services/modstack.h
835val_kcache.lo val_kcache.o: $(srcdir)/validator/val_kcache.c config.h $(srcdir)/validator/val_kcache.h \
836 $(srcdir)/util/storage/slabhash.h $(srcdir)/util/storage/lruhash.h $(srcdir)/util/locks.h $(srcdir)/util/log.h \
837 $(srcdir)/validator/val_kentry.h \
838 $(srcdir)/util/config_file.h $(srcdir)/util/data/dname.h $(srcdir)/util/module.h $(srcdir)/util/data/msgreply.h \
839 $(srcdir)/util/data/packed_rrset.h \
840 $(srcdir)/util/data/msgparse.h \
841 
842val_kentry.lo val_kentry.o: $(srcdir)/validator/val_kentry.c config.h \
843 $(srcdir)/validator/val_kentry.h \
844 $(srcdir)/util/storage/lruhash.h $(srcdir)/util/locks.h $(srcdir)/util/log.h $(srcdir)/util/data/packed_rrset.h \
845 $(srcdir)/util/data/dname.h $(srcdir)/util/storage/lookup3.h $(srcdir)/util/regional.h $(srcdir)/util/net_help.h
846val_neg.lo val_neg.o: $(srcdir)/validator/val_neg.c config.h \
847 $(srcdir)/validator/val_neg.h $(srcdir)/util/locks.h $(srcdir)/util/log.h \
848 $(srcdir)/util/rbtree.h \
849 $(srcdir)/validator/val_nsec.h $(srcdir)/util/data/packed_rrset.h $(srcdir)/util/storage/lruhash.h \
850 $(srcdir)/validator/val_nsec3.h \
851 $(srcdir)/validator/val_utils.h $(srcdir)/util/data/dname.h $(srcdir)/util/data/msgreply.h \
852 $(srcdir)/util/net_help.h $(srcdir)/util/config_file.h $(srcdir)/services/cache/rrset.h \
853 $(srcdir)/util/storage/slabhash.h $(srcdir)/services/cache/dns.h
854val_nsec3.lo val_nsec3.o: $(srcdir)/validator/val_nsec3.c config.h \
855 $(srcdir)/validator/val_nsec3.h $(srcdir)/util/rbtree.h $(srcdir)/util/data/packed_rrset.h \
856 $(srcdir)/util/storage/lruhash.h $(srcdir)/util/locks.h $(srcdir)/util/log.h \
857 $(srcdir)/validator/validator.h \
858 $(srcdir)/util/module.h $(srcdir)/util/data/msgreply.h $(srcdir)/util/data/msgparse.h \
859 $(srcdir)/validator/val_utils.h \
860 $(srcdir)/validator/val_kentry.h $(srcdir)/services/cache/rrset.h $(srcdir)/util/storage/slabhash.h \
861 $(srcdir)/util/regional.h $(srcdir)/util/net_help.h $(srcdir)/util/data/dname.h $(srcdir)/validator/val_nsec.h
862val_nsec.lo val_nsec.o: $(srcdir)/validator/val_nsec.c config.h \
863 $(srcdir)/validator/val_nsec.h \
864 $(srcdir)/util/data/packed_rrset.h $(srcdir)/util/storage/lruhash.h $(srcdir)/util/locks.h $(srcdir)/util/log.h \
865 $(srcdir)/validator/val_utils.h $(srcdir)/util/data/msgreply.h $(srcdir)/util/data/dname.h \
866 $(srcdir)/util/net_help.h $(srcdir)/util/module.h $(srcdir)/util/data/msgparse.h \
867 $(srcdir)/services/cache/rrset.h $(srcdir)/util/storage/slabhash.h
868val_secalgo.lo val_secalgo.o: $(srcdir)/validator/val_secalgo.c config.h \
869 $(srcdir)/validator/val_secalgo.h \
870 $(srcdir)/util/data/packed_rrset.h $(srcdir)/util/storage/lruhash.h $(srcdir)/util/locks.h $(srcdir)/util/log.h \
871 
872val_sigcrypt.lo val_sigcrypt.o: $(srcdir)/validator/val_sigcrypt.c config.h \
873 $(srcdir)/validator/val_sigcrypt.h \
874 $(srcdir)/util/data/packed_rrset.h $(srcdir)/util/storage/lruhash.h $(srcdir)/util/locks.h $(srcdir)/util/log.h \
875 $(srcdir)/validator/val_secalgo.h $(srcdir)/validator/validator.h $(srcdir)/util/module.h \
876 $(srcdir)/util/data/msgreply.h $(srcdir)/util/data/msgparse.h $(srcdir)/validator/val_utils.h \
877 $(srcdir)/util/data/dname.h $(srcdir)/util/rbtree.h $(srcdir)/util/net_help.h $(srcdir)/util/regional.h \
878 
879val_utils.lo val_utils.o: $(srcdir)/validator/val_utils.c config.h $(srcdir)/validator/val_utils.h \
880 $(srcdir)/util/data/packed_rrset.h $(srcdir)/util/storage/lruhash.h $(srcdir)/util/locks.h $(srcdir)/util/log.h \
881 $(srcdir)/validator/validator.h \
882 $(srcdir)/util/module.h $(srcdir)/util/data/msgreply.h $(srcdir)/util/data/msgparse.h \
883 $(srcdir)/validator/val_kentry.h \
884 $(srcdir)/validator/val_sigcrypt.h $(srcdir)/validator/val_anchor.h $(srcdir)/util/rbtree.h \
885 $(srcdir)/validator/val_nsec.h $(srcdir)/validator/val_neg.h $(srcdir)/services/cache/rrset.h \
886 $(srcdir)/util/storage/slabhash.h $(srcdir)/services/cache/dns.h $(srcdir)/util/data/dname.h \
887 $(srcdir)/util/net_help.h $(srcdir)/util/regional.h
888checklocks.lo checklocks.o: $(srcdir)/testcode/checklocks.c config.h $(srcdir)/util/locks.h $(srcdir)/util/log.h \
889 $(srcdir)/testcode/checklocks.h
890unitanchor.lo unitanchor.o: $(srcdir)/testcode/unitanchor.c config.h \
891 $(srcdir)/util/log.h \
892 $(srcdir)/util/data/dname.h $(srcdir)/util/storage/lruhash.h $(srcdir)/util/locks.h \
893 $(srcdir)/testcode/unitmain.h $(srcdir)/validator/val_anchor.h $(srcdir)/util/rbtree.h
894unitdname.lo unitdname.o: $(srcdir)/testcode/unitdname.c config.h \
895 $(srcdir)/util/log.h \
896 $(srcdir)/testcode/unitmain.h $(srcdir)/util/data/dname.h $(srcdir)/util/storage/lruhash.h \
897 $(srcdir)/util/locks.h
898unitlruhash.lo unitlruhash.o: $(srcdir)/testcode/unitlruhash.c config.h $(srcdir)/testcode/unitmain.h \
899 $(srcdir)/util/log.h \
900 $(srcdir)/util/storage/lruhash.h \
901 $(srcdir)/util/locks.h $(srcdir)/util/storage/slabhash.h
902unitmain.lo unitmain.o: $(srcdir)/testcode/unitmain.c config.h \
903 $(srcdir)/util/log.h \
904 $(srcdir)/testcode/unitmain.h $(srcdir)/util/alloc.h $(srcdir)/util/locks.h $(srcdir)/util/net_help.h \
905 $(srcdir)/util/config_file.h $(srcdir)/util/rtt.h $(srcdir)/services/cache/infra.h \
906 $(srcdir)/util/storage/lruhash.h $(srcdir)/util/random.h
907unitmsgparse.lo unitmsgparse.o: $(srcdir)/testcode/unitmsgparse.c config.h \
908 $(srcdir)/util/log.h \
909 $(srcdir)/testcode/unitmain.h $(srcdir)/util/data/msgparse.h $(srcdir)/util/storage/lruhash.h \
910 $(srcdir)/util/locks.h $(srcdir)/util/data/msgreply.h $(srcdir)/util/data/packed_rrset.h \
911 $(srcdir)/util/data/msgencode.h $(srcdir)/util/data/dname.h $(srcdir)/util/alloc.h $(srcdir)/util/regional.h \
912 $(srcdir)/util/net_help.h $(srcdir)/testcode/readhex.h
913unitneg.lo unitneg.o: $(srcdir)/testcode/unitneg.c config.h $(srcdir)/util/log.h \
914 $(srcdir)/util/net_help.h \
915 $(srcdir)/util/data/packed_rrset.h $(srcdir)/util/storage/lruhash.h $(srcdir)/util/locks.h \
916 $(srcdir)/util/data/dname.h \
917 $(srcdir)/testcode/unitmain.h $(srcdir)/validator/val_neg.h $(srcdir)/util/rbtree.h
918unitregional.lo unitregional.o: $(srcdir)/testcode/unitregional.c config.h $(srcdir)/testcode/unitmain.h \
919 $(srcdir)/util/log.h \
920 $(srcdir)/util/regional.h
921unitslabhash.lo unitslabhash.o: $(srcdir)/testcode/unitslabhash.c config.h $(srcdir)/testcode/unitmain.h \
922 $(srcdir)/util/log.h \
923 $(srcdir)/util/storage/slabhash.h $(srcdir)/util/storage/lruhash.h $(srcdir)/util/locks.h
924unitverify.lo unitverify.o: $(srcdir)/testcode/unitverify.c config.h $(srcdir)/util/log.h \
925 $(srcdir)/testcode/unitmain.h \
926 $(srcdir)/validator/val_sigcrypt.h $(srcdir)/util/data/packed_rrset.h $(srcdir)/util/storage/lruhash.h \
927 $(srcdir)/util/locks.h \
928 $(srcdir)/validator/val_secalgo.h \
929 $(srcdir)/validator/val_nsec.h $(srcdir)/validator/val_nsec3.h $(srcdir)/util/rbtree.h \
930 $(srcdir)/validator/validator.h $(srcdir)/util/module.h $(srcdir)/util/data/msgreply.h \
931 $(srcdir)/util/data/msgparse.h \
932 $(srcdir)/validator/val_utils.h $(srcdir)/testcode/ldns-testpkts.h \
933 $(srcdir)/util/data/dname.h \
934 $(srcdir)/util/regional.h $(srcdir)/util/alloc.h $(srcdir)/util/net_help.h $(srcdir)/util/config_file.h
935readhex.lo readhex.o: $(srcdir)/testcode/readhex.c config.h $(srcdir)/testcode/readhex.h \
936 $(srcdir)/util/log.h
937ldns-testpkts.lo ldns-testpkts.o: $(srcdir)/testcode/ldns-testpkts.c config.h \
938 $(srcdir)/testcode/ldns-testpkts.h
939acl_list.lo acl_list.o: $(srcdir)/daemon/acl_list.c config.h $(srcdir)/daemon/acl_list.h \
940 $(srcdir)/util/storage/dnstree.h $(srcdir)/util/rbtree.h $(srcdir)/util/regional.h $(srcdir)/util/log.h \
941 $(srcdir)/util/config_file.h \
942 $(srcdir)/util/net_help.h
943cachedump.lo cachedump.o: $(srcdir)/daemon/cachedump.c config.h \
944 $(srcdir)/daemon/cachedump.h \
945 $(srcdir)/daemon/remote.h $(srcdir)/daemon/worker.h $(srcdir)/util/netevent.h $(srcdir)/util/locks.h $(srcdir)/util/log.h \
946 $(srcdir)/util/alloc.h $(srcdir)/util/data/msgreply.h $(srcdir)/util/storage/lruhash.h \
947 $(srcdir)/util/data/packed_rrset.h $(srcdir)/util/data/msgparse.h $(srcdir)/daemon/stats.h \
948 $(srcdir)/util/timehist.h $(srcdir)/util/module.h $(srcdir)/services/cache/rrset.h \
949 $(srcdir)/util/storage/slabhash.h $(srcdir)/services/cache/dns.h $(srcdir)/services/cache/infra.h \
950 $(srcdir)/util/rtt.h $(srcdir)/util/regional.h $(srcdir)/util/net_help.h $(srcdir)/util/data/dname.h \
951 $(srcdir)/iterator/iterator.h $(srcdir)/services/outbound_list.h $(srcdir)/iterator/iter_delegpt.h \
952 $(srcdir)/iterator/iter_utils.h $(srcdir)/iterator/iter_resptype.h $(srcdir)/iterator/iter_fwd.h \
953 $(srcdir)/util/rbtree.h $(srcdir)/iterator/iter_hints.h $(srcdir)/util/storage/dnstree.h
954daemon.lo daemon.o: $(srcdir)/daemon/daemon.c config.h \
955 $(srcdir)/daemon/daemon.h \
956 $(srcdir)/util/locks.h $(srcdir)/util/log.h $(srcdir)/util/alloc.h $(srcdir)/services/modstack.h $(srcdir)/daemon/worker.h \
957 $(srcdir)/util/netevent.h $(srcdir)/util/data/msgreply.h $(srcdir)/util/storage/lruhash.h \
958 $(srcdir)/util/data/packed_rrset.h $(srcdir)/util/data/msgparse.h $(srcdir)/daemon/stats.h \
959 $(srcdir)/util/timehist.h $(srcdir)/util/module.h $(srcdir)/daemon/remote.h $(srcdir)/daemon/acl_list.h \
960 $(srcdir)/util/storage/dnstree.h $(srcdir)/util/rbtree.h $(srcdir)/util/config_file.h \
961 $(srcdir)/util/storage/lookup3.h $(srcdir)/util/storage/slabhash.h $(srcdir)/services/listen_dnsport.h \
962 $(srcdir)/services/cache/rrset.h $(srcdir)/services/cache/infra.h $(srcdir)/util/rtt.h \
963 $(srcdir)/services/localzone.h $(srcdir)/util/random.h $(srcdir)/util/tube.h $(srcdir)/util/net_help.h
964remote.lo remote.o: $(srcdir)/daemon/remote.c config.h \
965 $(srcdir)/daemon/remote.h \
966 $(srcdir)/daemon/worker.h $(srcdir)/util/netevent.h $(srcdir)/util/locks.h $(srcdir)/util/log.h $(srcdir)/util/alloc.h \
967 $(srcdir)/util/data/msgreply.h $(srcdir)/util/storage/lruhash.h $(srcdir)/util/data/packed_rrset.h \
968 $(srcdir)/util/data/msgparse.h $(srcdir)/daemon/stats.h $(srcdir)/util/timehist.h $(srcdir)/util/module.h \
969 $(srcdir)/daemon/daemon.h $(srcdir)/services/modstack.h $(srcdir)/daemon/cachedump.h \
970 $(srcdir)/util/config_file.h $(srcdir)/util/net_help.h $(srcdir)/services/listen_dnsport.h \
971 $(srcdir)/services/cache/rrset.h $(srcdir)/util/storage/slabhash.h $(srcdir)/services/cache/infra.h \
972 $(srcdir)/util/rtt.h $(srcdir)/services/mesh.h $(srcdir)/util/rbtree.h $(srcdir)/services/localzone.h \
973 $(srcdir)/util/fptr_wlist.h $(srcdir)/util/tube.h $(srcdir)/util/data/dname.h $(srcdir)/validator/validator.h \
974 $(srcdir)/validator/val_utils.h $(srcdir)/validator/val_kcache.h $(srcdir)/validator/val_kentry.h \
975 $(srcdir)/validator/val_anchor.h $(srcdir)/iterator/iterator.h $(srcdir)/services/outbound_list.h \
976 $(srcdir)/iterator/iter_fwd.h $(srcdir)/iterator/iter_hints.h $(srcdir)/util/storage/dnstree.h \
977 $(srcdir)/iterator/iter_delegpt.h $(srcdir)/services/outside_network.h
978stats.lo stats.o: $(srcdir)/daemon/stats.c config.h \
979 $(srcdir)/daemon/stats.h \
980 $(srcdir)/util/timehist.h $(srcdir)/daemon/worker.h $(srcdir)/util/netevent.h $(srcdir)/util/locks.h $(srcdir)/util/log.h \
981 $(srcdir)/util/alloc.h $(srcdir)/util/data/msgreply.h $(srcdir)/util/storage/lruhash.h \
982 $(srcdir)/util/data/packed_rrset.h $(srcdir)/util/data/msgparse.h $(srcdir)/util/module.h \
983 $(srcdir)/daemon/daemon.h $(srcdir)/services/modstack.h $(srcdir)/services/mesh.h $(srcdir)/util/rbtree.h \
984 $(srcdir)/services/outside_network.h $(srcdir)/util/config_file.h $(srcdir)/util/tube.h \
985 $(srcdir)/util/net_help.h $(srcdir)/validator/validator.h $(srcdir)/validator/val_utils.h
986unbound.lo unbound.o: $(srcdir)/daemon/unbound.c config.h $(srcdir)/util/log.h \
987 $(srcdir)/daemon/daemon.h \
988 $(srcdir)/util/locks.h $(srcdir)/util/alloc.h $(srcdir)/services/modstack.h $(srcdir)/daemon/remote.h \
989 $(srcdir)/util/config_file.h $(srcdir)/util/storage/slabhash.h $(srcdir)/util/storage/lruhash.h \
990 $(srcdir)/services/listen_dnsport.h $(srcdir)/util/netevent.h $(srcdir)/services/cache/rrset.h \
991 $(srcdir)/util/data/packed_rrset.h \
992 $(srcdir)/services/cache/infra.h \
993 $(srcdir)/util/rtt.h $(srcdir)/util/data/msgreply.h $(srcdir)/util/module.h $(srcdir)/util/data/msgparse.h \
994 $(srcdir)/util/net_help.h
995worker.lo worker.o: $(srcdir)/daemon/worker.c config.h \
996 $(srcdir)/util/log.h \
997 $(srcdir)/util/net_help.h $(srcdir)/util/random.h $(srcdir)/daemon/worker.h $(srcdir)/util/netevent.h \
998 $(srcdir)/util/locks.h $(srcdir)/util/alloc.h $(srcdir)/util/data/msgreply.h $(srcdir)/util/storage/lruhash.h \
999 $(srcdir)/util/data/packed_rrset.h $(srcdir)/util/data/msgparse.h $(srcdir)/daemon/stats.h \
1000 $(srcdir)/util/timehist.h $(srcdir)/util/module.h $(srcdir)/daemon/daemon.h $(srcdir)/services/modstack.h \
1001 $(srcdir)/daemon/remote.h \
1002 $(srcdir)/daemon/acl_list.h $(srcdir)/util/storage/dnstree.h $(srcdir)/util/rbtree.h \
1003 $(srcdir)/util/config_file.h $(srcdir)/util/regional.h $(srcdir)/util/storage/slabhash.h \
1004 $(srcdir)/services/listen_dnsport.h $(srcdir)/services/outside_network.h \
1005 $(srcdir)/services/outbound_list.h $(srcdir)/services/cache/rrset.h $(srcdir)/services/cache/infra.h \
1006 $(srcdir)/util/rtt.h $(srcdir)/services/cache/dns.h $(srcdir)/services/mesh.h $(srcdir)/services/localzone.h \
1007 $(srcdir)/util/data/msgencode.h $(srcdir)/util/data/dname.h $(srcdir)/util/fptr_wlist.h $(srcdir)/util/tube.h \
1008 $(srcdir)/iterator/iter_fwd.h $(srcdir)/iterator/iter_hints.h $(srcdir)/validator/autotrust.h \
1009 $(srcdir)/validator/val_anchor.h
1010testbound.lo testbound.o: $(srcdir)/testcode/testbound.c config.h $(srcdir)/testcode/ldns-testpkts.h \
1011 $(srcdir)/testcode/replay.h \
1012 $(srcdir)/util/netevent.h $(srcdir)/util/rbtree.h $(srcdir)/testcode/fake_event.h $(srcdir)/daemon/remote.h \
1013 $(srcdir)/util/config_file.h $(srcdir)/daemon/unbound.c $(srcdir)/util/log.h $(srcdir)/daemon/daemon.h \
1014 $(srcdir)/util/locks.h $(srcdir)/util/alloc.h $(srcdir)/services/modstack.h $(srcdir)/util/storage/slabhash.h \
1015 $(srcdir)/util/storage/lruhash.h $(srcdir)/services/listen_dnsport.h $(srcdir)/services/cache/rrset.h \
1016 $(srcdir)/util/data/packed_rrset.h $(srcdir)/services/cache/infra.h $(srcdir)/util/rtt.h \
1017 $(srcdir)/util/data/msgreply.h $(srcdir)/util/module.h $(srcdir)/util/data/msgparse.h $(srcdir)/util/net_help.h
1018ldns-testpkts.lo ldns-testpkts.o: $(srcdir)/testcode/ldns-testpkts.c config.h \
1019 $(srcdir)/testcode/ldns-testpkts.h
1020worker.lo worker.o: $(srcdir)/daemon/worker.c config.h \
1021 $(srcdir)/util/log.h \
1022 $(srcdir)/util/net_help.h $(srcdir)/util/random.h $(srcdir)/daemon/worker.h $(srcdir)/util/netevent.h \
1023 $(srcdir)/util/locks.h $(srcdir)/util/alloc.h $(srcdir)/util/data/msgreply.h $(srcdir)/util/storage/lruhash.h \
1024 $(srcdir)/util/data/packed_rrset.h $(srcdir)/util/data/msgparse.h $(srcdir)/daemon/stats.h \
1025 $(srcdir)/util/timehist.h $(srcdir)/util/module.h $(srcdir)/daemon/daemon.h $(srcdir)/services/modstack.h \
1026 $(srcdir)/daemon/remote.h \
1027 $(srcdir)/daemon/acl_list.h $(srcdir)/util/storage/dnstree.h $(srcdir)/util/rbtree.h \
1028 $(srcdir)/util/config_file.h $(srcdir)/util/regional.h $(srcdir)/util/storage/slabhash.h \
1029 $(srcdir)/services/listen_dnsport.h $(srcdir)/services/outside_network.h \
1030 $(srcdir)/services/outbound_list.h $(srcdir)/services/cache/rrset.h $(srcdir)/services/cache/infra.h \
1031 $(srcdir)/util/rtt.h $(srcdir)/services/cache/dns.h $(srcdir)/services/mesh.h $(srcdir)/services/localzone.h \
1032 $(srcdir)/util/data/msgencode.h $(srcdir)/util/data/dname.h $(srcdir)/util/fptr_wlist.h $(srcdir)/util/tube.h \
1033 $(srcdir)/iterator/iter_fwd.h $(srcdir)/iterator/iter_hints.h $(srcdir)/validator/autotrust.h \
1034 $(srcdir)/validator/val_anchor.h
1035acl_list.lo acl_list.o: $(srcdir)/daemon/acl_list.c config.h $(srcdir)/daemon/acl_list.h \
1036 $(srcdir)/util/storage/dnstree.h $(srcdir)/util/rbtree.h $(srcdir)/util/regional.h $(srcdir)/util/log.h \
1037 $(srcdir)/util/config_file.h \
1038 $(srcdir)/util/net_help.h
1039daemon.lo daemon.o: $(srcdir)/daemon/daemon.c config.h \
1040 $(srcdir)/daemon/daemon.h \
1041 $(srcdir)/util/locks.h $(srcdir)/util/log.h $(srcdir)/util/alloc.h $(srcdir)/services/modstack.h $(srcdir)/daemon/worker.h \
1042 $(srcdir)/util/netevent.h $(srcdir)/util/data/msgreply.h $(srcdir)/util/storage/lruhash.h \
1043 $(srcdir)/util/data/packed_rrset.h $(srcdir)/util/data/msgparse.h $(srcdir)/daemon/stats.h \
1044 $(srcdir)/util/timehist.h $(srcdir)/util/module.h $(srcdir)/daemon/remote.h $(srcdir)/daemon/acl_list.h \
1045 $(srcdir)/util/storage/dnstree.h $(srcdir)/util/rbtree.h $(srcdir)/util/config_file.h \
1046 $(srcdir)/util/storage/lookup3.h $(srcdir)/util/storage/slabhash.h $(srcdir)/services/listen_dnsport.h \
1047 $(srcdir)/services/cache/rrset.h $(srcdir)/services/cache/infra.h $(srcdir)/util/rtt.h \
1048 $(srcdir)/services/localzone.h $(srcdir)/util/random.h $(srcdir)/util/tube.h $(srcdir)/util/net_help.h
1049stats.lo stats.o: $(srcdir)/daemon/stats.c config.h \
1050 $(srcdir)/daemon/stats.h \
1051 $(srcdir)/util/timehist.h $(srcdir)/daemon/worker.h $(srcdir)/util/netevent.h $(srcdir)/util/locks.h $(srcdir)/util/log.h \
1052 $(srcdir)/util/alloc.h $(srcdir)/util/data/msgreply.h $(srcdir)/util/storage/lruhash.h \
1053 $(srcdir)/util/data/packed_rrset.h $(srcdir)/util/data/msgparse.h $(srcdir)/util/module.h \
1054 $(srcdir)/daemon/daemon.h $(srcdir)/services/modstack.h $(srcdir)/services/mesh.h $(srcdir)/util/rbtree.h \
1055 $(srcdir)/services/outside_network.h $(srcdir)/util/config_file.h $(srcdir)/util/tube.h \
1056 $(srcdir)/util/net_help.h $(srcdir)/validator/validator.h $(srcdir)/validator/val_utils.h
1057replay.lo replay.o: $(srcdir)/testcode/replay.c config.h $(srcdir)/util/log.h \
1058 $(srcdir)/util/net_help.h \
1059 $(srcdir)/util/config_file.h $(srcdir)/testcode/replay.h $(srcdir)/util/netevent.h \
1060 $(srcdir)/testcode/ldns-testpkts.h \
1061 $(srcdir)/util/rbtree.h \
1062 $(srcdir)/testcode/fake_event.h
1063fake_event.lo fake_event.o: $(srcdir)/testcode/fake_event.c config.h $(srcdir)/testcode/fake_event.h \
1064 $(srcdir)/util/netevent.h \
1065 $(srcdir)/util/net_help.h \
1066 $(srcdir)/util/log.h $(srcdir)/util/data/msgparse.h $(srcdir)/util/storage/lruhash.h $(srcdir)/util/locks.h \
1067 $(srcdir)/util/data/msgreply.h \
1068 $(srcdir)/util/data/packed_rrset.h $(srcdir)/util/data/msgencode.h $(srcdir)/util/data/dname.h \
1069 $(srcdir)/util/config_file.h $(srcdir)/services/listen_dnsport.h $(srcdir)/services/outside_network.h \
1070 $(srcdir)/util/rbtree.h $(srcdir)/services/cache/infra.h $(srcdir)/util/rtt.h $(srcdir)/testcode/replay.h \
1071 $(srcdir)/testcode/ldns-testpkts.h \
1072 $(srcdir)/util/fptr_wlist.h \
1073 $(srcdir)/util/module.h $(srcdir)/util/tube.h $(srcdir)/services/mesh.h $(srcdir)/services/modstack.h
1074lock_verify.lo lock_verify.o: $(srcdir)/testcode/lock_verify.c config.h $(srcdir)/util/log.h \
1075 $(srcdir)/util/rbtree.h \
1076 $(srcdir)/util/locks.h $(srcdir)/util/fptr_wlist.h $(srcdir)/util/netevent.h $(srcdir)/util/storage/lruhash.h \
1077 $(srcdir)/util/module.h $(srcdir)/util/data/msgreply.h $(srcdir)/util/data/packed_rrset.h \
1078 $(srcdir)/util/data/msgparse.h \
1079 $(srcdir)/util/tube.h \
1080 $(srcdir)/services/mesh.h $(srcdir)/services/modstack.h
1081pktview.lo pktview.o: $(srcdir)/testcode/pktview.c config.h \
1082 $(srcdir)/util/log.h \
1083 $(srcdir)/util/data/dname.h $(srcdir)/util/storage/lruhash.h $(srcdir)/util/locks.h \
1084 $(srcdir)/util/data/msgparse.h $(srcdir)/testcode/unitmain.h $(srcdir)/testcode/readhex.h
1085readhex.lo readhex.o: $(srcdir)/testcode/readhex.c config.h $(srcdir)/testcode/readhex.h \
1086 $(srcdir)/util/log.h
1087signit.lo signit.o: $(srcdir)/testcode/signit.c config.h \
1088 $(srcdir)/util/log.h \
1089 $(srcdir)/util/config_file.h $(srcdir)/util/net_help.h
1090memstats.lo memstats.o: $(srcdir)/testcode/memstats.c config.h $(srcdir)/util/log.h \
1091 $(srcdir)/util/rbtree.h \
1092 $(srcdir)/util/locks.h $(srcdir)/util/fptr_wlist.h $(srcdir)/util/netevent.h $(srcdir)/util/storage/lruhash.h \
1093 $(srcdir)/util/module.h $(srcdir)/util/data/msgreply.h $(srcdir)/util/data/packed_rrset.h \
1094 $(srcdir)/util/data/msgparse.h \
1095 $(srcdir)/util/tube.h \
1096 $(srcdir)/services/mesh.h $(srcdir)/services/modstack.h
1097unbound-checkconf.lo unbound-checkconf.o: $(srcdir)/smallapp/unbound-checkconf.c config.h $(srcdir)/util/log.h \
1098 $(srcdir)/util/config_file.h \
1099 $(srcdir)/util/module.h $(srcdir)/util/storage/lruhash.h $(srcdir)/util/locks.h $(srcdir)/util/data/msgreply.h \
1100 $(srcdir)/util/data/packed_rrset.h \
1101 $(srcdir)/util/data/msgparse.h \
1102 $(srcdir)/util/net_help.h \
1103 $(srcdir)/util/regional.h $(srcdir)/iterator/iterator.h $(srcdir)/services/outbound_list.h \
1104 $(srcdir)/iterator/iter_fwd.h $(srcdir)/util/rbtree.h $(srcdir)/iterator/iter_hints.h \
1105 $(srcdir)/util/storage/dnstree.h $(srcdir)/validator/validator.h $(srcdir)/validator/val_utils.h \
1106 $(srcdir)/services/localzone.h
1107worker_cb.lo worker_cb.o: $(srcdir)/smallapp/worker_cb.c config.h $(srcdir)/util/log.h \
1108 $(srcdir)/services/mesh.h \
1109 $(srcdir)/util/rbtree.h $(srcdir)/util/netevent.h $(srcdir)/util/data/msgparse.h \
1110 $(srcdir)/util/storage/lruhash.h $(srcdir)/util/locks.h \
1111 $(srcdir)/util/module.h \
1112 $(srcdir)/util/data/msgreply.h $(srcdir)/util/data/packed_rrset.h $(srcdir)/services/modstack.h
1113context.lo context.o: $(srcdir)/libunbound/context.c config.h $(srcdir)/libunbound/context.h \
1114 $(srcdir)/util/locks.h $(srcdir)/util/log.h \
1115 $(srcdir)/util/alloc.h \
1116 $(srcdir)/util/rbtree.h $(srcdir)/services/modstack.h $(srcdir)/libunbound/unbound.h \
1117 $(srcdir)/util/data/packed_rrset.h $(srcdir)/util/storage/lruhash.h \
1118 $(srcdir)/util/module.h \
1119 $(srcdir)/util/data/msgreply.h $(srcdir)/util/data/msgparse.h \
1120 $(srcdir)/util/config_file.h \
1121 $(srcdir)/util/net_help.h $(srcdir)/services/localzone.h $(srcdir)/services/cache/rrset.h \
1122 $(srcdir)/util/storage/slabhash.h $(srcdir)/services/cache/infra.h $(srcdir)/util/rtt.h
1123libunbound.lo libunbound.o: $(srcdir)/libunbound/libunbound.c $(srcdir)/libunbound/unbound.h config.h \
1124 $(srcdir)/libunbound/context.h $(srcdir)/util/locks.h $(srcdir)/util/log.h \
1125 $(srcdir)/util/alloc.h \
1126 $(srcdir)/util/rbtree.h $(srcdir)/services/modstack.h $(srcdir)/util/data/packed_rrset.h \
1127 $(srcdir)/util/storage/lruhash.h \
1128 $(srcdir)/libunbound/libworker.h \
1129 $(srcdir)/util/config_file.h $(srcdir)/util/module.h $(srcdir)/util/data/msgreply.h \
1130 $(srcdir)/util/data/msgparse.h \
1131 $(srcdir)/util/regional.h $(srcdir)/util/random.h $(srcdir)/util/net_help.h $(srcdir)/util/tube.h \
1132 $(srcdir)/services/localzone.h $(srcdir)/services/cache/infra.h $(srcdir)/util/rtt.h \
1133 $(srcdir)/services/cache/rrset.h $(srcdir)/util/storage/slabhash.h
1134libworker.lo libworker.o: $(srcdir)/libunbound/libworker.c config.h \
1135 $(srcdir)/libunbound/libworker.h $(srcdir)/util/data/packed_rrset.h $(srcdir)/util/storage/lruhash.h \
1136 $(srcdir)/util/locks.h $(srcdir)/util/log.h $(srcdir)/libunbound/context.h $(srcdir)/util/alloc.h $(srcdir)/util/rbtree.h \
1137 $(srcdir)/services/modstack.h $(srcdir)/libunbound/unbound.h $(srcdir)/services/outside_network.h \
1138 $(srcdir)/util/netevent.h $(srcdir)/services/mesh.h $(srcdir)/util/data/msgparse.h $(srcdir)/util/module.h \
1139 $(srcdir)/util/data/msgreply.h $(srcdir)/services/localzone.h $(srcdir)/services/cache/rrset.h \
1140 $(srcdir)/util/storage/slabhash.h $(srcdir)/services/outbound_list.h $(srcdir)/util/regional.h \
1141 $(srcdir)/util/random.h $(srcdir)/util/config_file.h $(srcdir)/util/storage/lookup3.h $(srcdir)/util/net_help.h \
1142 $(srcdir)/util/data/dname.h $(srcdir)/util/data/msgencode.h $(srcdir)/util/tube.h $(srcdir)/iterator/iter_fwd.h \
1143 $(srcdir)/iterator/iter_hints.h $(srcdir)/util/storage/dnstree.h
1144unbound-host.lo unbound-host.o: $(srcdir)/smallapp/unbound-host.c config.h $(srcdir)/libunbound/unbound.h \
1145 
1146asynclook.lo asynclook.o: $(srcdir)/testcode/asynclook.c config.h $(srcdir)/libunbound/unbound.h \
1147 $(srcdir)/libunbound/context.h $(srcdir)/util/locks.h $(srcdir)/util/log.h \
1148 $(srcdir)/util/alloc.h \
1149 $(srcdir)/util/rbtree.h $(srcdir)/services/modstack.h $(srcdir)/util/data/packed_rrset.h \
1150 $(srcdir)/util/storage/lruhash.h \
1151 
1152streamtcp.lo streamtcp.o: $(srcdir)/testcode/streamtcp.c config.h \
1153 $(srcdir)/util/locks.h $(srcdir)/util/log.h \
1154 $(srcdir)/util/net_help.h $(srcdir)/util/data/msgencode.h $(srcdir)/util/data/msgparse.h \
1155 $(srcdir)/util/storage/lruhash.h $(srcdir)/util/data/msgreply.h $(srcdir)/util/data/packed_rrset.h \
1156 $(srcdir)/util/data/dname.h \
1157 
1158perf.lo perf.o: $(srcdir)/testcode/perf.c config.h \
1159 $(srcdir)/util/log.h $(srcdir)/util/locks.h \
1160 $(srcdir)/util/net_help.h $(srcdir)/util/data/msgencode.h $(srcdir)/util/data/msgreply.h \
1161 $(srcdir)/util/storage/lruhash.h $(srcdir)/util/data/packed_rrset.h $(srcdir)/util/data/msgparse.h
1162delayer.lo delayer.o: $(srcdir)/testcode/delayer.c config.h $(srcdir)/util/net_help.h $(srcdir)/util/log.h \
1163 $(srcdir)/util/config_file.h
1164harvest.lo harvest.o: $(srcdir)/testcode/harvest.c config.h \
1165 $(srcdir)/libunbound/unbound.h
1166unbound-control.lo unbound-control.o: $(srcdir)/smallapp/unbound-control.c config.h \
1167 $(srcdir)/util/log.h \
1168 $(srcdir)/util/config_file.h \
1169 $(srcdir)/util/locks.h $(srcdir)/util/net_help.h
1170unbound-anchor.lo unbound-anchor.o: $(srcdir)/smallapp/unbound-anchor.c config.h $(srcdir)/libunbound/unbound.h \
1171 
1172petal.lo petal.o: $(srcdir)/testcode/petal.c config.h \
1173 
1174pythonmod_utils.lo pythonmod_utils.o: $(srcdir)/pythonmod/pythonmod_utils.c config.h $(srcdir)/util/module.h \
1175 $(srcdir)/util/storage/lruhash.h $(srcdir)/util/locks.h $(srcdir)/util/log.h \
1176 $(srcdir)/util/data/msgreply.h \
1177 $(srcdir)/util/data/packed_rrset.h \
1178 $(srcdir)/util/data/msgparse.h \
1179 $(srcdir)/util/netevent.h \
1180 $(srcdir)/util/net_help.h $(srcdir)/services/cache/dns.h $(srcdir)/services/cache/rrset.h \
1181 $(srcdir)/util/storage/slabhash.h $(srcdir)/util/regional.h
1182win_svc.lo win_svc.o: $(srcdir)/winrc/win_svc.c config.h $(srcdir)/winrc/win_svc.h $(srcdir)/winrc/w_inst.h \
1183 $(srcdir)/daemon/daemon.h $(srcdir)/util/locks.h $(srcdir)/util/log.h \
1184 $(srcdir)/util/alloc.h \
1185 $(srcdir)/services/modstack.h $(srcdir)/daemon/worker.h $(srcdir)/util/netevent.h $(srcdir)/util/data/msgreply.h \
1186 $(srcdir)/util/storage/lruhash.h $(srcdir)/util/data/packed_rrset.h \
1187 $(srcdir)/util/data/msgparse.h \
1188 $(srcdir)/daemon/stats.h \
1189 $(srcdir)/util/timehist.h $(srcdir)/util/module.h $(srcdir)/daemon/remote.h \
1190 $(srcdir)/util/config_file.h $(srcdir)/util/winsock_event.h
1191w_inst.lo w_inst.o: $(srcdir)/winrc/w_inst.c config.h $(srcdir)/winrc/w_inst.h $(srcdir)/winrc/win_svc.h
1192unbound-service-install.lo unbound-service-install.o: $(srcdir)/winrc/unbound-service-install.c config.h \
1193 $(srcdir)/winrc/w_inst.h
1194unbound-service-remove.lo unbound-service-remove.o: $(srcdir)/winrc/unbound-service-remove.c config.h \
1195 $(srcdir)/winrc/w_inst.h
1196anchor-update.lo anchor-update.o: $(srcdir)/winrc/anchor-update.c config.h \
1197 $(srcdir)/libunbound/unbound.h
1198ctime_r.lo ctime_r.o: $(srcdir)/compat/ctime_r.c config.h $(srcdir)/util/locks.h $(srcdir)/util/log.h \
1199 
1200fake-rfc2553.lo fake-rfc2553.o: $(srcdir)/compat/fake-rfc2553.c $(srcdir)/compat/fake-rfc2553.h config.h
1201gmtime_r.lo gmtime_r.o: $(srcdir)/compat/gmtime_r.c config.h
1202inet_aton.lo inet_aton.o: $(srcdir)/compat/inet_aton.c config.h
1203inet_ntop.lo inet_ntop.o: $(srcdir)/compat/inet_ntop.c config.h
1204inet_pton.lo inet_pton.o: $(srcdir)/compat/inet_pton.c config.h
1205malloc.lo malloc.o: $(srcdir)/compat/malloc.c config.h
1206memcmp.lo memcmp.o: $(srcdir)/compat/memcmp.c config.h
1207memmove.lo memmove.o: $(srcdir)/compat/memmove.c config.h
1208snprintf.lo snprintf.o: $(srcdir)/compat/snprintf.c config.h
1209strlcpy.lo strlcpy.o: $(srcdir)/compat/strlcpy.c config.h
1210strptime.lo strptime.o: $(srcdir)/compat/strptime.c config.h
1211