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