]>
Commit | Line | Data |
---|---|---|
c57747c8 | 1 | AM_CPPFLAGS += \ |
bf6dc747 | 2 | -I$(top_srcdir)/ext/json11 \ |
d4cc4c4a | 3 | -I$(top_srcdir)/ext/rapidjson/include \ |
f76ef2b9 | 4 | $(YAHTTP_CFLAGS) \ |
8cb5dea2 | 5 | $(MBEDTLS_CFLAGS) |
c57747c8 RK |
6 | |
7 | AM_CXXFLAGS = \ | |
8 | -DSYSCONFDIR=\"$(sysconfdir)\" \ | |
9 | -DPKGLIBDIR=\"$(pkglibdir)\" \ | |
f76ef2b9 | 10 | -DLOCALSTATEDIR=\"$(socketdir)\" |
e53a4bf6 | 11 | |
b2053c28 RK |
12 | AM_LDFLAGS = \ |
13 | $(PROGRAM_LDFLAGS) \ | |
14 | $(THREADFLAGS) | |
15 | ||
2a4f2b86 | 16 | AM_LFLAGS = -i |
e53a4bf6 | 17 | AM_YFLAGS = -d --verbose --debug |
cc8915f3 | 18 | |
b7fd9b55 BH |
19 | if BOTAN110 |
20 | AM_CPPFLAGS += $(BOTAN110_CFLAGS) | |
21 | endif | |
22 | ||
23 | if BOTAN18 | |
24 | AM_CPPFLAGS += $(BOTAN18_CFLAGS) | |
25 | endif | |
26 | ||
8daea594 AT |
27 | if PKCS11 |
28 | AM_CPPFLAGS += $(P11KIT1_CFLAGS) | |
29 | endif | |
30 | ||
9d6da5d7 RK |
31 | if SQLITE3 |
32 | AM_CPPFLAGS += $(SQLITE3_CFLAGS) | |
33 | endif | |
34 | ||
6e312f87 RK |
35 | if LUA |
36 | AM_CPPFLAGS +=$(LUA_CFLAGS) | |
37 | endif | |
38 | ||
0be816c0 AT |
39 | if GSS_TSIG |
40 | AM_CPPFLAGS +=$(GSS_CFLAGS) | |
41 | endif | |
42 | ||
c57747c8 RK |
43 | EXTRA_DIST = \ |
44 | dnslabeltext.rl \ | |
45 | dnslabeltext.cc \ | |
a2f95ac7 | 46 | effective_tld_names.dat \ |
c57747c8 RK |
47 | mtasker.cc \ |
48 | inflighter.cc \ | |
c57747c8 RK |
49 | bind-dnssec.schema.sqlite3.sql \ |
50 | bindparser.h \ | |
1dd6c3a3 | 51 | named.conf.parsertest \ |
9324d947 | 52 | pdns.conf-dist \ |
02909b00 PL |
53 | dnsdistdist/html \ |
54 | delaypipe.hh delaypipe.cc | |
c57747c8 | 55 | |
c57747c8 RK |
56 | BUILT_SOURCES = \ |
57 | bind-dnssec.schema.sqlite3.sql.h \ | |
1f132876 | 58 | bindparser.h htmlfiles.h |
c57747c8 | 59 | |
366c610a | 60 | CLEANFILES = \ |
366c610a RK |
61 | *.gcda \ |
62 | *.gcno \ | |
63 | *.gcov \ | |
64 | backends/gsql/gsqlbackend.gcda \ | |
65 | backends/gsql/gsqlbackend.gcno \ | |
66 | backends/gsql/gsqlbackend.gcov | |
20af48f2 | 67 | |
cd42e98f | 68 | noinst_SCRIPTS = pdns.init |
c57747c8 | 69 | sysconf_DATA = pdns.conf-dist |
12c86877 | 70 | |
c57747c8 RK |
71 | sbin_PROGRAMS = pdns_server |
72 | bin_PROGRAMS = \ | |
73 | pdns_control \ | |
74 | pdnssec \ | |
75 | zone2sql \ | |
c57747c8 | 76 | zone2json |
5b26bda1 PD |
77 | |
78 | if TOOLS | |
c57747c8 RK |
79 | bin_PROGRAMS += \ |
80 | dnsbulktest \ | |
53ea4fab | 81 | dnsgram \ |
c57747c8 RK |
82 | dnsreplay \ |
83 | dnsscan \ | |
84 | dnsscope \ | |
85 | dnstcpbench \ | |
86 | dnswasher \ | |
34eb951c | 87 | dumresp \ |
0cad3084 KM |
88 | notify \ |
89 | nproxy \ | |
c57747c8 | 90 | nsec3dig \ |
1801fa62 | 91 | saxfr \ |
aea0480e | 92 | ixplore \ |
1801fa62 | 93 | sdig |
4ab95bea RK |
94 | |
95 | if HAVE_RECVMMSG | |
96 | bin_PROGRAMS += calidns | |
97 | endif | |
98 | ||
2ead7159 BH |
99 | endif |
100 | ||
c57747c8 | 101 | EXTRA_PROGRAMS = \ |
7d8a5de7 | 102 | calidns \ |
c57747c8 RK |
103 | dnsbulktest \ |
104 | dnsdemog \ | |
105 | dnsdist \ | |
106 | dnsgram \ | |
107 | dnsreplay \ | |
108 | dnsscan \ | |
109 | dnsscope \ | |
110 | dnstcpbench \ | |
111 | dnswasher \ | |
c1e527e3 | 112 | dumresp \ |
fba1e944 | 113 | kvresp \ |
aea0480e | 114 | ixplore \ |
c57747c8 RK |
115 | notify \ |
116 | nproxy \ | |
117 | nsec3dig \ | |
118 | pdns_recursor \ | |
119 | rec_control \ | |
120 | saxfr \ | |
121 | sdig \ | |
122 | speedtest \ | |
123 | testrunner \ | |
124 | toysdig \ | |
125 | tsig-tests \ | |
9bc0d00a | 126 | zone2ldap |
c57747c8 RK |
127 | |
128 | pdns_server_SOURCES = \ | |
129 | arguments.cc arguments.hh \ | |
130 | auth-carbon.cc \ | |
131 | backends/gsql/gsqlbackend.cc backends/gsql/gsqlbackend.hh \ | |
132 | backends/gsql/ssql.hh \ | |
133 | base32.cc base32.hh \ | |
134 | base64.cc base64.hh \ | |
135 | bind-dnssec.schema.sqlite3.sql.h \ | |
45a82484 | 136 | bindlexer.l \ |
c57747c8 RK |
137 | bindparser.cc \ |
138 | cachecleaner.hh \ | |
139 | comment.hh \ | |
140 | common_startup.cc common_startup.hh \ | |
141 | communicator.cc communicator.hh \ | |
142 | dbdnsseckeeper.cc \ | |
143 | distributor.hh \ | |
144 | dns.cc dns.hh \ | |
145 | dns_random.cc dns_random.hh \ | |
146 | dnsbackend.cc dnsbackend.hh \ | |
147 | dnslabeltext.cc \ | |
d926c0da | 148 | dnsname.cc dnsname.hh \ |
c57747c8 RK |
149 | dnspacket.cc dnspacket.hh \ |
150 | dnsparser.cc \ | |
151 | dnsproxy.cc dnsproxy.hh \ | |
152 | dnsrecords.cc \ | |
153 | dnssecinfra.cc dnssecinfra.hh \ | |
154 | dnsseckeeper.hh \ | |
155 | dnssecsigner.cc \ | |
156 | dnswriter.cc \ | |
157 | dynhandler.cc dynhandler.hh \ | |
158 | dynlistener.cc dynlistener.hh \ | |
159 | dynmessenger.hh \ | |
160 | ednssubnet.cc ednssubnet.hh \ | |
0be816c0 | 161 | gss_context.cc gss_context.hh \ |
3e3f0358 | 162 | iputils.cc iputils.hh \ |
c57747c8 RK |
163 | json.cc json.hh \ |
164 | lock.hh \ | |
165 | logger.cc logger.hh \ | |
166 | lua-auth.cc lua-auth.hh \ | |
b0ed8f1a | 167 | lua-pdns.cc lua-iputils.cc \ |
c57747c8 | 168 | mastercommunicator.cc \ |
b54ccdb3 | 169 | mbedtlscompat.hh \ |
c57747c8 RK |
170 | md5.hh \ |
171 | misc.cc misc.hh \ | |
172 | nameserver.cc nameserver.hh \ | |
173 | namespaces.hh \ | |
174 | nsecrecords.cc \ | |
175 | packetcache.cc packetcache.hh \ | |
176 | packethandler.cc packethandler.hh \ | |
177 | pdnsexception.hh \ | |
8cb5dea2 | 178 | mbedtlssigners.cc \ |
c57747c8 RK |
179 | qtype.cc qtype.hh \ |
180 | randomhelper.cc \ | |
c8c88ac1 | 181 | rcpgenerator.cc \ |
c57747c8 RK |
182 | receiver.cc \ |
183 | resolver.cc resolver.hh \ | |
b552d7b1 | 184 | responsestats.cc responsestats.hh responsestats-auth.cc \ |
c57747c8 | 185 | rfc2136handler.cc \ |
199631c6 | 186 | secpoll-auth.cc secpoll-auth.hh \ |
c57747c8 RK |
187 | serialtweaker.cc \ |
188 | sha.hh \ | |
189 | signingpipe.cc signingpipe.hh \ | |
190 | sillyrecords.cc \ | |
191 | slavecommunicator.cc \ | |
192 | statbag.cc statbag.hh \ | |
193 | tcpreceiver.cc tcpreceiver.hh \ | |
59fa9228 | 194 | tkey.cc \ |
c57747c8 RK |
195 | ueberbackend.cc ueberbackend.hh \ |
196 | unix_semaphore.cc \ | |
197 | unix_utility.cc \ | |
198 | utility.hh \ | |
199 | version.cc version.hh \ | |
200 | webserver.cc webserver.hh \ | |
201 | ws-api.cc ws-api.hh \ | |
202 | ws-auth.cc ws-auth.hh \ | |
203 | zoneparser-tng.cc | |
204 | ||
c57747c8 | 205 | pdns_server_LDFLAGS = \ |
b2053c28 | 206 | $(AM_LDFLAGS) \ |
c57747c8 | 207 | $(DYNLINKFLAGS) \ |
94ac5f34 | 208 | $(BOOST_SERIALIZATION_LDFLAGS) |
c57747c8 RK |
209 | |
210 | pdns_server_LDADD = \ | |
211 | @moduleobjects@ \ | |
212 | @modulelibs@ \ | |
213 | $(LIBDL) \ | |
8cb5dea2 | 214 | $(MBEDTLS_LIBS) \ |
94ac5f34 | 215 | $(BOOST_SERIALIZATION_LIBS) \ |
c57747c8 | 216 | $(YAHTTP_LIBS) |
01804b2f | 217 | |
a11fe644 BH |
218 | if BOTAN110 |
219 | pdns_server_SOURCES += botan110signers.cc botansigners.cc | |
9569b753 | 220 | pdns_server_LDADD += $(BOTAN110_LIBS) |
022e5e0b | 221 | endif |
29ee6937 BH |
222 | |
223 | if BOTAN18 | |
f309dacd | 224 | pdns_server_SOURCES += botan18signers.cc botansigners.cc |
9569b753 | 225 | pdns_server_LDADD += $(BOTAN18_LIBS) |
29ee6937 BH |
226 | endif |
227 | ||
189bb9d2 BH |
228 | if CRYPTOPP |
229 | pdns_server_SOURCES += cryptoppsigners.cc | |
c093991d | 230 | pdns_server_LDADD += $(CRYPTOPP_LIBS) |
189bb9d2 BH |
231 | endif |
232 | ||
d4f29089 KM |
233 | if LIBSODIUM |
234 | pdns_server_SOURCES += sodiumsigners.cc | |
235 | pdns_server_LDADD += $(LIBSODIUM_LIBS) | |
236 | endif | |
237 | ||
32869e14 PD |
238 | if SQLITE3 |
239 | pdns_server_SOURCES += ssqlite3.cc ssqlite3.hh | |
9d6da5d7 | 240 | pdns_server_LDADD += $(SQLITE3_LIBS) |
32869e14 | 241 | endif |
1b8e5e6f PD |
242 | |
243 | if ORACLE | |
244 | pdns_server_LDADD += $(ORACLE_LIBS) | |
245 | endif | |
ba1a571d | 246 | |
8daea594 AT |
247 | if PKCS11 |
248 | pdns_server_SOURCES += pkcs11signers.cc pkcs11signers.hh | |
249 | pdns_server_LDADD += $(P11KIT1_LIBS) | |
250 | endif | |
251 | ||
6e312f87 RK |
252 | if LUA |
253 | pdns_server_LDADD += $(LUA_LIBS) | |
254 | endif | |
255 | ||
0be816c0 AT |
256 | if GSS_TSIG |
257 | pdns_server_LDADD += $(GSS_LIBS) | |
258 | endif | |
259 | ||
c57747c8 RK |
260 | pdnssec_SOURCES = \ |
261 | arguments.cc \ | |
262 | backends/gsql/gsqlbackend.cc backends/gsql/gsqlbackend.hh \ | |
263 | backends/gsql/ssql.hh \ | |
264 | base32.cc \ | |
265 | base64.cc base64.hh \ | |
45a82484 RK |
266 | bindlexer.l \ |
267 | bindparser.yy \ | |
c57747c8 RK |
268 | cachecleaner.hh \ |
269 | dbdnsseckeeper.cc \ | |
270 | dnsbackend.cc \ | |
271 | dns.cc \ | |
272 | dnslabeltext.cc \ | |
d926c0da | 273 | dnsname.cc dnsname.hh \ |
c57747c8 RK |
274 | dnspacket.cc \ |
275 | dnsparser.cc dnsparser.hh \ | |
276 | dns_random.cc \ | |
277 | dnsrecords.cc \ | |
278 | dnssecinfra.cc dnssecinfra.hh \ | |
279 | dnssecsigner.cc \ | |
280 | dnswriter.cc dnswriter.hh \ | |
281 | dynlistener.cc \ | |
282 | ednssubnet.cc \ | |
85ecd52e | 283 | gss_context.cc gss_context.hh \ |
a07a14eb | 284 | iputils.cc iputils.hh \ |
c57747c8 RK |
285 | json.cc \ |
286 | logger.cc \ | |
b54ccdb3 | 287 | mbedtlscompat.hh \ |
c57747c8 RK |
288 | misc.cc misc.hh \ |
289 | nsecrecords.cc \ | |
290 | packetcache.cc \ | |
291 | pdnssec.cc \ | |
8cb5dea2 | 292 | mbedtlssigners.cc \ |
c57747c8 RK |
293 | qtype.cc \ |
294 | randomhelper.cc \ | |
295 | rcpgenerator.cc rcpgenerator.hh \ | |
296 | serialtweaker.cc \ | |
297 | signingpipe.cc \ | |
298 | sillyrecords.cc \ | |
299 | sstuff.hh \ | |
300 | statbag.cc \ | |
301 | ueberbackend.cc \ | |
302 | unix_utility.cc \ | |
303 | zoneparser-tng.cc | |
304 | ||
305 | pdnssec_LDFLAGS = \ | |
b2053c28 | 306 | $(AM_LDFLAGS) \ |
c57747c8 | 307 | $(DYNLINKFLAGS) \ |
94ac5f34 PD |
308 | $(BOOST_PROGRAM_OPTIONS_LDFLAGS) \ |
309 | $(BOOST_SERIALIZATION_LDFLAGS) | |
c57747c8 RK |
310 | |
311 | pdnssec_LDADD = \ | |
312 | @moduleobjects@ \ | |
313 | @modulelibs@ \ | |
314 | $(LIBDL) \ | |
8cb5dea2 | 315 | $(MBEDTLS_LIBS) \ |
94ac5f34 PD |
316 | $(BOOST_PROGRAM_OPTIONS_LIBS) \ |
317 | $(BOOST_SERIALIZATION_LIBS) \ | |
c57747c8 RK |
318 | $(YAHTTP_LIBS) |
319 | ||
4771024d RK |
320 | if BOTAN110 |
321 | pdnssec_SOURCES += botan110signers.cc botansigners.cc | |
9569b753 | 322 | pdnssec_LDADD += $(BOTAN110_LIBS) |
4771024d RK |
323 | endif |
324 | ||
325 | if BOTAN18 | |
326 | pdnssec_SOURCES += botan18signers.cc botansigners.cc | |
9569b753 | 327 | pdnssec_LDADD += $(BOTAN18_LIBS) |
4771024d RK |
328 | endif |
329 | ||
330 | if CRYPTOPP | |
331 | pdnssec_SOURCES += cryptoppsigners.cc | |
e352b3b3 | 332 | pdnssec_LDADD += $(CRYPTOPP_LIBS) |
4771024d RK |
333 | endif |
334 | ||
d4f29089 KM |
335 | if LIBSODIUM |
336 | pdnssec_SOURCES += sodiumsigners.cc | |
337 | pdnssec_LDADD += $(LIBSODIUM_LIBS) | |
338 | endif | |
339 | ||
4771024d RK |
340 | if SQLITE3 |
341 | pdnssec_SOURCES += ssqlite3.cc ssqlite3.hh | |
342 | pdnssec_LDADD += $(SQLITE3_LIBS) | |
343 | endif | |
344 | ||
345 | if ORACLE | |
346 | pdnssec_LDADD += $(ORACLE_LIBS) | |
347 | endif | |
348 | ||
349 | if PKCS11 | |
350 | pdnssec_SOURCES += pkcs11signers.cc pkcs11signers.hh | |
351 | pdnssec_LDADD += $(P11KIT1_LIBS) | |
352 | endif | |
353 | ||
0be816c0 AT |
354 | if GSS_TSIG |
355 | pdnssec_LDADD += $(GSS_LIBS) | |
356 | endif | |
357 | ||
c57747c8 RK |
358 | zone2sql_SOURCES = \ |
359 | arguments.cc \ | |
360 | base32.cc \ | |
361 | base64.cc \ | |
362 | bind-dnssec.schema.sqlite3.sql.h \ | |
363 | bindlexer.l \ | |
364 | bindparser.yy \ | |
365 | bindparserclasses.hh \ | |
366 | dns.cc \ | |
367 | dns_random.cc \ | |
d926c0da | 368 | dnsname.cc dnsname.hh \ |
c57747c8 RK |
369 | dnslabeltext.cc \ |
370 | dnsparser.cc \ | |
371 | dnsrecords.cc \ | |
372 | dnswriter.cc \ | |
373 | json.cc json.hh \ | |
374 | logger.cc \ | |
375 | misc.cc \ | |
376 | nsecrecords.cc \ | |
377 | qtype.cc \ | |
378 | rcpgenerator.cc \ | |
379 | sillyrecords.cc \ | |
380 | statbag.cc \ | |
381 | unix_utility.cc \ | |
382 | zone2sql.cc \ | |
383 | zoneparser-tng.cc | |
384 | ||
8cb5dea2 | 385 | zone2sql_LDADD = $(MBEDTLS_LIBS) |
c57747c8 RK |
386 | |
387 | zone2json_SOURCES = \ | |
388 | arguments.cc \ | |
389 | base32.cc \ | |
390 | base64.cc \ | |
391 | bind-dnssec.schema.sqlite3.sql.h \ | |
392 | bindlexer.l \ | |
393 | bindparser.yy \ | |
394 | bindparserclasses.hh \ | |
395 | dnslabeltext.cc \ | |
d926c0da | 396 | dnsname.cc dnsname.hh \ |
c57747c8 RK |
397 | dnsparser.cc \ |
398 | dnsrecords.cc \ | |
399 | dnswriter.cc \ | |
400 | logger.cc \ | |
401 | misc.cc \ | |
402 | nsecrecords.cc \ | |
403 | qtype.cc \ | |
404 | rcpgenerator.cc \ | |
405 | sillyrecords.cc \ | |
406 | statbag.cc \ | |
407 | unix_utility.cc \ | |
408 | zone2json.cc \ | |
409 | zoneparser-tng.cc | |
410 | ||
8cb5dea2 | 411 | zone2json_LDADD = $(MBEDTLS_LIBS) -L$(top_srcdir)/ext/json11 -ljson11 |
c57747c8 | 412 | |
b0ed8f1a | 413 | # pkglib_LTLIBRARIES = iputils.la |
c8c88ac1 | 414 | # iputils_la_SOURCES = lua-iputils.cc |
b0ed8f1a | 415 | # iputils_la_LDFLAGS= -module -avoid-version |
416 | ||
b63843d9 RK |
417 | if LDAP |
418 | bin_PROGRAMS += zone2ldap | |
419 | endif | |
420 | ||
c57747c8 RK |
421 | zone2ldap_SOURCES = \ |
422 | arguments.cc \ | |
423 | base32.cc \ | |
424 | base64.cc \ | |
425 | bind-dnssec.schema.sqlite3.sql.h \ | |
426 | bindlexer.l \ | |
427 | bindparser.yy \ | |
428 | bindparserclasses.hh \ | |
429 | dns_random.cc \ | |
d926c0da | 430 | dnsname.cc dnsname.hh \ |
c57747c8 RK |
431 | dnslabeltext.cc \ |
432 | dnsparser.cc \ | |
433 | dnsrecords.cc \ | |
434 | dnswriter.cc \ | |
435 | logger.cc \ | |
436 | misc.cc \ | |
437 | nsecrecords.cc \ | |
438 | qtype.cc \ | |
439 | rcpgenerator.cc \ | |
440 | sillyrecords.cc \ | |
441 | statbag.cc \ | |
442 | unix_utility.cc \ | |
443 | zone2ldap.cc \ | |
444 | zoneparser-tng.cc | |
445 | ||
8cb5dea2 | 446 | zone2ldap_LDADD = $(MBEDTLS_LIBS) |
e53a4bf6 | 447 | |
c57747c8 RK |
448 | sdig_SOURCES = \ |
449 | base32.cc \ | |
450 | base64.cc base64.hh \ | |
a7d9ffb3 | 451 | dns.cc \ |
c57747c8 | 452 | dnslabeltext.cc \ |
d926c0da | 453 | dnsname.cc dnsname.hh \ |
c57747c8 RK |
454 | dnsparser.cc dnsparser.hh \ |
455 | dnsrecords.cc \ | |
456 | dnswriter.cc dnswriter.hh \ | |
a7d9ffb3 | 457 | ednssubnet.cc \ |
c57747c8 | 458 | logger.cc \ |
b54ccdb3 | 459 | mbedtlscompat.hh \ |
c57747c8 RK |
460 | misc.cc misc.hh \ |
461 | nsecrecords.cc \ | |
462 | qtype.cc \ | |
463 | rcpgenerator.cc rcpgenerator.hh \ | |
464 | sdig.cc \ | |
465 | sillyrecords.cc \ | |
466 | sstuff.hh \ | |
467 | statbag.cc \ | |
468 | unix_utility.cc | |
469 | ||
8cb5dea2 | 470 | sdig_LDADD = $(MBEDTLS_LIBS) |
48836055 | 471 | |
7d8a5de7 | 472 | calidns_SOURCES = \ |
473 | base32.cc \ | |
474 | base64.cc base64.hh \ | |
475 | calidns.cc \ | |
476 | dnslabeltext.cc \ | |
d926c0da | 477 | dnsname.cc dnsname.hh \ |
7d8a5de7 | 478 | dnsparser.cc dnsparser.hh \ |
479 | dnsrecords.cc \ | |
480 | dnswriter.cc dnswriter.hh \ | |
c1e527e3 | 481 | iputils.cc \ |
7d8a5de7 | 482 | logger.cc \ |
b54ccdb3 | 483 | mbedtlscompat.hh \ |
7d8a5de7 | 484 | misc.cc misc.hh \ |
485 | nsecrecords.cc \ | |
486 | qtype.cc \ | |
487 | rcpgenerator.cc rcpgenerator.hh \ | |
488 | sillyrecords.cc \ | |
489 | sstuff.hh \ | |
490 | statbag.cc \ | |
491 | unix_utility.cc | |
492 | ||
8cb5dea2 | 493 | calidns_LDADD = $(MBEDTLS_LIBS) |
7d8a5de7 | 494 | calidns_LDFLAGS=$(THREADFLAGS) |
495 | ||
c1e527e3 | 496 | dumresp_SOURCES = \ |
dd9a15db PL |
497 | dnslabeltext.cc \ |
498 | dnsname.cc dnsname.hh \ | |
c1e527e3 | 499 | dumresp.cc \ |
500 | logger.cc \ | |
501 | misc.cc misc.hh \ | |
502 | statbag.cc \ | |
503 | unix_utility.cc \ | |
504 | qtype.cc | |
505 | ||
fba1e944 | 506 | kvresp_SOURCES = \ |
507 | dnslabeltext.cc dnsname.cc dnsname.hh \ | |
508 | kvresp.cc \ | |
509 | logger.cc \ | |
510 | misc.cc misc.hh \ | |
511 | statbag.cc \ | |
512 | unix_utility.cc \ | |
513 | qtype.cc | |
7d8a5de7 | 514 | |
c57747c8 RK |
515 | saxfr_SOURCES = \ |
516 | base32.cc \ | |
517 | base64.cc base64.hh \ | |
7bb372d2 | 518 | dns_random.cc dns_random.hh \ |
c57747c8 | 519 | dnslabeltext.cc \ |
d926c0da | 520 | dnsname.cc dnsname.hh \ |
c57747c8 RK |
521 | dnsparser.cc dnsparser.hh \ |
522 | dnsrecords.cc \ | |
523 | dnssecinfra.cc \ | |
524 | dnswriter.cc dnswriter.hh \ | |
85ecd52e | 525 | gss_context.cc gss_context.hh \ |
c57747c8 | 526 | logger.cc \ |
b54ccdb3 | 527 | mbedtlscompat.hh \ |
c57747c8 RK |
528 | misc.cc misc.hh \ |
529 | nsecrecords.cc \ | |
530 | qtype.cc \ | |
531 | rcpgenerator.cc rcpgenerator.hh \ | |
532 | saxfr.cc \ | |
533 | sillyrecords.cc \ | |
534 | sstuff.hh \ | |
535 | statbag.cc \ | |
536 | unix_utility.cc | |
12c86877 | 537 | |
8cb5dea2 | 538 | saxfr_LDADD = $(MBEDTLS_LIBS) |
3f6fa55d | 539 | |
70f0f8c4 | 540 | if PKCS11 |
c8c88ac1 | 541 | saxfr_SOURCES += pkcs11signers.cc pkcs11signers.hh |
70f0f8c4 AT |
542 | saxfr_LDADD += $(P11KIT1_LIBS) |
543 | endif | |
df82962d | 544 | |
0be816c0 AT |
545 | if GSS_TSIG |
546 | saxfr_LDADD += $(GSS_LIBS) | |
547 | endif | |
548 | ||
aea0480e | 549 | |
550 | ixplore_SOURCES = \ | |
18ca5fa4 | 551 | arguments.cc \ |
aea0480e | 552 | base32.cc \ |
553 | base64.cc base64.hh \ | |
18ca5fa4 | 554 | dns.cc \ |
aea0480e | 555 | dns_random.cc dns_random.hh \ |
556 | dnslabeltext.cc \ | |
557 | dnsname.cc dnsname.hh \ | |
558 | dnsparser.cc dnsparser.hh \ | |
559 | dnsrecords.cc \ | |
560 | dnssecinfra.cc \ | |
561 | dnswriter.cc dnswriter.hh \ | |
562 | gss_context.cc gss_context.hh \ | |
563 | logger.cc \ | |
564 | mbedtlscompat.hh \ | |
565 | misc.cc misc.hh \ | |
566 | nsecrecords.cc \ | |
567 | qtype.cc \ | |
568 | rcpgenerator.cc rcpgenerator.hh \ | |
18ca5fa4 | 569 | resolver.cc \ |
39ec5d29 | 570 | ixfr.cc ixfr.hh \ |
aea0480e | 571 | ixplore.cc \ |
572 | sillyrecords.cc \ | |
573 | sstuff.hh \ | |
574 | statbag.cc \ | |
7cc1c350 | 575 | unix_utility.cc zoneparser-tng.cc |
aea0480e | 576 | |
577 | ixplore_LDADD = $(MBEDTLS_LIBS) | |
578 | ||
51465d00 | 579 | if PKCS11 |
580 | ixplore_SOURCES += pkcs11signers.cc pkcs11signers.hh | |
581 | ixplore_LDADD += $(P11KIT1_LIBS) | |
582 | endif | |
583 | ||
584 | if GSS_TSIG | |
585 | ixplore_LDADD += $(GSS_LIBS) | |
586 | endif | |
aea0480e | 587 | |
588 | ||
c57747c8 RK |
589 | dnstcpbench_SOURCES = \ |
590 | base32.cc \ | |
591 | base64.cc base64.hh \ | |
592 | dnslabeltext.cc \ | |
d926c0da | 593 | dnsname.cc dnsname.hh \ |
c57747c8 RK |
594 | dnsparser.cc dnsparser.hh \ |
595 | dnsrecords.cc \ | |
596 | dnstcpbench.cc \ | |
597 | dnswriter.cc dnswriter.hh \ | |
598 | logger.cc \ | |
b54ccdb3 | 599 | mbedtlscompat.hh \ |
c57747c8 RK |
600 | misc.cc misc.hh \ |
601 | nsecrecords.cc \ | |
602 | qtype.cc \ | |
603 | rcpgenerator.cc rcpgenerator.hh \ | |
604 | sillyrecords.cc \ | |
605 | sstuff.hh \ | |
606 | statbag.cc \ | |
607 | unix_utility.cc | |
608 | ||
48836055 | 609 | dnstcpbench_LDFLAGS = \ |
b2053c28 | 610 | $(AM_LDFLAGS) \ |
48836055 KM |
611 | $(BOOST_PROGRAM_OPTIONS_LDFLAGS) |
612 | ||
613 | dnstcpbench_LDADD = \ | |
8cb5dea2 | 614 | $(MBEDTLS_LIBS) \ |
48836055 | 615 | $(BOOST_PROGRAM_OPTIONS_LIBS) |
c57747c8 RK |
616 | |
617 | dnsdist_SOURCES = \ | |
618 | base32.cc \ | |
432cc166 | 619 | base64.hh \ |
c57747c8 | 620 | dnsdist.cc \ |
42fae326 | 621 | dnsdist-carbon.cc \ |
df111b53 | 622 | dnsdist-lua.cc \ |
8a5d5053 | 623 | dnsdist-tcp.cc \ |
50bed881 | 624 | dnsdist-web.cc \ |
c57747c8 | 625 | dnslabeltext.cc \ |
3c115e0f | 626 | dnsname.cc dnsname.hh \ |
cffde2fd | 627 | dnswriter.cc \ |
07826ac2 | 628 | dolog.hh \ |
c57747c8 | 629 | iputils.cc \ |
b1543717 | 630 | htmlfiles.h \ |
b54ccdb3 | 631 | mbedtlscompat.hh \ |
c57747c8 | 632 | misc.cc misc.hh \ |
c57747c8 | 633 | qtype.cc \ |
ecbe9133 | 634 | sholder.hh \ |
6d01c80c | 635 | sodcrypto.cc sodcrypto.hh \ |
50bed881 | 636 | sstuff.hh \ |
ff23976b | 637 | ../ext/json11/json11.cpp |
c57747c8 | 638 | |
48836055 | 639 | dnsdist_LDFLAGS = \ |
7cc68f53 | 640 | $(AM_LDFLAGS) |
48836055 KM |
641 | |
642 | dnsdist_LDADD = \ | |
a6158e7a RK |
643 | $(LUA_LIBS) \ |
644 | $(READLINE_LIBS) \ | |
645 | $(RT_LIBS) \ | |
646 | $(YAHTTP_LIBS) \ | |
16cb8ee9 | 647 | $(LIBSODIUM_LIBS) |
c57747c8 RK |
648 | |
649 | nsec3dig_SOURCES = \ | |
650 | base32.cc \ | |
651 | base64.cc base64.hh \ | |
d926c0da | 652 | dnsname.cc dnsname.hh \ |
c57747c8 RK |
653 | dnslabeltext.cc \ |
654 | dnsparser.cc dnsparser.hh \ | |
655 | dnsrecords.cc \ | |
656 | dnssecinfra.cc \ | |
657 | dnswriter.cc dnswriter.hh \ | |
b54ccdb3 | 658 | gss_context.cc gss_context.hh \ |
c57747c8 | 659 | logger.cc \ |
b54ccdb3 | 660 | mbedtlscompat.hh \ |
c57747c8 RK |
661 | misc.cc misc.hh \ |
662 | nsec3dig.cc \ | |
663 | nsecrecords.cc \ | |
664 | qtype.cc \ | |
665 | rcpgenerator.cc rcpgenerator.hh \ | |
666 | sillyrecords.cc \ | |
667 | sstuff.hh \ | |
668 | statbag.cc \ | |
669 | unix_utility.cc | |
670 | ||
8cb5dea2 | 671 | nsec3dig_LDADD = $(MBEDTLS_LIBS) |
54ebc117 | 672 | |
70f0f8c4 | 673 | if PKCS11 |
c8c88ac1 | 674 | nsec3dig_SOURCES += pkcs11signers.cc pkcs11signers.hh |
70f0f8c4 AT |
675 | nsec3dig_LDADD += $(P11KIT1_LIBS) |
676 | endif | |
e79e8a5b | 677 | |
0be816c0 AT |
678 | if GSS_TSIG |
679 | nsec3dig_LDADD += $(GSS_LIBS) | |
680 | endif | |
681 | ||
c57747c8 RK |
682 | toysdig_SOURCES = \ |
683 | base32.cc \ | |
684 | base64.cc base64.hh \ | |
685 | dns_random.cc \ | |
d926c0da | 686 | dnsname.cc dnsname.hh \ |
c57747c8 RK |
687 | dnslabeltext.cc \ |
688 | dnsparser.cc dnsparser.hh \ | |
689 | dnsrecords.cc \ | |
5bb846fe | 690 | dnssecinfra.cc \ |
c57747c8 RK |
691 | dnswriter.cc dnswriter.hh \ |
692 | ednssubnet.cc ednssubnet.hh \ | |
5bb846fe | 693 | gss_context.cc gss_context.hh \ |
c57747c8 | 694 | logger.cc \ |
b54ccdb3 | 695 | mbedtlscompat.hh \ |
5bb846fe | 696 | mbedtlssigners.cc \ |
c57747c8 RK |
697 | misc.cc misc.hh \ |
698 | nsecrecords.cc \ | |
699 | qtype.cc \ | |
700 | randomhelper.cc \ | |
701 | rcpgenerator.cc rcpgenerator.hh \ | |
702 | sillyrecords.cc \ | |
703 | sstuff.hh \ | |
704 | statbag.cc \ | |
705 | toysdig.cc \ | |
706 | unix_utility.cc | |
707 | ||
5bb846fe | 708 | |
8cb5dea2 | 709 | toysdig_LDADD = $(MBEDTLS_LIBS) |
5bb846fe | 710 | if GSS_TSIG |
711 | toysdig_LDADD += $(GSS_LIBS) | |
712 | endif | |
713 | ||
2cb98b9a | 714 | if BOTAN110 |
715 | toysdig_SOURCES += botan110signers.cc botansigners.cc | |
716 | toysdig_LDADD += $(BOTAN110_LIBS) | |
717 | endif | |
718 | ||
15ff8082 | 719 | if PKCS11 |
720 | toysdig_SOURCES += pkcs11signers.cc pkcs11signers.hh | |
721 | toysdig_LDADD += $(P11KIT1_LIBS) | |
722 | endif | |
723 | ||
c57747c8 RK |
724 | |
725 | tsig_tests_SOURCES = \ | |
726 | arguments.cc \ | |
727 | base32.cc \ | |
728 | base64.cc base64.hh \ | |
729 | dns.cc \ | |
730 | dns_random.cc dns_random.hh \ | |
731 | dnslabeltext.cc \ | |
d926c0da | 732 | dnsname.cc dnsname.hh \ |
c57747c8 RK |
733 | dnsparser.cc dnsparser.hh \ |
734 | dnsrecords.cc \ | |
735 | dnssecinfra.cc \ | |
736 | dnswriter.cc dnswriter.hh \ | |
0be816c0 | 737 | gss_context.cc gss_context.hh \ |
c57747c8 | 738 | logger.cc \ |
b54ccdb3 | 739 | mbedtlscompat.hh \ |
c57747c8 RK |
740 | misc.cc misc.hh \ |
741 | nsecrecords.cc \ | |
742 | qtype.cc \ | |
743 | randomhelper.cc \ | |
744 | rcpgenerator.cc rcpgenerator.hh \ | |
745 | resolver.cc \ | |
746 | sillyrecords.cc \ | |
747 | sstuff.hh \ | |
748 | statbag.cc \ | |
749 | tsig-tests.cc \ | |
750 | unix_utility.cc | |
751 | ||
8cb5dea2 | 752 | tsig_tests_LDADD = $(MBEDTLS_LIBS) |
9feed75b | 753 | |
70f0f8c4 | 754 | if PKCS11 |
c8c88ac1 | 755 | tsig_tests_SOURCES += pkcs11signers.cc pkcs11signers.hh |
70f0f8c4 AT |
756 | tsig_tests_LDADD += $(P11KIT1_LIBS) |
757 | endif | |
758 | ||
0be816c0 AT |
759 | if GSS_TSIG |
760 | tsig_tests_LDADD += $(GSS_LIBS) | |
761 | endif | |
c57747c8 RK |
762 | speedtest_SOURCES = \ |
763 | base32.cc \ | |
764 | base64.cc base64.hh \ | |
765 | dnslabeltext.cc \ | |
d926c0da | 766 | dnsname.cc dnsname.hh \ |
c57747c8 RK |
767 | dnsparser.cc dnsparser.hh \ |
768 | dnsrecords.cc \ | |
769 | dnswriter.cc dnswriter.hh \ | |
770 | logger.cc \ | |
b54ccdb3 | 771 | mbedtlscompat.hh \ |
c57747c8 RK |
772 | misc.cc misc.hh \ |
773 | nsecrecords.cc \ | |
774 | qtype.cc \ | |
775 | rcpgenerator.cc rcpgenerator.hh \ | |
776 | sillyrecords.cc \ | |
777 | speedtest.cc \ | |
778 | statbag.cc \ | |
779 | unix_utility.cc | |
780 | ||
8cb5dea2 | 781 | speedtest_LDADD = $(MBEDTLS_LIBS) \ |
bcd17c71 | 782 | $(RT_LIBS) |
48836055 | 783 | |
c57747c8 | 784 | dnswasher_SOURCES = \ |
857a2101 PL |
785 | dnslabeltext.cc \ |
786 | dnsname.hh dnsname.cc \ | |
c57747c8 RK |
787 | dnsparser.hh \ |
788 | dnspcap.cc dnspcap.hh \ | |
789 | dnswasher.cc \ | |
857a2101 | 790 | dnswriter.hh \ |
c57747c8 RK |
791 | logger.cc \ |
792 | misc.cc \ | |
793 | qtype.cc \ | |
794 | statbag.cc \ | |
795 | unix_utility.cc | |
796 | ||
c57747c8 RK |
797 | |
798 | dnsbulktest_SOURCES = \ | |
799 | base32.cc \ | |
800 | base64.cc \ | |
801 | dnsbulktest.cc \ | |
802 | dnslabeltext.cc \ | |
d926c0da | 803 | dnsname.cc dnsname.hh \ |
c57747c8 RK |
804 | dnsparser.cc \ |
805 | dnsrecords.cc \ | |
806 | dnswriter.cc \ | |
807 | logger.cc \ | |
808 | misc.cc \ | |
809 | nsecrecords.cc \ | |
810 | qtype.cc \ | |
811 | rcpgenerator.cc \ | |
812 | sillyrecords.cc \ | |
813 | statbag.cc \ | |
814 | unix_utility.cc | |
815 | ||
816 | dnsbulktest_LDFLAGS = \ | |
b2053c28 | 817 | $(AM_LDFLAGS) \ |
94ac5f34 | 818 | $(BOOST_PROGRAM_OPTIONS_LDFLAGS) |
c57747c8 | 819 | |
48836055 | 820 | dnsbulktest_LDADD = \ |
8cb5dea2 | 821 | $(MBEDTLS_LIBS) \ |
48836055 | 822 | $(BOOST_PROGRAM_OPTIONS_LIBS) |
c57747c8 RK |
823 | |
824 | dnsscan_SOURCES = \ | |
825 | anadns.hh \ | |
826 | base32.cc \ | |
827 | base64.cc base64.hh \ | |
828 | dnslabeltext.cc \ | |
d926c0da | 829 | dnsname.cc dnsname.hh \ |
c57747c8 RK |
830 | dnsparser.cc dnsparser.hh \ |
831 | dnspcap.cc dnspcap.hh \ | |
832 | dnsrecords.cc \ | |
833 | dnsscan.cc \ | |
834 | dnswriter.cc dnswriter.hh \ | |
835 | logger.cc \ | |
b54ccdb3 | 836 | mbedtlscompat.hh \ |
c57747c8 RK |
837 | misc.cc \ |
838 | nsecrecords.cc \ | |
839 | qtype.cc \ | |
840 | rcpgenerator.cc rcpgenerator.hh \ | |
841 | sillyrecords.cc \ | |
842 | statbag.cc \ | |
843 | unix_utility.cc \ | |
844 | utility.hh | |
845 | ||
8cb5dea2 | 846 | dnsscan_LDADD = $(MBEDTLS_LIBS) |
48836055 | 847 | |
c57747c8 RK |
848 | dnsreplay_SOURCES = \ |
849 | anadns.hh \ | |
850 | base32.cc \ | |
851 | base64.cc base64.hh \ | |
852 | dnslabeltext.cc \ | |
d926c0da | 853 | dnsname.cc dnsname.hh \ |
c57747c8 RK |
854 | dnsparser.cc dnsparser.hh \ |
855 | dnspcap.cc dnspcap.hh \ | |
856 | dnsrecords.cc \ | |
857 | dnsreplay.cc \ | |
858 | dnswriter.cc dnswriter.hh \ | |
859 | logger.cc \ | |
b54ccdb3 | 860 | mbedtlscompat.hh \ |
c57747c8 RK |
861 | misc.cc \ |
862 | nsecrecords.cc \ | |
863 | qtype.cc \ | |
864 | rcpgenerator.cc rcpgenerator.hh \ | |
865 | sillyrecords.cc \ | |
866 | statbag.cc \ | |
867 | unix_utility.cc \ | |
868 | utility.hh | |
869 | ||
870 | dnsreplay_LDFLAGS = \ | |
b2053c28 | 871 | $(AM_LDFLAGS) \ |
94ac5f34 | 872 | $(BOOST_PROGRAM_OPTIONS_LDFLAGS) |
c57747c8 | 873 | |
48836055 | 874 | dnsreplay_LDADD = \ |
8cb5dea2 | 875 | $(MBEDTLS_LIBS) \ |
48836055 | 876 | $(BOOST_PROGRAM_OPTIONS_LIBS) |
c57747c8 RK |
877 | |
878 | nproxy_SOURCES = \ | |
879 | base32.cc \ | |
880 | base64.cc base64.hh \ | |
881 | dnslabeltext.cc \ | |
d926c0da | 882 | dnsname.cc dnsname.hh \ |
c57747c8 RK |
883 | dnsparser.cc dnsparser.hh \ |
884 | dnsrecords.cc \ | |
885 | dnswriter.cc dnswriter.hh \ | |
886 | logger.cc \ | |
b54ccdb3 | 887 | mbedtlscompat.hh \ |
c57747c8 RK |
888 | misc.cc \ |
889 | mplexer.hh \ | |
890 | nproxy.cc \ | |
891 | nsecrecords.cc \ | |
892 | qtype.cc \ | |
893 | rcpgenerator.cc rcpgenerator.hh \ | |
894 | selectmplexer.cc \ | |
895 | sillyrecords.cc \ | |
896 | statbag.cc \ | |
897 | unix_utility.cc | |
898 | ||
899 | nproxy_LDFLAGS = \ | |
b2053c28 | 900 | $(AM_LDFLAGS) \ |
94ac5f34 | 901 | $(BOOST_PROGRAM_OPTIONS_LDFLAGS) |
c57747c8 | 902 | |
48836055 | 903 | nproxy_LDADD = \ |
8cb5dea2 | 904 | $(MBEDTLS_LIBS) \ |
48836055 | 905 | $(BOOST_PROGRAM_OPTIONS_LIBS) |
c57747c8 RK |
906 | |
907 | notify_SOURCES = \ | |
908 | arguments.cc \ | |
909 | base32.cc \ | |
910 | base64.cc base64.hh \ | |
911 | dns.cc \ | |
912 | dnslabeltext.cc \ | |
d926c0da | 913 | dnsname.cc dnsname.hh \ |
c57747c8 RK |
914 | dnsparser.cc dnsparser.hh \ |
915 | dnsrecords.cc \ | |
916 | dnswriter.cc dnswriter.hh \ | |
917 | logger.cc \ | |
b54ccdb3 | 918 | mbedtlscompat.hh \ |
c57747c8 RK |
919 | misc.cc \ |
920 | notify.cc \ | |
921 | nsecrecords.cc \ | |
922 | qtype.cc \ | |
923 | rcpgenerator.cc rcpgenerator.hh \ | |
924 | selectmplexer.cc \ | |
925 | sillyrecords.cc \ | |
926 | statbag.cc \ | |
927 | unix_utility.cc | |
928 | ||
929 | notify_LDFLAGS = \ | |
b2053c28 | 930 | $(AM_LDFLAGS) \ |
94ac5f34 | 931 | $(BOOST_PROGRAM_OPTIONS_LDFLAGS) |
c57747c8 | 932 | |
48836055 | 933 | notify_LDADD = \ |
8cb5dea2 | 934 | $(MBEDTLS_LIBS) \ |
48836055 | 935 | $(BOOST_PROGRAM_OPTIONS_LIBS) |
c57747c8 RK |
936 | |
937 | dnsscope_SOURCES = \ | |
938 | arguments.cc \ | |
939 | base32.cc \ | |
940 | base64.cc base64.hh \ | |
941 | dns.cc \ | |
942 | dnslabeltext.cc \ | |
d926c0da | 943 | dnsname.cc dnsname.hh \ |
c57747c8 RK |
944 | dnsparser.cc dnsparser.hh \ |
945 | dnspcap.cc dnspcap.hh \ | |
946 | dnsrecords.cc \ | |
947 | dnsscope.cc \ | |
948 | dnswriter.cc dnswriter.hh \ | |
949 | logger.cc \ | |
b54ccdb3 | 950 | mbedtlscompat.hh \ |
c57747c8 RK |
951 | misc.cc \ |
952 | nsecrecords.cc \ | |
953 | qtype.cc \ | |
954 | rcpgenerator.cc rcpgenerator.hh \ | |
955 | sillyrecords.cc \ | |
956 | statbag.cc \ | |
957 | unix_utility.cc \ | |
958 | utility.hh | |
959 | ||
960 | dnsscope_LDFLAGS = \ | |
b2053c28 | 961 | $(AM_LDFLAGS) \ |
94ac5f34 | 962 | $(BOOST_PROGRAM_OPTIONS_LDFLAGS) |
c57747c8 | 963 | |
48836055 | 964 | dnsscope_LDADD = \ |
8cb5dea2 | 965 | $(MBEDTLS_LIBS) \ |
48836055 | 966 | $(BOOST_PROGRAM_OPTIONS_LIBS) |
c57747c8 RK |
967 | |
968 | dnsgram_SOURCES = \ | |
969 | base32.cc \ | |
970 | base64.cc base64.hh \ | |
971 | dnsgram.cc \ | |
972 | dnslabeltext.cc \ | |
d926c0da | 973 | dnsname.cc dnsname.hh \ |
c57747c8 RK |
974 | dnsparser.cc dnsparser.hh \ |
975 | dnspcap.cc dnspcap.hh \ | |
976 | dnsrecords.cc \ | |
977 | dnswriter.cc dnswriter.hh \ | |
978 | logger.cc \ | |
b54ccdb3 | 979 | mbedtlscompat.hh \ |
c57747c8 RK |
980 | misc.cc \ |
981 | nsecrecords.cc \ | |
982 | qtype.cc \ | |
983 | rcpgenerator.cc rcpgenerator.hh \ | |
984 | sillyrecords.cc \ | |
985 | statbag.cc \ | |
986 | unix_utility.cc \ | |
987 | utility.hh | |
988 | ||
8cb5dea2 | 989 | dnsgram_LDADD = $(MBEDTLS_LIBS) |
48836055 | 990 | |
c57747c8 RK |
991 | dnsdemog_SOURCES = \ |
992 | base32.cc \ | |
993 | base64.cc base64.hh \ | |
994 | dnsdemog.cc \ | |
995 | dnslabeltext.cc \ | |
d926c0da | 996 | dnsname.cc dnsname.hh \ |
c57747c8 RK |
997 | dnsparser.cc dnsparser.hh \ |
998 | dnspcap.cc dnspcap.hh \ | |
999 | dnsrecords.cc \ | |
1000 | dnswriter.cc dnswriter.hh \ | |
1001 | logger.cc \ | |
b54ccdb3 | 1002 | mbedtlscompat.hh \ |
c57747c8 RK |
1003 | misc.cc \ |
1004 | nsecrecords.cc \ | |
1005 | qtype.cc \ | |
1006 | rcpgenerator.cc rcpgenerator.hh \ | |
1007 | sillyrecords.cc \ | |
1008 | statbag.cc \ | |
1009 | unix_utility.cc \ | |
1010 | utility.hh | |
1011 | ||
8cb5dea2 | 1012 | dnsdemog_LDADD = $(MBEDTLS_LIBS) |
48836055 | 1013 | |
c57747c8 RK |
1014 | rec_control_SOURCES = \ |
1015 | arguments.cc arguments.hh \ | |
64d36190 PL |
1016 | dnsname.hh dnsname.cc \ |
1017 | dnslabeltext.cc \ | |
c57747c8 RK |
1018 | logger.cc \ |
1019 | misc.cc \ | |
1020 | qtype.cc \ | |
1021 | rec_channel.cc rec_channel.hh \ | |
1022 | rec_control.cc \ | |
1023 | statbag.cc \ | |
1024 | unix_utility.cc | |
1025 | ||
cf142a03 | 1026 | |
c57747c8 RK |
1027 | testrunner_SOURCES = \ |
1028 | arguments.cc \ | |
1029 | base32.cc \ | |
1030 | base64.cc \ | |
45a82484 RK |
1031 | bindlexer.l \ |
1032 | bindparser.yy \ | |
c57747c8 RK |
1033 | dns.cc \ |
1034 | dns_random.cc \ | |
3971cf53 | 1035 | dnsbackend.cc \ |
c57747c8 | 1036 | dnslabeltext.cc \ |
34eb951c PL |
1037 | dnsname.cc \ |
1038 | dnsname.hh \ | |
c57747c8 RK |
1039 | dnspacket.cc \ |
1040 | dnsparser.cc \ | |
1041 | dnsrecords.cc \ | |
1042 | dnssecinfra.cc \ | |
1043 | dnswriter.cc \ | |
1044 | ednssubnet.cc \ | |
85ecd52e | 1045 | gss_context.cc gss_context.hh \ |
443fd8f4 | 1046 | iputils.cc \ |
c57747c8 RK |
1047 | logger.cc \ |
1048 | misc.cc \ | |
1049 | nameserver.cc \ | |
1050 | nsecrecords.cc \ | |
34eb951c | 1051 | packetcache.cc \ |
c57747c8 RK |
1052 | qtype.cc \ |
1053 | rcpgenerator.cc \ | |
1054 | responsestats.cc \ | |
a263cb47 | 1055 | responsestats-auth.cc \ |
c57747c8 RK |
1056 | sillyrecords.cc \ |
1057 | statbag.cc \ | |
8954859e | 1058 | test-arguments_cc.cc \ |
c57747c8 RK |
1059 | test-base32_cc.cc \ |
1060 | test-base64_cc.cc \ | |
1061 | test-bindparser_cc.cc \ | |
7b3865cd | 1062 | test-delaypipe_hh.cc \ |
491d03d7 | 1063 | test-distributor_hh.cc \ |
c57747c8 | 1064 | test-dns_random_hh.cc \ |
34eb951c | 1065 | test-dnsname_cc.cc \ |
c57747c8 RK |
1066 | test-dnsrecords_cc.cc \ |
1067 | test-iputils_hh.cc \ | |
1068 | test-md5_hh.cc \ | |
1069 | test-misc_hh.cc \ | |
1070 | test-nameserver_cc.cc \ | |
0775e60e | 1071 | test-nmtree.cc \ |
fbe23e18 | 1072 | test-packetcache_cc.cc \ |
c57747c8 | 1073 | test-rcpgenerator_cc.cc \ |
34eb951c | 1074 | test-sha_hh.cc \ |
ca77577f | 1075 | test-sholder_hh.cc \ |
1566533a | 1076 | test-statbag_cc.cc \ |
c57747c8 RK |
1077 | test-zoneparser_tng_cc.cc \ |
1078 | testrunner.cc \ | |
3971cf53 | 1079 | ueberbackend.cc \ |
34eb951c | 1080 | unix_utility.cc \ |
e5408f0b | 1081 | zoneparser-tng.cc zoneparser-tng.hh |
c57747c8 RK |
1082 | |
1083 | testrunner_LDFLAGS = \ | |
b2053c28 | 1084 | $(AM_LDFLAGS) \ |
3971cf53 CH |
1085 | $(BOOST_UNIT_TEST_FRAMEWORK_LDFLAGS) \ |
1086 | $(BOOST_SERIALIZATION_LDFLAGS) | |
c57747c8 RK |
1087 | |
1088 | testrunner_LDADD = \ | |
8cb5dea2 | 1089 | $(MBEDTLS_LIBS) \ |
3971cf53 | 1090 | $(BOOST_UNIT_TEST_FRAMEWORK_LIBS) \ |
8b1a87ac | 1091 | $(BOOST_SERIALIZATION_LIBS) \ |
6136b0a1 | 1092 | $(RT_LIBS) \ |
8b1a87ac | 1093 | $(LIBDL) |
9bacbe09 | 1094 | |
8daea594 AT |
1095 | if PKCS11 |
1096 | testrunner_SOURCES += pkcs11signers.cc pkcs11signers.hh | |
1097 | testrunner_LDADD += $(P11KIT1_LIBS) | |
1098 | endif | |
1099 | ||
c57747c8 RK |
1100 | pdns_recursor_SOURCES = \ |
1101 | arguments.cc \ | |
1102 | base32.cc \ | |
1103 | base64.cc base64.hh \ | |
1104 | cachecleaner.hh \ | |
1105 | dns.cc \ | |
1106 | dns_random.cc \ | |
1107 | dnslabeltext.cc \ | |
d926c0da | 1108 | dnsname.cc dnsname.hh \ |
c57747c8 RK |
1109 | dnsparser.cc \ |
1110 | dnsrecords.cc dnsrecords.hh \ | |
39ec5d29 | 1111 | dnssecinfra.cc \ |
c57747c8 | 1112 | dnswriter.cc dnswriter.hh \ |
c4443ccb | 1113 | ednssubnet.cc ednssubnet.hh \ |
644dd1da | 1114 | filterpo.cc filterpo.hh \ |
39ec5d29 | 1115 | gss_context.cc gss_context.hh \ |
3e3f0358 | 1116 | iputils.cc \ |
39ec5d29 | 1117 | ixfr.cc ixfr.hh \ |
c57747c8 RK |
1118 | json.cc json.hh \ |
1119 | logger.cc \ | |
b0ed8f1a | 1120 | lua-pdns.cc lua-pdns.hh lua-iputils.cc \ |
c57747c8 RK |
1121 | lua-recursor.cc lua-recursor.hh \ |
1122 | lwres.cc lwres.hh \ | |
b54ccdb3 | 1123 | mbedtlscompat.hh \ |
c57747c8 RK |
1124 | misc.cc \ |
1125 | mtasker.hh \ | |
1126 | nsecrecords.cc \ | |
1127 | pdns_recursor.cc \ | |
92011b8f | 1128 | pubsuffix.cc \ |
c57747c8 RK |
1129 | qtype.cc \ |
1130 | randomhelper.cc \ | |
1131 | rcpgenerator.cc rcpgenerator.hh \ | |
1132 | rec-carbon.cc \ | |
1133 | rec_channel.cc rec_channel.hh \ | |
1134 | rec_channel_rec.cc \ | |
1135 | recpacketcache.cc recpacketcache.hh \ | |
1136 | recursor_cache.cc recursor_cache.hh \ | |
1137 | reczones.cc \ | |
39ec5d29 | 1138 | resolver.cc \ |
c57747c8 RK |
1139 | resolver.hh \ |
1140 | responsestats.cc \ | |
644dd1da | 1141 | rpzloader.cc rpzloader.hh \ |
d67620e4 | 1142 | secpoll-recursor.cc \ |
faba3e74 | 1143 | secpoll-recursor.hh \ |
c57747c8 RK |
1144 | selectmplexer.cc \ |
1145 | sillyrecords.cc \ | |
1146 | statbag.cc \ | |
1147 | syncres.cc syncres.hh \ | |
1148 | unix_utility.cc \ | |
1149 | version.cc version.hh \ | |
1150 | webserver.cc webserver.hh \ | |
1151 | ws-api.cc ws-api.hh \ | |
1152 | ws-recursor.cc ws-recursor.hh \ | |
1153 | zoneparser-tng.cc zoneparser-tng.hh | |
1154 | ||
c57747c8 | 1155 | pdns_recursor_LDADD = \ |
8cb5dea2 | 1156 | $(MBEDTLS_LIBS) \ |
c57747c8 RK |
1157 | $(YAHTTP_LIBS) |
1158 | ||
1302ddb0 | 1159 | if PKCS11 |
1160 | pdns_recursor_SOURCES += pkcs11signers.cc pkcs11signers.hh | |
1161 | pdns_recursor_LDADD += $(P11KIT1_LIBS) | |
1162 | endif | |
1163 | ||
fcf589ad | 1164 | pdns_recursor_LDFLAGS = $(AM_LDFLAGS) |
1165 | ||
8f7473d7 | 1166 | if MALLOC_TRACE |
1167 | pdns_recursor_SOURCES += malloctrace.cc malloctrace.hh | |
fcf589ad | 1168 | pdns_recursor_LDFLAGS += -rdynamic |
8f7473d7 | 1169 | endif |
1302ddb0 | 1170 | |
6e312f87 RK |
1171 | if LUA |
1172 | pdns_recursor_LDADD += $(LUA_LIBS) | |
1173 | endif | |
1174 | ||
69f79f96 RK |
1175 | if HAVE_FREEBSD |
1176 | pdns_recursor_SOURCES += kqueuemplexer.cc | |
1177 | endif | |
1178 | ||
df72c277 RK |
1179 | if HAVE_LINUX |
1180 | pdns_recursor_SOURCES += epollmplexer.cc | |
1181 | endif | |
1182 | ||
d4c30a75 RK |
1183 | if HAVE_SOLARIS |
1184 | pdns_recursor_SOURCES += \ | |
1185 | devpollmplexer.cc \ | |
1186 | portsmplexer.cc | |
1187 | endif | |
1188 | ||
c57747c8 RK |
1189 | pdns_control_SOURCES = \ |
1190 | arguments.cc \ | |
1191 | dynloader.cc \ | |
1192 | dynmessenger.cc \ | |
1193 | logger.cc \ | |
1194 | misc.cc \ | |
1195 | qtype.cc \ | |
1196 | statbag.cc \ | |
5fb96fa1 RA |
1197 | unix_utility.cc \ |
1198 | dnsname.cc \ | |
1199 | dnslabeltext.cc | |
c57747c8 | 1200 | |
12c86877 | 1201 | |
b553fa9d | 1202 | if UNIT_TESTS |
a245e51c | 1203 | TESTS_ENVIRONMENT = env BOOST_TEST_LOG_LEVEL=message SRCDIR='$(srcdir)' |
1e3ee833 | 1204 | TESTS=testrunner |
cf1125cf | 1205 | else |
e24ea477 | 1206 | check-local: |
cf1125cf | 1207 | @echo "Unit tests are not enabled" |
e24ea477 | 1208 | @echo "Run ./configure --enable-unit-tests" |
b553fa9d | 1209 | endif |
1e3ee833 | 1210 | |
bac8f21b | 1211 | dnslabeltext.cc: dnslabeltext.rl |
c1479ae2 | 1212 | $(AM_V_GEN)$(RAGEL) $< -o dnslabeltext.cc |
20af48f2 | 1213 | |
311a2539 PL |
1214 | htmlfiles.h: $(srcdir)/dnsdistdist/html/* |
1215 | $(srcdir)/dnsdistdist/incfiles $(srcdir)/dnsdistdist > $@ | |
50bed881 | 1216 | |
fd9f80de | 1217 | bind-dnssec.schema.sqlite3.sql.h: bind-dnssec.schema.sqlite3.sql |
c1479ae2 | 1218 | ( echo 'static char sqlCreate[] __attribute__((unused))=' ; sed 's/$$/"/g' $< | sed 's/^/"/g' ; echo ';' ) > $@ |
fd9f80de | 1219 | |
86198154 | 1220 | # for bindparser.h/hh |
9dd48769 | 1221 | .hh.h: |
86198154 CH |
1222 | cp $< $@ |
1223 | ||
1600715d | 1224 | pubsuffix.cc: $(srcdir)/effective_tld_names.dat |
92011b8f | 1225 | ./mkpubsuffixcc |