]>
Commit | Line | Data |
---|---|---|
23448838 | 1 | JSON11_LIBS = $(top_builddir)/ext/json11/libjson11.la |
5938c49f | 2 | |
c57747c8 | 3 | AM_CPPFLAGS += \ |
bf6dc747 | 4 | -I$(top_srcdir)/ext/json11 \ |
f76ef2b9 | 5 | $(YAHTTP_CFLAGS) \ |
45a1349b | 6 | $(LIBEDIT_CFLAGS) \ |
74d83458 | 7 | $(LIBCRYPTO_INCLUDES) \ |
f2d45260 PL |
8 | $(SYSTEMD_CFLAGS) \ |
9 | $(YAML_CFLAGS) | |
c57747c8 RK |
10 | |
11 | AM_CXXFLAGS = \ | |
12 | -DSYSCONFDIR=\"$(sysconfdir)\" \ | |
13 | -DPKGLIBDIR=\"$(pkglibdir)\" \ | |
f76ef2b9 | 14 | -DLOCALSTATEDIR=\"$(socketdir)\" |
e53a4bf6 | 15 | |
b2053c28 RK |
16 | AM_LDFLAGS = \ |
17 | $(PROGRAM_LDFLAGS) \ | |
18 | $(THREADFLAGS) | |
19 | ||
2a4f2b86 | 20 | AM_LFLAGS = -i |
e53a4bf6 | 21 | AM_YFLAGS = -d --verbose --debug |
cc8915f3 | 22 | |
8daea594 AT |
23 | if PKCS11 |
24 | AM_CPPFLAGS += $(P11KIT1_CFLAGS) | |
25 | endif | |
26 | ||
9d6da5d7 RK |
27 | if SQLITE3 |
28 | AM_CPPFLAGS += $(SQLITE3_CFLAGS) | |
29 | endif | |
30 | ||
6e312f87 RK |
31 | if LUA |
32 | AM_CPPFLAGS +=$(LUA_CFLAGS) | |
33 | endif | |
34 | ||
0be816c0 AT |
35 | if GSS_TSIG |
36 | AM_CPPFLAGS +=$(GSS_CFLAGS) | |
37 | endif | |
38 | ||
917db12a RG |
39 | if LIBSODIUM |
40 | AM_CPPFLAGS +=$(LIBSODIUM_CFLAGS) | |
41 | endif | |
42 | ||
c57747c8 RK |
43 | EXTRA_DIST = \ |
44 | dnslabeltext.rl \ | |
45 | dnslabeltext.cc \ | |
ee2ba7b2 | 46 | dnsmessage.proto \ |
a2f95ac7 | 47 | effective_tld_names.dat \ |
c57747c8 RK |
48 | mtasker.cc \ |
49 | inflighter.cc \ | |
c57747c8 RK |
50 | bind-dnssec.schema.sqlite3.sql \ |
51 | bindparser.h \ | |
1dd6c3a3 | 52 | named.conf.parsertest \ |
b14d512f | 53 | pdns.service.in \ |
07048927 | 54 | ixfrdist.service.in \ |
1415809d | 55 | ixfrdist.example.yml \ |
07048927 CHB |
56 | lua-record.cc \ |
57 | minicurl.cc \ | |
58 | minicurl.hh | |
c57747c8 | 59 | |
c57747c8 RK |
60 | BUILT_SOURCES = \ |
61 | bind-dnssec.schema.sqlite3.sql.h \ | |
56872c22 PL |
62 | bindparser.h \ |
63 | dnslabeltext.cc | |
c57747c8 | 64 | |
366c610a | 65 | CLEANFILES = \ |
366c610a RK |
66 | *.gcda \ |
67 | *.gcno \ | |
68 | *.gcov \ | |
69 | backends/gsql/gsqlbackend.gcda \ | |
70 | backends/gsql/gsqlbackend.gcno \ | |
8a1cf612 | 71 | backends/gsql/gsqlbackend.gcov \ |
70463abb PL |
72 | dnsmessage.pb.cc dnsmessage.pb.h \ |
73 | pdns.conf-dist | |
20af48f2 | 74 | |
cd42e98f | 75 | noinst_SCRIPTS = pdns.init |
c57747c8 | 76 | sysconf_DATA = pdns.conf-dist |
12c86877 | 77 | |
c57747c8 RK |
78 | sbin_PROGRAMS = pdns_server |
79 | bin_PROGRAMS = \ | |
80 | pdns_control \ | |
fd5076c8 | 81 | pdnsutil \ |
c57747c8 | 82 | zone2sql \ |
c57747c8 | 83 | zone2json |
5b26bda1 PD |
84 | |
85 | if TOOLS | |
c57747c8 | 86 | bin_PROGRAMS += \ |
53ea4fab | 87 | dnsgram \ |
52ebf44e | 88 | dnspcap2calidns \ |
c57747c8 RK |
89 | dnsreplay \ |
90 | dnsscan \ | |
91 | dnsscope \ | |
c57747c8 | 92 | dnswasher \ |
34eb951c | 93 | dumresp \ |
a4437033 | 94 | pdns_notify \ |
0cad3084 | 95 | nproxy \ |
c57747c8 | 96 | nsec3dig \ |
1801fa62 | 97 | saxfr \ |
6ee22c5e | 98 | stubquery \ |
aea0480e | 99 | ixplore \ |
1801fa62 | 100 | sdig |
4ab95bea | 101 | |
4ab95bea | 102 | bin_PROGRAMS += calidns |
4ab95bea | 103 | |
6cedc26d RG |
104 | if HAVE_BOOST_GE_148 |
105 | bin_PROGRAMS += \ | |
106 | dnsbulktest \ | |
107 | dnstcpbench | |
108 | endif | |
109 | ||
ca28add0 PL |
110 | endif # TOOLS |
111 | ||
112 | if IXFRDIST | |
113 | bin_PROGRAMS += \ | |
114 | ixfrdist | |
1415809d PL |
115 | |
116 | sysconf_DATA += \ | |
117 | ixfrdist.example.yml | |
2ead7159 BH |
118 | endif |
119 | ||
c57747c8 | 120 | EXTRA_PROGRAMS = \ |
7d8a5de7 | 121 | calidns \ |
ca12836d | 122 | comfun \ |
c57747c8 RK |
123 | dnsbulktest \ |
124 | dnsdemog \ | |
c57747c8 | 125 | dnsgram \ |
52ebf44e | 126 | dnspcap2calidns \ |
c57747c8 RK |
127 | dnsreplay \ |
128 | dnsscan \ | |
129 | dnsscope \ | |
130 | dnstcpbench \ | |
131 | dnswasher \ | |
c1e527e3 | 132 | dumresp \ |
fba1e944 | 133 | kvresp \ |
aea0480e | 134 | ixplore \ |
a2670f5e | 135 | ixfrdist \ |
a4437033 | 136 | pdns_notify \ |
c57747c8 RK |
137 | nproxy \ |
138 | nsec3dig \ | |
c57747c8 | 139 | saxfr \ |
6ee22c5e | 140 | stubquery \ |
c57747c8 RK |
141 | sdig \ |
142 | speedtest \ | |
143 | testrunner \ | |
144 | toysdig \ | |
145 | tsig-tests \ | |
9bc0d00a | 146 | zone2ldap |
c57747c8 RK |
147 | |
148 | pdns_server_SOURCES = \ | |
149 | arguments.cc arguments.hh \ | |
f03f0184 | 150 | ascii.hh \ |
c57747c8 | 151 | auth-carbon.cc \ |
bf269e28 RG |
152 | auth-caches.cc auth-caches.hh \ |
153 | auth-packetcache.cc auth-packetcache.hh \ | |
154 | auth-querycache.cc auth-querycache.hh \ | |
c57747c8 RK |
155 | backends/gsql/gsqlbackend.cc backends/gsql/gsqlbackend.hh \ |
156 | backends/gsql/ssql.hh \ | |
157 | base32.cc base32.hh \ | |
158 | base64.cc base64.hh \ | |
159 | bind-dnssec.schema.sqlite3.sql.h \ | |
45a82484 | 160 | bindlexer.l \ |
c57747c8 RK |
161 | bindparser.cc \ |
162 | cachecleaner.hh \ | |
9f6a31ff | 163 | circular_buffer.hh \ |
c57747c8 RK |
164 | comment.hh \ |
165 | common_startup.cc common_startup.hh \ | |
166 | communicator.cc communicator.hh \ | |
167 | dbdnsseckeeper.cc \ | |
bfcdbc13 | 168 | digests.hh \ |
c57747c8 RK |
169 | distributor.hh \ |
170 | dns.cc dns.hh \ | |
171 | dns_random.cc dns_random.hh \ | |
172 | dnsbackend.cc dnsbackend.hh \ | |
173 | dnslabeltext.cc \ | |
d926c0da | 174 | dnsname.cc dnsname.hh \ |
c57747c8 RK |
175 | dnspacket.cc dnspacket.hh \ |
176 | dnsparser.cc \ | |
177 | dnsproxy.cc dnsproxy.hh \ | |
13c30de7 | 178 | dnsrecords.cc dnsrecords.hh \ |
c57747c8 RK |
179 | dnssecinfra.cc dnssecinfra.hh \ |
180 | dnsseckeeper.hh \ | |
181 | dnssecsigner.cc \ | |
182 | dnswriter.cc \ | |
183 | dynhandler.cc dynhandler.hh \ | |
184 | dynlistener.cc dynlistener.hh \ | |
185 | dynmessenger.hh \ | |
bf269e28 | 186 | ednsoptions.cc ednsoptions.hh \ |
c57747c8 | 187 | ednssubnet.cc ednssubnet.hh \ |
0be816c0 | 188 | gss_context.cc gss_context.hh \ |
3e3f0358 | 189 | iputils.cc iputils.hh \ |
cd189f24 | 190 | ixfr.cc ixfr.hh \ |
c57747c8 RK |
191 | json.cc json.hh \ |
192 | lock.hh \ | |
193 | logger.cc logger.hh \ | |
70c21c40 | 194 | lua-base4.cc lua-base4.hh \ |
0ecc1158 | 195 | lua-auth4.cc lua-auth4.hh \ |
c57747c8 | 196 | mastercommunicator.cc \ |
c57747c8 RK |
197 | misc.cc misc.hh \ |
198 | nameserver.cc nameserver.hh \ | |
199 | namespaces.hh \ | |
200 | nsecrecords.cc \ | |
04c74848 | 201 | opensslsigners.cc opensslsigners.hh \ |
bf269e28 | 202 | packetcache.hh \ |
c57747c8 RK |
203 | packethandler.cc packethandler.hh \ |
204 | pdnsexception.hh \ | |
c57747c8 | 205 | qtype.cc qtype.hh \ |
c8c88ac1 | 206 | rcpgenerator.cc \ |
c57747c8 RK |
207 | receiver.cc \ |
208 | resolver.cc resolver.hh \ | |
b552d7b1 | 209 | responsestats.cc responsestats.hh responsestats-auth.cc \ |
c57747c8 | 210 | rfc2136handler.cc \ |
2d40d42b | 211 | secpoll.cc secpoll.hh \ |
199631c6 | 212 | secpoll-auth.cc secpoll-auth.hh \ |
c57747c8 RK |
213 | serialtweaker.cc \ |
214 | sha.hh \ | |
215 | signingpipe.cc signingpipe.hh \ | |
216 | sillyrecords.cc \ | |
217 | slavecommunicator.cc \ | |
218 | statbag.cc statbag.hh \ | |
24317c7f | 219 | stubresolver.cc stubresolver.hh \ |
c57747c8 | 220 | tcpreceiver.cc tcpreceiver.hh \ |
519f5484 | 221 | threadname.hh threadname.cc \ |
60a1c204 | 222 | tsigverifier.cc tsigverifier.hh \ |
ac5298aa | 223 | tsigutils.hh tsigutils.cc \ |
59fa9228 | 224 | tkey.cc \ |
c57747c8 | 225 | ueberbackend.cc ueberbackend.hh \ |
3f9a8002 | 226 | uuid-utils.hh uuid-utils.cc \ |
c57747c8 RK |
227 | unix_semaphore.cc \ |
228 | unix_utility.cc \ | |
229 | utility.hh \ | |
230 | version.cc version.hh \ | |
231 | webserver.cc webserver.hh \ | |
232 | ws-api.cc ws-api.hh \ | |
233 | ws-auth.cc ws-auth.hh \ | |
234 | zoneparser-tng.cc | |
235 | ||
c57747c8 | 236 | pdns_server_LDFLAGS = \ |
b2053c28 | 237 | $(AM_LDFLAGS) \ |
04c74848 | 238 | $(DYNLINKFLAGS) \ |
74d83458 | 239 | $(LIBCRYPTO_LDFLAGS) |
c57747c8 | 240 | |
1184810a | 241 | EXTRA_pdns_server_DEPENDENCIES = @moduleobjects@ |
c57747c8 RK |
242 | pdns_server_LDADD = \ |
243 | @moduleobjects@ \ | |
244 | @modulelibs@ \ | |
245 | $(LIBDL) \ | |
5938c49f | 246 | $(YAHTTP_LIBS) \ |
04c74848 | 247 | $(JSON11_LIBS) \ |
74d83458 | 248 | $(LIBCRYPTO_LIBS) \ |
8900e2e3 CHB |
249 | $(SYSTEMD_LIBS) |
250 | ||
251 | if HAVE_LUA_RECORDS | |
252 | pdns_server_SOURCES += lua-record.cc minicurl.cc minicurl.hh | |
253 | pdns_server_LDADD += $(LIBCURL) | |
254 | endif | |
01804b2f | 255 | |
d4f29089 KM |
256 | if LIBSODIUM |
257 | pdns_server_SOURCES += sodiumsigners.cc | |
258 | pdns_server_LDADD += $(LIBSODIUM_LIBS) | |
259 | endif | |
260 | ||
21a8834a KM |
261 | if LIBDECAF |
262 | pdns_server_SOURCES += decafsigners.cc | |
263 | pdns_server_LDADD += $(LIBDECAF_LIBS) | |
264 | endif | |
265 | ||
32869e14 PD |
266 | if SQLITE3 |
267 | pdns_server_SOURCES += ssqlite3.cc ssqlite3.hh | |
9d6da5d7 | 268 | pdns_server_LDADD += $(SQLITE3_LIBS) |
32869e14 | 269 | endif |
1b8e5e6f PD |
270 | |
271 | if ORACLE | |
272 | pdns_server_LDADD += $(ORACLE_LIBS) | |
273 | endif | |
ba1a571d | 274 | |
8daea594 AT |
275 | if PKCS11 |
276 | pdns_server_SOURCES += pkcs11signers.cc pkcs11signers.hh | |
277 | pdns_server_LDADD += $(P11KIT1_LIBS) | |
278 | endif | |
279 | ||
6e312f87 RK |
280 | if LUA |
281 | pdns_server_LDADD += $(LUA_LIBS) | |
282 | endif | |
283 | ||
0be816c0 AT |
284 | if GSS_TSIG |
285 | pdns_server_LDADD += $(GSS_LIBS) | |
286 | endif | |
287 | ||
fd5076c8 | 288 | pdnsutil_SOURCES = \ |
c57747c8 | 289 | arguments.cc \ |
bf269e28 RG |
290 | auth-caches.cc auth-caches.hh \ |
291 | auth-packetcache.cc auth-packetcache.hh \ | |
292 | auth-querycache.cc auth-querycache.hh \ | |
c57747c8 RK |
293 | backends/gsql/gsqlbackend.cc backends/gsql/gsqlbackend.hh \ |
294 | backends/gsql/ssql.hh \ | |
295 | base32.cc \ | |
296 | base64.cc base64.hh \ | |
45a82484 RK |
297 | bindlexer.l \ |
298 | bindparser.yy \ | |
c57747c8 | 299 | cachecleaner.hh \ |
9f6a31ff | 300 | circular_buffer.hh \ |
c57747c8 RK |
301 | dbdnsseckeeper.cc \ |
302 | dnsbackend.cc \ | |
303 | dns.cc \ | |
304 | dnslabeltext.cc \ | |
d926c0da | 305 | dnsname.cc dnsname.hh \ |
c57747c8 RK |
306 | dnspacket.cc \ |
307 | dnsparser.cc dnsparser.hh \ | |
308 | dns_random.cc \ | |
309 | dnsrecords.cc \ | |
310 | dnssecinfra.cc dnssecinfra.hh \ | |
311 | dnssecsigner.cc \ | |
312 | dnswriter.cc dnswriter.hh \ | |
313 | dynlistener.cc \ | |
bf269e28 | 314 | ednsoptions.cc ednsoptions.hh \ |
c57747c8 | 315 | ednssubnet.cc \ |
85ecd52e | 316 | gss_context.cc gss_context.hh \ |
496151cf | 317 | ipcipher.cc ipcipher.hh \ |
fad1b31d | 318 | iputils.cc iputils.hh \ |
c57747c8 RK |
319 | json.cc \ |
320 | logger.cc \ | |
542febb3 AT |
321 | lua-auth4.cc lua-auth4.hh \ |
322 | lua-base4.cc lua-base4.hh \ | |
c57747c8 RK |
323 | misc.cc misc.hh \ |
324 | nsecrecords.cc \ | |
04c74848 | 325 | opensslsigners.cc opensslsigners.hh \ |
fd5076c8 | 326 | pdnsutil.cc \ |
c57747c8 | 327 | qtype.cc \ |
c57747c8 RK |
328 | rcpgenerator.cc rcpgenerator.hh \ |
329 | serialtweaker.cc \ | |
330 | signingpipe.cc \ | |
331 | sillyrecords.cc \ | |
332 | sstuff.hh \ | |
333 | statbag.cc \ | |
542febb3 | 334 | stubresolver.cc stubresolver.hh \ |
519f5484 | 335 | threadname.hh threadname.cc \ |
ac5298aa | 336 | tsigutils.hh tsigutils.cc \ |
c57747c8 RK |
337 | ueberbackend.cc \ |
338 | unix_utility.cc \ | |
339 | zoneparser-tng.cc | |
340 | ||
fd5076c8 | 341 | pdnsutil_LDFLAGS = \ |
b2053c28 | 342 | $(AM_LDFLAGS) \ |
c57747c8 | 343 | $(DYNLINKFLAGS) \ |
04c74848 | 344 | $(BOOST_PROGRAM_OPTIONS_LDFLAGS) \ |
74d83458 | 345 | $(LIBCRYPTO_LDFLAGS) |
c57747c8 | 346 | |
1184810a | 347 | EXTRA_pdnsutil_DEPENDENCIES = @moduleobjects@ |
fd5076c8 | 348 | pdnsutil_LDADD = \ |
c57747c8 RK |
349 | @moduleobjects@ \ |
350 | @modulelibs@ \ | |
5938c49f | 351 | $(YAHTTP_LIBS) \ |
04c74848 | 352 | $(JSON11_LIBS) \ |
23448838 RK |
353 | $(LIBDL) \ |
354 | $(BOOST_PROGRAM_OPTIONS_LIBS) \ | |
496151cf RG |
355 | $(LIBCRYPTO_LIBS) \ |
356 | $(IPCRYPT_LIBS) | |
c57747c8 | 357 | |
d4f29089 | 358 | if LIBSODIUM |
fd5076c8 PL |
359 | pdnsutil_SOURCES += sodiumsigners.cc |
360 | pdnsutil_LDADD += $(LIBSODIUM_LIBS) | |
d4f29089 KM |
361 | endif |
362 | ||
21a8834a KM |
363 | if LIBDECAF |
364 | pdnsutil_SOURCES += decafsigners.cc | |
365 | pdnsutil_LDADD += $(LIBDECAF_LIBS) | |
366 | endif | |
367 | ||
4771024d | 368 | if SQLITE3 |
fd5076c8 PL |
369 | pdnsutil_SOURCES += ssqlite3.cc ssqlite3.hh |
370 | pdnsutil_LDADD += $(SQLITE3_LIBS) | |
4771024d RK |
371 | endif |
372 | ||
373 | if ORACLE | |
fd5076c8 | 374 | pdnsutil_LDADD += $(ORACLE_LIBS) |
4771024d RK |
375 | endif |
376 | ||
377 | if PKCS11 | |
fd5076c8 PL |
378 | pdnsutil_SOURCES += pkcs11signers.cc pkcs11signers.hh |
379 | pdnsutil_LDADD += $(P11KIT1_LIBS) | |
4771024d RK |
380 | endif |
381 | ||
542febb3 AT |
382 | if LUA |
383 | pdnsutil_LDADD += $(LUA_LIBS) | |
384 | endif | |
385 | ||
0be816c0 | 386 | if GSS_TSIG |
fd5076c8 | 387 | pdnsutil_LDADD += $(GSS_LIBS) |
0be816c0 AT |
388 | endif |
389 | ||
c57747c8 RK |
390 | zone2sql_SOURCES = \ |
391 | arguments.cc \ | |
392 | base32.cc \ | |
393 | base64.cc \ | |
394 | bind-dnssec.schema.sqlite3.sql.h \ | |
395 | bindlexer.l \ | |
396 | bindparser.yy \ | |
397 | bindparserclasses.hh \ | |
398 | dns.cc \ | |
e97cb679 | 399 | dns_random_urandom.cc \ |
d926c0da | 400 | dnsname.cc dnsname.hh \ |
c57747c8 RK |
401 | dnslabeltext.cc \ |
402 | dnsparser.cc \ | |
403 | dnsrecords.cc \ | |
404 | dnswriter.cc \ | |
405 | json.cc json.hh \ | |
406 | logger.cc \ | |
407 | misc.cc \ | |
408 | nsecrecords.cc \ | |
409 | qtype.cc \ | |
410 | rcpgenerator.cc \ | |
411 | sillyrecords.cc \ | |
412 | statbag.cc \ | |
413 | unix_utility.cc \ | |
414 | zone2sql.cc \ | |
415 | zoneparser-tng.cc | |
416 | ||
74d83458 PL |
417 | zone2sql_LDADD = $(LIBCRYPTO_LIBS) $(JSON11_LIBS) |
418 | zone2sql_LDFLAGS = $(AM_LDFLAGS) $(LIBCRYPTO_LDFLAGS) | |
c57747c8 RK |
419 | |
420 | zone2json_SOURCES = \ | |
421 | arguments.cc \ | |
422 | base32.cc \ | |
423 | base64.cc \ | |
424 | bind-dnssec.schema.sqlite3.sql.h \ | |
425 | bindlexer.l \ | |
426 | bindparser.yy \ | |
427 | bindparserclasses.hh \ | |
428 | dnslabeltext.cc \ | |
d926c0da | 429 | dnsname.cc dnsname.hh \ |
c57747c8 RK |
430 | dnsparser.cc \ |
431 | dnsrecords.cc \ | |
432 | dnswriter.cc \ | |
433 | logger.cc \ | |
434 | misc.cc \ | |
435 | nsecrecords.cc \ | |
436 | qtype.cc \ | |
437 | rcpgenerator.cc \ | |
438 | sillyrecords.cc \ | |
439 | statbag.cc \ | |
440 | unix_utility.cc \ | |
441 | zone2json.cc \ | |
442 | zoneparser-tng.cc | |
443 | ||
74d83458 PL |
444 | zone2json_LDADD = $(LIBCRYPTO_LIBS) $(JSON11_LIBS) |
445 | zone2json_LDFLAGS = $(AM_LDFLAGS) $(LIBCRYPTO_LDFLAGS) | |
c57747c8 | 446 | |
b0ed8f1a | 447 | # pkglib_LTLIBRARIES = iputils.la |
c8c88ac1 | 448 | # iputils_la_SOURCES = lua-iputils.cc |
b0ed8f1a | 449 | # iputils_la_LDFLAGS= -module -avoid-version |
450 | ||
b63843d9 RK |
451 | if LDAP |
452 | bin_PROGRAMS += zone2ldap | |
453 | endif | |
454 | ||
c57747c8 RK |
455 | zone2ldap_SOURCES = \ |
456 | arguments.cc \ | |
457 | base32.cc \ | |
458 | base64.cc \ | |
459 | bind-dnssec.schema.sqlite3.sql.h \ | |
460 | bindlexer.l \ | |
461 | bindparser.yy \ | |
462 | bindparserclasses.hh \ | |
e97cb679 | 463 | dns_random_urandom.cc \ |
d926c0da | 464 | dnsname.cc dnsname.hh \ |
c57747c8 RK |
465 | dnslabeltext.cc \ |
466 | dnsparser.cc \ | |
467 | dnsrecords.cc \ | |
468 | dnswriter.cc \ | |
469 | logger.cc \ | |
470 | misc.cc \ | |
471 | nsecrecords.cc \ | |
472 | qtype.cc \ | |
473 | rcpgenerator.cc \ | |
474 | sillyrecords.cc \ | |
475 | statbag.cc \ | |
476 | unix_utility.cc \ | |
477 | zone2ldap.cc \ | |
478 | zoneparser-tng.cc | |
479 | ||
74d83458 PL |
480 | zone2ldap_LDADD = $(LIBCRYPTO_LIBS) |
481 | zone2ldap_LDFLAGS = $(AM_LDFLAGS) $(LIBCRYPTO_LDFLAGS) | |
e53a4bf6 | 482 | |
c57747c8 RK |
483 | sdig_SOURCES = \ |
484 | base32.cc \ | |
485 | base64.cc base64.hh \ | |
a7d9ffb3 | 486 | dns.cc \ |
c57747c8 | 487 | dnslabeltext.cc \ |
d926c0da | 488 | dnsname.cc dnsname.hh \ |
c57747c8 RK |
489 | dnsparser.cc dnsparser.hh \ |
490 | dnsrecords.cc \ | |
491 | dnswriter.cc dnswriter.hh \ | |
4ba0ebc5 | 492 | ednssubnet.cc iputils.cc \ |
c57747c8 RK |
493 | logger.cc \ |
494 | misc.cc misc.hh \ | |
495 | nsecrecords.cc \ | |
496 | qtype.cc \ | |
497 | rcpgenerator.cc rcpgenerator.hh \ | |
498 | sdig.cc \ | |
499 | sillyrecords.cc \ | |
500 | sstuff.hh \ | |
501 | statbag.cc \ | |
f33f80ba | 502 | unix_utility.cc |
c57747c8 | 503 | |
f33f80ba | 504 | sdig_LDADD = $(LIBCRYPTO_LIBS) |
74d83458 | 505 | sdig_LDFLAGS = $(AM_LDFLAGS) $(LIBCRYPTO_LDFLAGS) |
48836055 | 506 | |
f33f80ba PD |
507 | if HAVE_LIBCURL |
508 | sdig_SOURCES += minicurl.cc minicurl.hh | |
509 | sdig_LDADD += $(LIBCURL) | |
510 | endif | |
511 | ||
7d8a5de7 | 512 | calidns_SOURCES = \ |
513 | base32.cc \ | |
514 | base64.cc base64.hh \ | |
515 | calidns.cc \ | |
e97cb679 | 516 | dns_random_urandom.cc dns_random.hh \ |
7d8a5de7 | 517 | dnslabeltext.cc \ |
d926c0da | 518 | dnsname.cc dnsname.hh \ |
7d8a5de7 | 519 | dnsparser.cc dnsparser.hh \ |
520 | dnsrecords.cc \ | |
521 | dnswriter.cc dnswriter.hh \ | |
a7f7d29f RG |
522 | ednsoptions.cc ednsoptions.hh \ |
523 | ednssubnet.cc ednssubnet.hh \ | |
c1e527e3 | 524 | iputils.cc \ |
7d8a5de7 | 525 | logger.cc \ |
526 | misc.cc misc.hh \ | |
527 | nsecrecords.cc \ | |
528 | qtype.cc \ | |
529 | rcpgenerator.cc rcpgenerator.hh \ | |
530 | sillyrecords.cc \ | |
531 | sstuff.hh \ | |
532 | statbag.cc \ | |
533 | unix_utility.cc | |
534 | ||
c7c8bdee PL |
535 | calidns_LDADD = $(LIBCRYPTO_LIBS) \ |
536 | $(BOOST_PROGRAM_OPTIONS_LIBS) | |
537 | calidns_LDFLAGS = $(AM_LDFLAGS) $(THREADFLAGS) $(LIBCRYPTO_LDFLAGS) \ | |
538 | $(BOOST_PROGRAM_OPTIONS_LDFLAGS) | |
7d8a5de7 | 539 | |
c1e527e3 | 540 | dumresp_SOURCES = \ |
dd9a15db PL |
541 | dnslabeltext.cc \ |
542 | dnsname.cc dnsname.hh \ | |
c1e527e3 | 543 | dumresp.cc \ |
544 | logger.cc \ | |
545 | misc.cc misc.hh \ | |
546 | statbag.cc \ | |
547 | unix_utility.cc \ | |
548 | qtype.cc | |
549 | ||
fba1e944 | 550 | kvresp_SOURCES = \ |
551 | dnslabeltext.cc dnsname.cc dnsname.hh \ | |
552 | kvresp.cc \ | |
553 | logger.cc \ | |
554 | misc.cc misc.hh \ | |
555 | statbag.cc \ | |
556 | unix_utility.cc \ | |
557 | qtype.cc | |
7d8a5de7 | 558 | |
6ee22c5e PD |
559 | stubquery_SOURCES = \ |
560 | arguments.cc arguments.hh \ | |
561 | base32.cc \ | |
562 | base64.cc \ | |
e97cb679 | 563 | dns_random_urandom.cc \ |
6ee22c5e PD |
564 | dnslabeltext.cc \ |
565 | dnsname.cc \ | |
566 | dnsparser.cc \ | |
567 | dnsrecords.cc \ | |
568 | dnswriter.cc \ | |
68b17575 | 569 | iputils.cc \ |
6ee22c5e PD |
570 | logger.cc \ |
571 | misc.cc \ | |
572 | nsecrecords.cc \ | |
573 | qtype.cc \ | |
574 | rcpgenerator.cc \ | |
575 | sillyrecords.cc \ | |
576 | statbag.cc \ | |
577 | stubresolver.cc stubresolver.hh \ | |
578 | stubquery.cc \ | |
579 | unix_utility.cc | |
580 | ||
74d83458 PL |
581 | stubquery_LDADD = $(LIBCRYPTO_LIBS) |
582 | stubquery_LDFLAGS = $(AM_LDFLAGS) $(LIBCRYPTO_LDFLAGS) | |
6ee22c5e | 583 | |
c57747c8 RK |
584 | saxfr_SOURCES = \ |
585 | base32.cc \ | |
586 | base64.cc base64.hh \ | |
e97cb679 | 587 | dns_random_urandom.cc dns_random.hh \ |
c57747c8 | 588 | dnslabeltext.cc \ |
d926c0da | 589 | dnsname.cc dnsname.hh \ |
c57747c8 RK |
590 | dnsparser.cc dnsparser.hh \ |
591 | dnsrecords.cc \ | |
592 | dnssecinfra.cc \ | |
593 | dnswriter.cc dnswriter.hh \ | |
85ecd52e | 594 | gss_context.cc gss_context.hh \ |
73ba5999 | 595 | iputils.cc \ |
c57747c8 RK |
596 | logger.cc \ |
597 | misc.cc misc.hh \ | |
598 | nsecrecords.cc \ | |
599 | qtype.cc \ | |
600 | rcpgenerator.cc rcpgenerator.hh \ | |
601 | saxfr.cc \ | |
602 | sillyrecords.cc \ | |
603 | sstuff.hh \ | |
604 | statbag.cc \ | |
605 | unix_utility.cc | |
12c86877 | 606 | |
74d83458 PL |
607 | saxfr_LDADD = $(LIBCRYPTO_LIBS) |
608 | saxfr_LDFLAGS = $(AM_LDFLAGS) $(LIBCRYPTO_LDFLAGS) | |
3f6fa55d | 609 | |
70f0f8c4 | 610 | if PKCS11 |
c8c88ac1 | 611 | saxfr_SOURCES += pkcs11signers.cc pkcs11signers.hh |
70f0f8c4 AT |
612 | saxfr_LDADD += $(P11KIT1_LIBS) |
613 | endif | |
df82962d | 614 | |
0be816c0 AT |
615 | if GSS_TSIG |
616 | saxfr_LDADD += $(GSS_LIBS) | |
617 | endif | |
618 | ||
a2670f5e PL |
619 | ixfrdist_SOURCES = \ |
620 | arguments.cc \ | |
621 | base32.cc \ | |
622 | base64.cc base64.hh \ | |
623 | dns.cc \ | |
e97cb679 | 624 | dns_random_urandom.cc dns_random.hh \ |
a2670f5e PL |
625 | dnslabeltext.cc \ |
626 | dnsname.cc dnsname.hh \ | |
627 | dnsparser.cc dnsparser.hh \ | |
628 | dnsrecords.cc \ | |
629 | dnssecinfra.cc \ | |
630 | dnswriter.cc dnswriter.hh \ | |
631 | gss_context.cc gss_context.hh \ | |
4f80c4e0 | 632 | iputils.hh iputils.cc \ |
aff1f1fd PL |
633 | ixfr.cc ixfr.hh \ |
634 | ixfrdist.cc \ | |
635 | ixfrutils.cc ixfrutils.hh \ | |
ef9ebc82 | 636 | ixfrdist-stats.hh ixfrdist-stats.cc \ |
d5c9e1cb | 637 | ixfrdist-web.hh ixfrdist-web.cc \ |
1361013e | 638 | logger.cc logger.hh\ |
a2670f5e | 639 | misc.cc misc.hh \ |
aff1f1fd | 640 | mplexer.hh \ |
a2670f5e PL |
641 | nsecrecords.cc \ |
642 | qtype.cc \ | |
643 | rcpgenerator.cc rcpgenerator.hh \ | |
644 | resolver.cc \ | |
d2d44248 | 645 | pollmplexer.cc \ |
a2670f5e PL |
646 | sillyrecords.cc \ |
647 | sstuff.hh \ | |
648 | statbag.cc \ | |
519f5484 | 649 | threadname.hh threadname.cc \ |
a2670f5e | 650 | tsigverifier.cc tsigverifier.hh \ |
d5c9e1cb | 651 | unix_utility.cc \ |
f6149229 | 652 | uuid-utils.hh uuid-utils.cc \ |
d5c9e1cb PL |
653 | webserver.hh webserver.cc \ |
654 | zoneparser-tng.cc | |
655 | ||
a2670f5e PL |
656 | |
657 | ixfrdist_LDADD = \ | |
658 | $(BOOST_PROGRAM_OPTIONS_LIBS) \ | |
d5c9e1cb | 659 | $(JSON11_LIBS) \ |
f2d45260 | 660 | $(LIBCRYPTO_LIBS) \ |
d5c9e1cb | 661 | $(YAHTTP_LIBS) \ |
f2d45260 | 662 | $(YAML_LIBS) |
a2670f5e PL |
663 | |
664 | ixfrdist_LDFLAGS = \ | |
665 | $(AM_LDFLAGS) \ | |
666 | $(BOOST_PROGRAM_OPTIONS_LDFLAGS) \ | |
667 | $(LIBCRYPTO_LDFLAGS) | |
668 | ||
669 | if PKCS11 | |
670 | ixfrdist_SOURCES += pkcs11signers.cc pkcs11signers.hh | |
671 | ixfrdist_LDADD += $(P11KIT1_LIBS) | |
672 | endif | |
673 | ||
674 | if GSS_TSIG | |
675 | ixfrdist_LDADD += $(GSS_LIBS) | |
676 | endif | |
677 | ||
aea0480e | 678 | |
679 | ixplore_SOURCES = \ | |
18ca5fa4 | 680 | arguments.cc \ |
aea0480e | 681 | base32.cc \ |
682 | base64.cc base64.hh \ | |
18ca5fa4 | 683 | dns.cc \ |
e97cb679 | 684 | dns_random_urandom.cc dns_random.hh \ |
aea0480e | 685 | dnslabeltext.cc \ |
686 | dnsname.cc dnsname.hh \ | |
687 | dnsparser.cc dnsparser.hh \ | |
688 | dnsrecords.cc \ | |
689 | dnssecinfra.cc \ | |
690 | dnswriter.cc dnswriter.hh \ | |
691 | gss_context.cc gss_context.hh \ | |
68b17575 | 692 | iputils.cc \ |
aea0480e | 693 | logger.cc \ |
aea0480e | 694 | misc.cc misc.hh \ |
695 | nsecrecords.cc \ | |
696 | qtype.cc \ | |
697 | rcpgenerator.cc rcpgenerator.hh \ | |
18ca5fa4 | 698 | resolver.cc \ |
39ec5d29 | 699 | ixfr.cc ixfr.hh \ |
4db8fd44 | 700 | ixfrutils.cc ixfrutils.hh \ |
aea0480e | 701 | ixplore.cc \ |
702 | sillyrecords.cc \ | |
703 | sstuff.hh \ | |
704 | statbag.cc \ | |
60a1c204 | 705 | tsigverifier.cc tsigverifier.hh \ |
7cc1c350 | 706 | unix_utility.cc zoneparser-tng.cc |
aea0480e | 707 | |
74d83458 PL |
708 | ixplore_LDADD = $(LIBCRYPTO_LIBS) |
709 | ixplore_LDFLAGS = $(AM_LDFLAGS) $(LIBCRYPTO_LDFLAGS) | |
aea0480e | 710 | |
51465d00 | 711 | if PKCS11 |
712 | ixplore_SOURCES += pkcs11signers.cc pkcs11signers.hh | |
713 | ixplore_LDADD += $(P11KIT1_LIBS) | |
714 | endif | |
715 | ||
716 | if GSS_TSIG | |
717 | ixplore_LDADD += $(GSS_LIBS) | |
718 | endif | |
aea0480e | 719 | |
720 | ||
c57747c8 RK |
721 | dnstcpbench_SOURCES = \ |
722 | base32.cc \ | |
723 | base64.cc base64.hh \ | |
724 | dnslabeltext.cc \ | |
d926c0da | 725 | dnsname.cc dnsname.hh \ |
c57747c8 RK |
726 | dnsparser.cc dnsparser.hh \ |
727 | dnsrecords.cc \ | |
728 | dnstcpbench.cc \ | |
729 | dnswriter.cc dnswriter.hh \ | |
68b17575 | 730 | iputils.cc \ |
c57747c8 RK |
731 | logger.cc \ |
732 | misc.cc misc.hh \ | |
733 | nsecrecords.cc \ | |
734 | qtype.cc \ | |
735 | rcpgenerator.cc rcpgenerator.hh \ | |
736 | sillyrecords.cc \ | |
737 | sstuff.hh \ | |
738 | statbag.cc \ | |
519f5484 | 739 | threadname.hh threadname.cc \ |
c57747c8 RK |
740 | unix_utility.cc |
741 | ||
48836055 | 742 | dnstcpbench_LDFLAGS = \ |
b2053c28 | 743 | $(AM_LDFLAGS) \ |
74d83458 | 744 | $(LIBCRYPTO_LDFLAGS) \ |
48836055 KM |
745 | $(BOOST_PROGRAM_OPTIONS_LDFLAGS) |
746 | ||
747 | dnstcpbench_LDADD = \ | |
74d83458 | 748 | $(LIBCRYPTO_LIBS) \ |
48836055 | 749 | $(BOOST_PROGRAM_OPTIONS_LIBS) |
c57747c8 | 750 | |
c57747c8 RK |
751 | nsec3dig_SOURCES = \ |
752 | base32.cc \ | |
753 | base64.cc base64.hh \ | |
d926c0da | 754 | dnsname.cc dnsname.hh \ |
c57747c8 RK |
755 | dnslabeltext.cc \ |
756 | dnsparser.cc dnsparser.hh \ | |
757 | dnsrecords.cc \ | |
758 | dnssecinfra.cc \ | |
759 | dnswriter.cc dnswriter.hh \ | |
b54ccdb3 | 760 | gss_context.cc gss_context.hh \ |
73ba5999 | 761 | iputils.cc \ |
c57747c8 RK |
762 | logger.cc \ |
763 | misc.cc misc.hh \ | |
764 | nsec3dig.cc \ | |
765 | nsecrecords.cc \ | |
766 | qtype.cc \ | |
767 | rcpgenerator.cc rcpgenerator.hh \ | |
768 | sillyrecords.cc \ | |
769 | sstuff.hh \ | |
770 | statbag.cc \ | |
771 | unix_utility.cc | |
772 | ||
74d83458 PL |
773 | nsec3dig_LDADD = $(LIBCRYPTO_LIBS) |
774 | nsec3dig_LDFLAGS = $(AM_LDFLAGS) $(LIBCRYPTO_LDFLAGS) | |
54ebc117 | 775 | |
70f0f8c4 | 776 | if PKCS11 |
c8c88ac1 | 777 | nsec3dig_SOURCES += pkcs11signers.cc pkcs11signers.hh |
70f0f8c4 AT |
778 | nsec3dig_LDADD += $(P11KIT1_LIBS) |
779 | endif | |
e79e8a5b | 780 | |
0be816c0 AT |
781 | if GSS_TSIG |
782 | nsec3dig_LDADD += $(GSS_LIBS) | |
783 | endif | |
784 | ||
c57747c8 RK |
785 | toysdig_SOURCES = \ |
786 | base32.cc \ | |
787 | base64.cc base64.hh \ | |
e97cb679 | 788 | dns_random_urandom.cc \ |
d926c0da | 789 | dnsname.cc dnsname.hh \ |
c57747c8 RK |
790 | dnslabeltext.cc \ |
791 | dnsparser.cc dnsparser.hh \ | |
792 | dnsrecords.cc \ | |
5bb846fe | 793 | dnssecinfra.cc \ |
c57747c8 RK |
794 | dnswriter.cc dnswriter.hh \ |
795 | ednssubnet.cc ednssubnet.hh \ | |
fad1b31d | 796 | filterpo.hh \ |
5bb846fe | 797 | gss_context.cc gss_context.hh \ |
4ba0ebc5 | 798 | iputils.cc \ |
c57747c8 RK |
799 | logger.cc \ |
800 | misc.cc misc.hh \ | |
801 | nsecrecords.cc \ | |
04c74848 | 802 | opensslsigners.cc opensslsigners.hh \ |
c57747c8 | 803 | qtype.cc \ |
f2234140 | 804 | root-dnssec.hh \ |
c57747c8 | 805 | rcpgenerator.cc rcpgenerator.hh \ |
fad1b31d KM |
806 | rec-lua-conf.hh \ |
807 | recursor_cache.hh \ | |
808 | sholder.hh \ | |
c57747c8 | 809 | sillyrecords.cc \ |
fad1b31d | 810 | sortlist.hh \ |
c57747c8 RK |
811 | sstuff.hh \ |
812 | statbag.cc \ | |
813 | toysdig.cc \ | |
243f4780 | 814 | unix_utility.cc \ |
815 | validate.cc validate.hh | |
c57747c8 | 816 | |
5bb846fe | 817 | |
04c74848 | 818 | toysdig_LDFLAGS = $(AM_LDFLAGS) \ |
74d83458 PL |
819 | $(LIBCRYPTO_LDFLAGS) |
820 | toysdig_LDADD = $(LIBCRYPTO_LIBS) | |
e12ba08e | 821 | |
5bb846fe | 822 | if GSS_TSIG |
823 | toysdig_LDADD += $(GSS_LIBS) | |
824 | endif | |
825 | ||
15ff8082 | 826 | if PKCS11 |
827 | toysdig_SOURCES += pkcs11signers.cc pkcs11signers.hh | |
828 | toysdig_LDADD += $(P11KIT1_LIBS) | |
829 | endif | |
830 | ||
c57747c8 RK |
831 | tsig_tests_SOURCES = \ |
832 | arguments.cc \ | |
833 | base32.cc \ | |
834 | base64.cc base64.hh \ | |
bfcdbc13 | 835 | digests.hh \ |
c57747c8 | 836 | dns.cc \ |
e97cb679 | 837 | dns_random_urandom.cc dns_random.hh \ |
c57747c8 | 838 | dnslabeltext.cc \ |
d926c0da | 839 | dnsname.cc dnsname.hh \ |
c57747c8 RK |
840 | dnsparser.cc dnsparser.hh \ |
841 | dnsrecords.cc \ | |
842 | dnssecinfra.cc \ | |
843 | dnswriter.cc dnswriter.hh \ | |
0be816c0 | 844 | gss_context.cc gss_context.hh \ |
c57747c8 RK |
845 | logger.cc \ |
846 | misc.cc misc.hh \ | |
847 | nsecrecords.cc \ | |
848 | qtype.cc \ | |
c57747c8 RK |
849 | rcpgenerator.cc rcpgenerator.hh \ |
850 | resolver.cc \ | |
851 | sillyrecords.cc \ | |
852 | sstuff.hh \ | |
853 | statbag.cc \ | |
854 | tsig-tests.cc \ | |
60a1c204 | 855 | tsigverifier.cc tsigverifier.hh \ |
c57747c8 RK |
856 | unix_utility.cc |
857 | ||
74d83458 PL |
858 | tsig_tests_LDADD = $(LIBCRYPTO_LIBS) |
859 | tsig_tests_LDFLAGS = $(AM_LDFLAGS) $(LIBCRYPTO_LDFLAGS) | |
9feed75b | 860 | |
70f0f8c4 | 861 | if PKCS11 |
c8c88ac1 | 862 | tsig_tests_SOURCES += pkcs11signers.cc pkcs11signers.hh |
70f0f8c4 AT |
863 | tsig_tests_LDADD += $(P11KIT1_LIBS) |
864 | endif | |
865 | ||
0be816c0 AT |
866 | if GSS_TSIG |
867 | tsig_tests_LDADD += $(GSS_LIBS) | |
868 | endif | |
e12ba08e | 869 | |
c57747c8 RK |
870 | speedtest_SOURCES = \ |
871 | base32.cc \ | |
872 | base64.cc base64.hh \ | |
873 | dnslabeltext.cc \ | |
d926c0da | 874 | dnsname.cc dnsname.hh \ |
c57747c8 RK |
875 | dnsparser.cc dnsparser.hh \ |
876 | dnsrecords.cc \ | |
877 | dnswriter.cc dnswriter.hh \ | |
878 | logger.cc \ | |
879 | misc.cc misc.hh \ | |
880 | nsecrecords.cc \ | |
881 | qtype.cc \ | |
882 | rcpgenerator.cc rcpgenerator.hh \ | |
883 | sillyrecords.cc \ | |
884 | speedtest.cc \ | |
885 | statbag.cc \ | |
5a6caecd OM |
886 | unix_utility.cc \ |
887 | iputils.cc | |
c57747c8 | 888 | |
74d83458 PL |
889 | speedtest_LDFLAGS = $(AM_LDFLAGS) $(LIBCRYPTO_LDFLAGS) |
890 | speedtest_LDADD = $(LIBCRYPTO_LIBS) \ | |
bcd17c71 | 891 | $(RT_LIBS) |
48836055 | 892 | |
c57747c8 | 893 | dnswasher_SOURCES = \ |
152b0801 | 894 | base64.cc \ |
857a2101 PL |
895 | dnslabeltext.cc \ |
896 | dnsname.hh dnsname.cc \ | |
c57747c8 RK |
897 | dnsparser.hh \ |
898 | dnspcap.cc dnspcap.hh \ | |
899 | dnswasher.cc \ | |
857a2101 | 900 | dnswriter.hh \ |
496151cf | 901 | ipcipher.cc ipcipher.hh \ |
c57747c8 RK |
902 | logger.cc \ |
903 | misc.cc \ | |
904 | qtype.cc \ | |
905 | statbag.cc \ | |
906 | unix_utility.cc | |
907 | ||
488bcb39 | 908 | dnswasher_LDFLAGS = $(AM_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LDFLAGS) $(LIBCRYPTO_LDFLAGS) |
496151cf | 909 | dnswasher_LDADD = $(BOOST_PROGRAM_OPTIONS_LIBS) $(LIBCRYPTO_LIBS) $(IPCRYPT_LIBS) |
c57747c8 RK |
910 | |
911 | dnsbulktest_SOURCES = \ | |
912 | base32.cc \ | |
913 | base64.cc \ | |
914 | dnsbulktest.cc \ | |
915 | dnslabeltext.cc \ | |
d926c0da | 916 | dnsname.cc dnsname.hh \ |
c57747c8 RK |
917 | dnsparser.cc \ |
918 | dnsrecords.cc \ | |
919 | dnswriter.cc \ | |
920 | logger.cc \ | |
921 | misc.cc \ | |
922 | nsecrecords.cc \ | |
923 | qtype.cc \ | |
924 | rcpgenerator.cc \ | |
925 | sillyrecords.cc \ | |
926 | statbag.cc \ | |
927 | unix_utility.cc | |
928 | ||
929 | dnsbulktest_LDFLAGS = \ | |
b2053c28 | 930 | $(AM_LDFLAGS) \ |
74d83458 | 931 | $(LIBCRYPTO_LDFLAGS) \ |
94ac5f34 | 932 | $(BOOST_PROGRAM_OPTIONS_LDFLAGS) |
c57747c8 | 933 | |
48836055 | 934 | dnsbulktest_LDADD = \ |
74d83458 | 935 | $(LIBCRYPTO_LIBS) \ |
48836055 | 936 | $(BOOST_PROGRAM_OPTIONS_LIBS) |
c57747c8 | 937 | |
ca12836d | 938 | comfun_SOURCES = \ |
939 | base32.cc \ | |
940 | base64.cc \ | |
941 | comfun.cc \ | |
942 | dns.cc \ | |
943 | dnslabeltext.cc \ | |
944 | dnsname.cc dnsname.hh \ | |
945 | dnsparser.cc \ | |
946 | dnsrecords.cc \ | |
947 | dnswriter.cc \ | |
948 | logger.cc \ | |
949 | misc.cc \ | |
950 | nsecrecords.cc \ | |
951 | qtype.cc \ | |
952 | rcpgenerator.cc \ | |
953 | sillyrecords.cc \ | |
954 | statbag.cc \ | |
955 | unix_utility.cc \ | |
956 | zoneparser-tng.cc zoneparser-tng.hh | |
957 | ||
958 | comfun_LDFLAGS = \ | |
959 | $(AM_LDFLAGS) \ | |
74d83458 | 960 | $(LIBCRYPTO_LDFLAGS) \ |
ca12836d | 961 | $(BOOST_PROGRAM_OPTIONS_LDFLAGS) |
962 | ||
963 | comfun_LDADD = \ | |
74d83458 | 964 | $(LIBCRYPTO_LIBS) \ |
ca12836d | 965 | $(BOOST_PROGRAM_OPTIONS_LIBS) |
966 | ||
967 | ||
c57747c8 RK |
968 | dnsscan_SOURCES = \ |
969 | anadns.hh \ | |
970 | base32.cc \ | |
971 | base64.cc base64.hh \ | |
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 | dnsscan.cc \ | |
978 | dnswriter.cc dnswriter.hh \ | |
979 | logger.cc \ | |
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 | ||
e12ba08e CH |
989 | dnsscan_LDFLAGS = \ |
990 | $(AM_LDFLAGS) \ | |
74d83458 | 991 | $(LIBCRYPTO_LDFLAGS) |
e12ba08e | 992 | |
74d83458 | 993 | dnsscan_LDADD = $(LIBCRYPTO_LIBS) |
48836055 | 994 | |
c57747c8 RK |
995 | dnsreplay_SOURCES = \ |
996 | anadns.hh \ | |
997 | base32.cc \ | |
998 | base64.cc base64.hh \ | |
999 | dnslabeltext.cc \ | |
d926c0da | 1000 | dnsname.cc dnsname.hh \ |
c57747c8 RK |
1001 | dnsparser.cc dnsparser.hh \ |
1002 | dnspcap.cc dnspcap.hh \ | |
1003 | dnsrecords.cc \ | |
1004 | dnsreplay.cc \ | |
1005 | dnswriter.cc dnswriter.hh \ | |
976ec823 | 1006 | ednsoptions.cc ednsoptions.hh \ |
bf269e28 | 1007 | ednssubnet.cc ednssubnet.hh \ |
4ba0ebc5 | 1008 | iputils.cc \ |
c57747c8 RK |
1009 | logger.cc \ |
1010 | misc.cc \ | |
1011 | nsecrecords.cc \ | |
1012 | qtype.cc \ | |
1013 | rcpgenerator.cc rcpgenerator.hh \ | |
1014 | sillyrecords.cc \ | |
1015 | statbag.cc \ | |
1016 | unix_utility.cc \ | |
1017 | utility.hh | |
1018 | ||
1019 | dnsreplay_LDFLAGS = \ | |
b2053c28 | 1020 | $(AM_LDFLAGS) \ |
74d83458 | 1021 | $(LIBCRYPTO_LDFLAGS) \ |
94ac5f34 | 1022 | $(BOOST_PROGRAM_OPTIONS_LDFLAGS) |
c57747c8 | 1023 | |
48836055 | 1024 | dnsreplay_LDADD = \ |
74d83458 | 1025 | $(LIBCRYPTO_LIBS) \ |
48836055 | 1026 | $(BOOST_PROGRAM_OPTIONS_LIBS) |
c57747c8 RK |
1027 | |
1028 | nproxy_SOURCES = \ | |
1029 | base32.cc \ | |
1030 | base64.cc base64.hh \ | |
1031 | dnslabeltext.cc \ | |
d926c0da | 1032 | dnsname.cc dnsname.hh \ |
c57747c8 RK |
1033 | dnsparser.cc dnsparser.hh \ |
1034 | dnsrecords.cc \ | |
1035 | dnswriter.cc dnswriter.hh \ | |
1036 | logger.cc \ | |
1037 | misc.cc \ | |
1038 | mplexer.hh \ | |
1039 | nproxy.cc \ | |
1040 | nsecrecords.cc \ | |
926444e2 | 1041 | pollmplexer.cc \ |
c57747c8 RK |
1042 | qtype.cc \ |
1043 | rcpgenerator.cc rcpgenerator.hh \ | |
c57747c8 RK |
1044 | sillyrecords.cc \ |
1045 | statbag.cc \ | |
1046 | unix_utility.cc | |
1047 | ||
1048 | nproxy_LDFLAGS = \ | |
b2053c28 | 1049 | $(AM_LDFLAGS) \ |
74d83458 | 1050 | $(LIBCRYPTO_LDFLAGS) \ |
94ac5f34 | 1051 | $(BOOST_PROGRAM_OPTIONS_LDFLAGS) |
c57747c8 | 1052 | |
48836055 | 1053 | nproxy_LDADD = \ |
74d83458 | 1054 | $(LIBCRYPTO_LIBS) \ |
48836055 | 1055 | $(BOOST_PROGRAM_OPTIONS_LIBS) |
c57747c8 | 1056 | |
a4437033 | 1057 | pdns_notify_SOURCES = \ |
c57747c8 RK |
1058 | arguments.cc \ |
1059 | base32.cc \ | |
1060 | base64.cc base64.hh \ | |
1061 | dns.cc \ | |
1062 | dnslabeltext.cc \ | |
d926c0da | 1063 | dnsname.cc dnsname.hh \ |
c57747c8 RK |
1064 | dnsparser.cc dnsparser.hh \ |
1065 | dnsrecords.cc \ | |
1066 | dnswriter.cc dnswriter.hh \ | |
1067 | logger.cc \ | |
1068 | misc.cc \ | |
1069 | notify.cc \ | |
1070 | nsecrecords.cc \ | |
926444e2 | 1071 | pollmplexer.cc \ |
c57747c8 RK |
1072 | qtype.cc \ |
1073 | rcpgenerator.cc rcpgenerator.hh \ | |
c57747c8 RK |
1074 | sillyrecords.cc \ |
1075 | statbag.cc \ | |
df136790 OM |
1076 | unix_utility.cc \ |
1077 | dns_random.cc | |
c57747c8 | 1078 | |
a4437033 | 1079 | pdns_notify_LDFLAGS = \ |
b2053c28 | 1080 | $(AM_LDFLAGS) \ |
74d83458 | 1081 | $(LIBCRYPTO_LDFLAGS) \ |
94ac5f34 | 1082 | $(BOOST_PROGRAM_OPTIONS_LDFLAGS) |
c57747c8 | 1083 | |
a4437033 | 1084 | pdns_notify_LDADD = \ |
74d83458 | 1085 | $(LIBCRYPTO_LIBS) \ |
48836055 | 1086 | $(BOOST_PROGRAM_OPTIONS_LIBS) |
c57747c8 | 1087 | |
df136790 OM |
1088 | if LIBSODIUM |
1089 | pdns_notify_LDADD += $(LIBSODIUM_LIBS) | |
1090 | endif | |
1091 | ||
c57747c8 RK |
1092 | dnsscope_SOURCES = \ |
1093 | arguments.cc \ | |
1094 | base32.cc \ | |
1095 | base64.cc base64.hh \ | |
1096 | dns.cc \ | |
1097 | dnslabeltext.cc \ | |
d926c0da | 1098 | dnsname.cc dnsname.hh \ |
c57747c8 RK |
1099 | dnsparser.cc dnsparser.hh \ |
1100 | dnspcap.cc dnspcap.hh \ | |
1101 | dnsrecords.cc \ | |
1102 | dnsscope.cc \ | |
1103 | dnswriter.cc dnswriter.hh \ | |
2b962740 | 1104 | histog.hh \ |
c57747c8 RK |
1105 | logger.cc \ |
1106 | misc.cc \ | |
1107 | nsecrecords.cc \ | |
1108 | qtype.cc \ | |
1109 | rcpgenerator.cc rcpgenerator.hh \ | |
1110 | sillyrecords.cc \ | |
1111 | statbag.cc \ | |
ffe60430 | 1112 | statnode.cc statnode.hh \ |
c57747c8 RK |
1113 | unix_utility.cc \ |
1114 | utility.hh | |
1115 | ||
1116 | dnsscope_LDFLAGS = \ | |
b2053c28 | 1117 | $(AM_LDFLAGS) \ |
74d83458 | 1118 | $(LIBCRYPTO_LDFLAGS) \ |
94ac5f34 | 1119 | $(BOOST_PROGRAM_OPTIONS_LDFLAGS) |
c57747c8 | 1120 | |
48836055 | 1121 | dnsscope_LDADD = \ |
74d83458 | 1122 | $(LIBCRYPTO_LIBS) \ |
48836055 | 1123 | $(BOOST_PROGRAM_OPTIONS_LIBS) |
c57747c8 RK |
1124 | |
1125 | dnsgram_SOURCES = \ | |
1126 | base32.cc \ | |
1127 | base64.cc base64.hh \ | |
1128 | dnsgram.cc \ | |
1129 | dnslabeltext.cc \ | |
d926c0da | 1130 | dnsname.cc dnsname.hh \ |
c57747c8 RK |
1131 | dnsparser.cc dnsparser.hh \ |
1132 | dnspcap.cc dnspcap.hh \ | |
1133 | dnsrecords.cc \ | |
1134 | dnswriter.cc dnswriter.hh \ | |
1135 | logger.cc \ | |
1136 | misc.cc \ | |
1137 | nsecrecords.cc \ | |
1138 | qtype.cc \ | |
1139 | rcpgenerator.cc rcpgenerator.hh \ | |
1140 | sillyrecords.cc \ | |
1141 | statbag.cc \ | |
1142 | unix_utility.cc \ | |
1143 | utility.hh | |
1144 | ||
e12ba08e CH |
1145 | dnsgram_LDFLAGS = \ |
1146 | $(AM_LDFLAGS) \ | |
74d83458 | 1147 | $(LIBCRYPTO_LDFLAGS) |
e12ba08e CH |
1148 | |
1149 | dnsgram_LDADD = \ | |
74d83458 | 1150 | $(LIBCRYPTO_LIBS) |
48836055 | 1151 | |
c57747c8 RK |
1152 | dnsdemog_SOURCES = \ |
1153 | base32.cc \ | |
1154 | base64.cc base64.hh \ | |
1155 | dnsdemog.cc \ | |
1156 | dnslabeltext.cc \ | |
d926c0da | 1157 | dnsname.cc dnsname.hh \ |
c57747c8 RK |
1158 | dnsparser.cc dnsparser.hh \ |
1159 | dnspcap.cc dnspcap.hh \ | |
1160 | dnsrecords.cc \ | |
1161 | dnswriter.cc dnswriter.hh \ | |
1162 | logger.cc \ | |
1163 | misc.cc \ | |
1164 | nsecrecords.cc \ | |
1165 | qtype.cc \ | |
1166 | rcpgenerator.cc rcpgenerator.hh \ | |
1167 | sillyrecords.cc \ | |
1168 | statbag.cc \ | |
1169 | unix_utility.cc \ | |
1170 | utility.hh | |
1171 | ||
e12ba08e CH |
1172 | dnsdemog_LDFLAGS = \ |
1173 | $(AM_LDFLAGS) \ | |
74d83458 | 1174 | $(LIBCRYPTO_LDFLAGS) |
e12ba08e CH |
1175 | |
1176 | dnsdemog_LDADD = \ | |
74d83458 | 1177 | $(LIBCRYPTO_LIBS) |
48836055 | 1178 | |
52ebf44e RG |
1179 | dnspcap2calidns_SOURCES = \ |
1180 | base32.cc \ | |
1181 | base64.cc base64.hh \ | |
1182 | dnslabeltext.cc \ | |
1183 | dnsname.cc dnsname.hh \ | |
1184 | dnsparser.cc dnsparser.hh \ | |
1185 | dnspcap.cc dnspcap.hh \ | |
1186 | dnspcap2calidns.cc \ | |
1187 | dnsrecords.cc \ | |
1188 | dnswriter.cc dnswriter.hh \ | |
1189 | ednsoptions.cc ednsoptions.hh \ | |
1190 | ednssubnet.cc ednssubnet.hh \ | |
1191 | iputils.cc \ | |
1192 | logger.cc \ | |
1193 | misc.cc \ | |
1194 | nsecrecords.cc \ | |
1195 | qtype.cc \ | |
1196 | rcpgenerator.cc rcpgenerator.hh \ | |
1197 | sillyrecords.cc \ | |
1198 | statbag.cc \ | |
1199 | unix_utility.cc \ | |
1200 | utility.hh | |
1201 | ||
1202 | dnspcap2calidns_LDFLAGS = \ | |
1203 | $(AM_LDFLAGS) \ | |
1204 | $(LIBCRYPTO_LDFLAGS) \ | |
1205 | $(BOOST_PROGRAM_OPTIONS_LDFLAGS) | |
1206 | ||
1207 | dnspcap2calidns_LDADD = \ | |
1208 | $(LIBCRYPTO_LIBS) \ | |
1209 | $(BOOST_PROGRAM_OPTIONS_LIBS) | |
1210 | ||
8a1cf612 PL |
1211 | if HAVE_PROTOBUF |
1212 | if HAVE_PROTOC | |
a4a74820 | 1213 | bin_PROGRAMS += dnspcap2protobuf |
8a1cf612 | 1214 | |
f483cc6d | 1215 | dnsmessage.pb.cc: dnsmessage.proto |
8a1cf612 PL |
1216 | $(AM_V_GEN)$(PROTOC) --cpp_out=./ $< |
1217 | ||
1218 | BUILT_SOURCES += dnsmessage.pb.cc | |
1219 | dnspcap2protobuf.$(OBJEXT): dnsmessage.pb.cc | |
f483cc6d | 1220 | |
f483cc6d RG |
1221 | dnspcap2protobuf_SOURCES = \ |
1222 | base32.cc \ | |
1223 | base64.cc base64.hh \ | |
1224 | dnslabeltext.cc \ | |
f483cc6d RG |
1225 | dnsname.cc dnsname.hh \ |
1226 | dnsparser.cc dnsparser.hh \ | |
1227 | dnspcap.cc dnspcap.hh \ | |
1228 | dnspcap2protobuf.cc \ | |
1229 | dnsrecords.cc \ | |
1230 | dnswriter.cc dnswriter.hh \ | |
d9d3f9c1 | 1231 | gettime.cc gettime.hh \ |
99c99f2b | 1232 | iputils.cc \ |
f483cc6d RG |
1233 | logger.cc \ |
1234 | misc.cc \ | |
1235 | nsecrecords.cc \ | |
d9d3f9c1 | 1236 | protobuf.cc protobuf.hh \ |
f483cc6d RG |
1237 | qtype.cc \ |
1238 | rcpgenerator.cc rcpgenerator.hh \ | |
1239 | sillyrecords.cc \ | |
1240 | statbag.cc \ | |
1241 | unix_utility.cc \ | |
d61aa945 RG |
1242 | utility.hh \ |
1243 | uuid-utils.hh uuid-utils.cc | |
f483cc6d | 1244 | |
8a1cf612 | 1245 | nodist_dnspcap2protobuf_SOURCES=dnsmessage.pb.cc dnsmessage.pb.h |
ee2ba7b2 | 1246 | |
f483cc6d RG |
1247 | dnspcap2protobuf_LDFLAGS = \ |
1248 | $(AM_LDFLAGS) \ | |
74d83458 | 1249 | $(LIBCRYPTO_LDFLAGS) \ |
f483cc6d RG |
1250 | $(BOOST_PROGRAM_OPTIONS_LDFLAGS) |
1251 | ||
1252 | dnspcap2protobuf_LDADD = \ | |
74d83458 | 1253 | $(LIBCRYPTO_LIBS) \ |
f483cc6d | 1254 | $(PROTOBUF_LIBS) \ |
4a4fcdcb RG |
1255 | $(BOOST_PROGRAM_OPTIONS_LIBS) \ |
1256 | $(RT_LIBS) | |
f483cc6d | 1257 | endif |
8a1cf612 | 1258 | endif |
f483cc6d | 1259 | |
70463abb PL |
1260 | pdns.conf-dist: pdns_server |
1261 | $(AM_V_GEN)./pdns_server --no-config --config 2>/dev/null > $@ | |
1262 | ||
c57747c8 RK |
1263 | testrunner_SOURCES = \ |
1264 | arguments.cc \ | |
bf269e28 RG |
1265 | auth-caches.cc auth-caches.hh \ |
1266 | auth-packetcache.cc auth-packetcache.hh \ | |
1267 | auth-querycache.cc auth-querycache.hh \ | |
c57747c8 RK |
1268 | base32.cc \ |
1269 | base64.cc \ | |
45a82484 RK |
1270 | bindlexer.l \ |
1271 | bindparser.yy \ | |
22de9dc8 | 1272 | dbdnsseckeeper.cc \ |
c57747c8 RK |
1273 | dns.cc \ |
1274 | dns_random.cc \ | |
3971cf53 | 1275 | dnsbackend.cc \ |
c57747c8 | 1276 | dnslabeltext.cc \ |
34eb951c PL |
1277 | dnsname.cc \ |
1278 | dnsname.hh \ | |
c57747c8 | 1279 | dnspacket.cc \ |
4ee48a74 | 1280 | dnsparser.hh dnsparser.cc \ |
c57747c8 RK |
1281 | dnsrecords.cc \ |
1282 | dnssecinfra.cc \ | |
22de9dc8 | 1283 | dnssecsigner.cc \ |
c57747c8 | 1284 | dnswriter.cc \ |
ce4ef9b8 | 1285 | ednsoptions.cc ednsoptions.hh \ |
09b9075e | 1286 | ednscookies.cc ednscookies.hh \ |
c57747c8 | 1287 | ednssubnet.cc \ |
85c7ca75 | 1288 | gettime.cc gettime.hh \ |
fad1b31d | 1289 | gss_context.cc gss_context.hh \ |
496151cf | 1290 | ipcipher.cc ipcipher.hh \ |
443fd8f4 | 1291 | iputils.cc \ |
e503653f | 1292 | ixfr.cc ixfr.hh \ |
c57747c8 | 1293 | logger.cc \ |
0a578d9d AT |
1294 | lua-auth4.hh lua-auth4.cc \ |
1295 | lua-base4.hh lua-base4.cc \ | |
1296 | stubresolver.hh stubresolver.cc \ | |
c57747c8 RK |
1297 | misc.cc \ |
1298 | nameserver.cc \ | |
1299 | nsecrecords.cc \ | |
620d4801 | 1300 | opensslsigners.cc opensslsigners.hh \ |
9674edb2 | 1301 | pollmplexer.cc \ |
c57747c8 RK |
1302 | qtype.cc \ |
1303 | rcpgenerator.cc \ | |
1304 | responsestats.cc \ | |
a263cb47 | 1305 | responsestats-auth.cc \ |
c57747c8 RK |
1306 | sillyrecords.cc \ |
1307 | statbag.cc \ | |
8954859e | 1308 | test-arguments_cc.cc \ |
c57747c8 RK |
1309 | test-base32_cc.cc \ |
1310 | test-base64_cc.cc \ | |
1311 | test-bindparser_cc.cc \ | |
e503653f | 1312 | test-common.hh \ |
f18e430f | 1313 | test-dnsrecordcontent.cc \ |
bfcdbc13 | 1314 | test-digests_hh.cc \ |
491d03d7 | 1315 | test-distributor_hh.cc \ |
c57747c8 | 1316 | test-dns_random_hh.cc \ |
34eb951c | 1317 | test-dnsname_cc.cc \ |
47698274 | 1318 | test-dnsparser_cc.cc \ |
4ee48a74 | 1319 | test-dnsparser_hh.cc \ |
c57747c8 | 1320 | test-dnsrecords_cc.cc \ |
d26fa315 | 1321 | test-dnswriter_cc.cc \ |
7d280342 | 1322 | test-ipcrypt_cc.cc \ |
c57747c8 | 1323 | test-iputils_hh.cc \ |
e503653f | 1324 | test-ixfr_cc.cc \ |
43bce230 | 1325 | test-lock_hh.cc \ |
0a578d9d | 1326 | test-lua_auth4_cc.cc \ |
c57747c8 | 1327 | test-misc_hh.cc \ |
9674edb2 | 1328 | test-mplexer.cc \ |
c57747c8 | 1329 | test-nameserver_cc.cc \ |
fbe23e18 | 1330 | test-packetcache_cc.cc \ |
08b02366 | 1331 | test-packetcache_hh.cc \ |
c57747c8 | 1332 | test-rcpgenerator_cc.cc \ |
22de9dc8 | 1333 | test-signers.cc \ |
34eb951c | 1334 | test-sha_hh.cc \ |
1566533a | 1335 | test-statbag_cc.cc \ |
ea3816cf | 1336 | test-tsig.cc \ |
c57747c8 RK |
1337 | test-zoneparser_tng_cc.cc \ |
1338 | testrunner.cc \ | |
dc825c63 | 1339 | threadname.hh threadname.cc \ |
e503653f | 1340 | tsigverifier.cc tsigverifier.hh \ |
3971cf53 | 1341 | ueberbackend.cc \ |
34eb951c | 1342 | unix_utility.cc \ |
e5408f0b | 1343 | zoneparser-tng.cc zoneparser-tng.hh |
c57747c8 RK |
1344 | |
1345 | testrunner_LDFLAGS = \ | |
b2053c28 | 1346 | $(AM_LDFLAGS) \ |
74d83458 | 1347 | $(LIBCRYPTO_LDFLAGS) \ |
5b71a3b9 | 1348 | $(BOOST_UNIT_TEST_FRAMEWORK_LDFLAGS) |
c57747c8 RK |
1349 | |
1350 | testrunner_LDADD = \ | |
74d83458 | 1351 | $(LIBCRYPTO_LIBS) \ |
3971cf53 | 1352 | $(BOOST_UNIT_TEST_FRAMEWORK_LIBS) \ |
6136b0a1 | 1353 | $(RT_LIBS) \ |
0a578d9d | 1354 | $(LUA_LIBS) \ |
496151cf RG |
1355 | $(LIBDL) \ |
1356 | $(IPCRYPT_LIBS) | |
9bacbe09 | 1357 | |
8daea594 AT |
1358 | if PKCS11 |
1359 | testrunner_SOURCES += pkcs11signers.cc pkcs11signers.hh | |
1360 | testrunner_LDADD += $(P11KIT1_LIBS) | |
1361 | endif | |
1362 | ||
22de9dc8 PD |
1363 | if LIBSODIUM |
1364 | testrunner_SOURCES += sodiumsigners.cc | |
1365 | testrunner_LDADD += $(LIBSODIUM_LIBS) | |
1366 | endif | |
1367 | ||
2b7da695 KM |
1368 | if LIBDECAF |
1369 | testrunner_SOURCES += decafsigners.cc | |
1370 | testrunner_LDADD += $(LIBDECAF_LIBS) | |
1371 | endif | |
1372 | ||
9674edb2 RG |
1373 | if HAVE_FREEBSD |
1374 | ixfrdist_SOURCES += kqueuemplexer.cc | |
1375 | testrunner_SOURCES += kqueuemplexer.cc | |
1376 | endif | |
1377 | ||
1378 | if HAVE_LINUX | |
1379 | ixfrdist_SOURCES += epollmplexer.cc | |
1380 | testrunner_SOURCES += epollmplexer.cc | |
1381 | endif | |
1382 | ||
1383 | if HAVE_SOLARIS | |
1384 | ixfrdist_SOURCES += \ | |
1385 | devpollmplexer.cc \ | |
1386 | portsmplexer.cc | |
1387 | testrunner_SOURCES += \ | |
1388 | devpollmplexer.cc \ | |
1389 | portsmplexer.cc | |
1390 | endif | |
1391 | ||
c57747c8 RK |
1392 | pdns_control_SOURCES = \ |
1393 | arguments.cc \ | |
1394 | dynloader.cc \ | |
1395 | dynmessenger.cc \ | |
1396 | logger.cc \ | |
1397 | misc.cc \ | |
1398 | qtype.cc \ | |
1399 | statbag.cc \ | |
5fb96fa1 RA |
1400 | unix_utility.cc \ |
1401 | dnsname.cc \ | |
1402 | dnslabeltext.cc | |
c57747c8 | 1403 | |
b553fa9d | 1404 | if UNIT_TESTS |
855aacc3 PL |
1405 | |
1406 | if HAVE_BOOST_GE_148 | |
a245e51c | 1407 | TESTS_ENVIRONMENT = env BOOST_TEST_LOG_LEVEL=message SRCDIR='$(srcdir)' |
1e3ee833 | 1408 | TESTS=testrunner |
855aacc3 PL |
1409 | else |
1410 | check-local: | |
1411 | @echo "Unit tests disabled, boost is too old" | |
1412 | endif | |
1413 | ||
cf1125cf | 1414 | else |
e24ea477 | 1415 | check-local: |
cf1125cf | 1416 | @echo "Unit tests are not enabled" |
e24ea477 | 1417 | @echo "Run ./configure --enable-unit-tests" |
b553fa9d | 1418 | endif |
1e3ee833 | 1419 | |
af6f3d53 RG |
1420 | if FUZZ_TARGETS |
1421 | ||
1422 | LIB_FUZZING_ENGINE ?= standalone_fuzz_target_runner.o | |
1423 | ||
1424 | standalone_fuzz_target_runner.o: standalone_fuzz_target_runner.cc | |
1425 | ||
5909c0e1 RG |
1426 | fuzz_targets_programs = \ |
1427 | fuzz_target_dnsdistcache \ | |
1428 | fuzz_target_moadnsparser \ | |
1429 | fuzz_target_packetcache \ | |
1430 | fuzz_target_zoneparsertng | |
1431 | ||
1432 | fuzz_targets: $(fuzz_targets_programs) | |
1433 | ||
af6f3d53 | 1434 | bin_PROGRAMS += \ |
5909c0e1 | 1435 | $(fuzz_targets_programs) |
af6f3d53 RG |
1436 | |
1437 | fuzz_targets_libs = \ | |
1438 | $(LIBCRYPTO_LIBS) \ | |
1439 | $(LIB_FUZZING_ENGINE) | |
1440 | fuzz_targets_ldflags = \ | |
1441 | $(AM_LDFLAGS) \ | |
1442 | $(DYNLINKFLAGS) \ | |
1443 | $(LIBCRYPTO_LDFLAGS) \ | |
1444 | $(FUZZING_LDFLAGS) | |
1445 | ||
1446 | # we need the mockup runner to be built, but not linked if a real fuzzing engine is used | |
1447 | fuzz_targets_deps = standalone_fuzz_target_runner.o | |
1448 | ||
5909c0e1 | 1449 | fuzz_target_moadnsparser_SOURCES = \ |
af6f3d53 RG |
1450 | fuzz_moadnsparser.cc \ |
1451 | base32.cc base32.hh \ | |
1452 | base64.cc base64.hh \ | |
1453 | dnslabeltext.cc \ | |
1454 | dnsname.cc dnsname.hh \ | |
1455 | dnsparser.cc dnsparser.hh \ | |
1456 | dnsrecords.cc dnsrecords.hh \ | |
1457 | dnswriter.cc dnswriter.hh \ | |
1458 | logger.cc logger.hh \ | |
1459 | misc.cc misc.hh \ | |
1460 | nsecrecords.cc \ | |
1461 | qtype.cc qtype.hh \ | |
1462 | rcpgenerator.cc rcpgenerator.hh \ | |
1463 | sillyrecords.cc \ | |
1464 | statbag.cc statbag.hh \ | |
1465 | unix_utility.cc \ | |
1466 | utility.hh | |
1467 | ||
5909c0e1 RG |
1468 | fuzz_target_moadnsparser_DEPENDENCIES = $(fuzz_targets_deps) |
1469 | fuzz_target_moadnsparser_LDFLAGS = $(fuzz_targets_ldflags) | |
1470 | fuzz_target_moadnsparser_LDADD = $(fuzz_targets_libs) | |
af6f3d53 | 1471 | |
5909c0e1 | 1472 | fuzz_target_packetcache_SOURCES = \ |
af6f3d53 RG |
1473 | fuzz_packetcache.cc \ |
1474 | dnslabeltext.cc \ | |
1475 | dnsname.cc dnsname.hh \ | |
1476 | ednsoptions.cc ednsoptions.hh \ | |
1477 | misc.cc misc.hh \ | |
1478 | packetcache.hh \ | |
7bd62b83 | 1479 | qtype.cc qtype.hh \ |
af6f3d53 RG |
1480 | statbag.cc statbag.hh |
1481 | ||
5909c0e1 RG |
1482 | fuzz_target_packetcache_DEPENDENCIES = $(fuzz_targets_deps) |
1483 | fuzz_target_packetcache_LDFLAGS = $(fuzz_targets_ldflags) | |
1484 | fuzz_target_packetcache_LDADD = $(fuzz_targets_libs) | |
af6f3d53 | 1485 | |
5909c0e1 | 1486 | fuzz_target_dnsdistcache_SOURCES = \ |
af6f3d53 RG |
1487 | fuzz_dnsdistcache.cc \ |
1488 | dnsdist-cache.cc dnsdist-cache.hh \ | |
1489 | dnsdist-ecs.cc dnsdist-ecs.hh \ | |
1490 | dnslabeltext.cc \ | |
1491 | dnsname.cc dnsname.hh \ | |
1492 | dnsparser.cc dnsparser.hh \ | |
1493 | dnswriter.cc dnswriter.hh \ | |
ede152ec | 1494 | doh.hh \ |
af6f3d53 RG |
1495 | ednsoptions.cc ednsoptions.hh \ |
1496 | ednssubnet.cc ednssubnet.hh \ | |
1497 | iputils.cc iputils.hh \ | |
1498 | misc.cc misc.hh \ | |
1499 | packetcache.hh \ | |
1500 | qtype.cc qtype.hh | |
1501 | ||
5909c0e1 RG |
1502 | fuzz_target_dnsdistcache_DEPENDENCIES = $(fuzz_targets_deps) |
1503 | fuzz_target_dnsdistcache_LDFLAGS = $(fuzz_targets_ldflags) | |
1504 | fuzz_target_dnsdistcache_LDADD = $(fuzz_targets_libs) | |
af6f3d53 | 1505 | |
5909c0e1 | 1506 | fuzz_target_zoneparsertng_SOURCES = \ |
af6f3d53 RG |
1507 | fuzz_zoneparsertng.cc \ |
1508 | base32.cc base32.hh \ | |
1509 | base64.cc base64.hh \ | |
1510 | dnslabeltext.cc \ | |
1511 | dnsname.cc dnsname.hh \ | |
1512 | dnsparser.cc dnsparser.hh \ | |
1513 | dnsrecords.cc dnsrecords.hh \ | |
1514 | dnswriter.cc dnswriter.hh \ | |
1515 | logger.cc logger.hh \ | |
1516 | misc.cc misc.hh \ | |
1517 | nsecrecords.cc \ | |
1518 | qtype.cc qtype.hh \ | |
1519 | rcpgenerator.cc rcpgenerator.hh \ | |
1520 | sillyrecords.cc \ | |
1521 | statbag.cc statbag.hh \ | |
1522 | unix_utility.cc \ | |
1523 | utility.hh \ | |
1524 | zoneparser-tng.cc zoneparser-tng.hh | |
1525 | ||
5909c0e1 RG |
1526 | fuzz_target_zoneparsertng_DEPENDENCIES = $(fuzz_targets_deps) |
1527 | fuzz_target_zoneparsertng_LDFLAGS = $(fuzz_targets_ldflags) | |
1528 | fuzz_target_zoneparsertng_LDADD = $(fuzz_targets_libs) | |
af6f3d53 RG |
1529 | |
1530 | endif | |
1531 | ||
bac8f21b | 1532 | dnslabeltext.cc: dnslabeltext.rl |
c1479ae2 | 1533 | $(AM_V_GEN)$(RAGEL) $< -o dnslabeltext.cc |
20af48f2 | 1534 | |
fd9f80de | 1535 | bind-dnssec.schema.sqlite3.sql.h: bind-dnssec.schema.sqlite3.sql |
c1479ae2 | 1536 | ( echo 'static char sqlCreate[] __attribute__((unused))=' ; sed 's/$$/"/g' $< | sed 's/^/"/g' ; echo ';' ) > $@ |
fd9f80de | 1537 | |
86198154 | 1538 | # for bindparser.h/hh |
9dd48769 | 1539 | .hh.h: |
86198154 CH |
1540 | cp $< $@ |
1541 | ||
c18960f7 PL |
1542 | bindlexer.$(OBJEXT): bindparser.h |
1543 | ||
4247773a PL |
1544 | curl_verbose = $(curl_verbose_$(V)) |
1545 | curl_verbose_ = $(curl_verbose_$(AM_DEFAULT_VERBOSITY)) | |
1546 | curl_verbose_0 = @echo " CURL " $@; | |
1547 | $(srcdir)/effective_tld_names.dat: | |
95536d16 | 1548 | $(curl_verbose)if ! curl -s -S https://publicsuffix.org/list/public_suffix_list.dat > $@; then rm -f $@; exit 1; fi |
4247773a | 1549 | |
1600715d | 1550 | pubsuffix.cc: $(srcdir)/effective_tld_names.dat |
4247773a | 1551 | $(AM_V_GEN)./mkpubsuffixcc |
45c97f75 PD |
1552 | |
1553 | pdns_recursor rec_control: | |
1554 | @echo "Please build the recursor from the recursordist/ dir" | |
1555 | @exit 1 | |
1556 | ||
1557 | dnsdist: | |
1558 | @echo "Please build dnsdist from the dnsdistdist/ dir" | |
1559 | @exit 1 | |
c5ce3658 PL |
1560 | |
1561 | if HAVE_SYSTEMD | |
1562 | pdns.service: pdns.service.in | |
1563 | $(AM_V_GEN)sed -e 's![@]sbindir[@]!$(sbindir)!' < $< > $@ | |
a3dfb540 | 1564 | if !HAVE_SYSTEMD_LOCK_PERSONALITY |
6992cb2d | 1565 | $(AM_V_GEN)perl -ni -e 'print unless /^LockPersonality/' $@ |
a3dfb540 RG |
1566 | endif |
1567 | if !HAVE_SYSTEMD_PRIVATE_DEVICES | |
6992cb2d | 1568 | $(AM_V_GEN)perl -ni -e 'print unless /^PrivateDevices/' $@ |
a3dfb540 RG |
1569 | endif |
1570 | if !HAVE_SYSTEMD_PRIVATE_TMP | |
6992cb2d | 1571 | $(AM_V_GEN)perl -ni -e 'print unless /^PrivateTmp/' $@ |
a3dfb540 RG |
1572 | endif |
1573 | if !HAVE_SYSTEMD_PROTECT_CONTROL_GROUPS | |
6992cb2d | 1574 | $(AM_V_GEN)perl -ni -e 'print unless /^ProtectControlGroups/' $@ |
a3dfb540 RG |
1575 | endif |
1576 | if !HAVE_SYSTEMD_PROTECT_HOME | |
6992cb2d | 1577 | $(AM_V_GEN)perl -ni -e 'print unless /^ProtectHome/' $@ |
a3dfb540 RG |
1578 | endif |
1579 | if !HAVE_SYSTEMD_PROTECT_KERNEL_MODULES | |
6992cb2d | 1580 | $(AM_V_GEN)perl -ni -e 'print unless /^ProtectKernelModules/' $@ |
a3dfb540 RG |
1581 | endif |
1582 | if !HAVE_SYSTEMD_PROTECT_KERNEL_TUNABLES | |
6992cb2d | 1583 | $(AM_V_GEN)perl -ni -e 'print unless /^ProtectKernelTunables/' $@ |
a3dfb540 RG |
1584 | endif |
1585 | if !HAVE_SYSTEMD_PROTECT_SYSTEM | |
6992cb2d | 1586 | $(AM_V_GEN)perl -ni -e 'print unless /^ProtectSystem/' $@ |
a3dfb540 RG |
1587 | endif |
1588 | if !HAVE_SYSTEMD_RESTRICT_ADDRESS_FAMILIES | |
6992cb2d | 1589 | $(AM_V_GEN)perl -ni -e 'print unless /^RestrictAddressFamilies/' $@ |
a3dfb540 RG |
1590 | endif |
1591 | if !HAVE_SYSTEMD_RESTRICT_NAMESPACES | |
6992cb2d | 1592 | $(AM_V_GEN)perl -ni -e 'print unless /^RestrictNamespaces/' $@ |
a3dfb540 RG |
1593 | endif |
1594 | if !HAVE_SYSTEMD_RESTRICT_REALTIME | |
6992cb2d | 1595 | $(AM_V_GEN)perl -ni -e 'print unless /^RestrictRealtime/' $@ |
a3dfb540 RG |
1596 | endif |
1597 | if !HAVE_SYSTEMD_SYSTEM_CALL_ARCHITECTURES | |
6992cb2d | 1598 | $(AM_V_GEN)perl -ni -e 'print unless /^SystemCallArchitectures/' $@ |
a3dfb540 RG |
1599 | endif |
1600 | if !HAVE_SYSTEMD_SYSTEM_CALL_FILTER | |
6992cb2d | 1601 | $(AM_V_GEN)perl -ni -e 'print unless /^SystemCallFilter/' $@ |
a3dfb540 | 1602 | endif |
c5ce3658 | 1603 | |
e281d725 PL |
1604 | pdns@.service: pdns.service |
1605 | $(AM_V_GEN)sed -e 's!/pdns_server!& --config-name=%i!' \ | |
1606 | -e 's!Authoritative Server!& %i!' \ | |
1607 | < $< > $@ | |
1608 | ||
c5ce3658 PL |
1609 | systemdsystemunitdir = $(SYSTEMD_DIR) |
1610 | ||
1611 | systemdsystemunit_DATA = \ | |
e281d725 PL |
1612 | pdns.service \ |
1613 | pdns@.service | |
b14d512f | 1614 | |
50169e30 CH |
1615 | CLEANFILES += \ |
1616 | pdns.service \ | |
1617 | pdns@.service | |
1618 | ||
ca28add0 | 1619 | if IXFRDIST |
b14d512f PL |
1620 | ixfrdist.service: ixfrdist.service.in |
1621 | $(AM_V_GEN)sed -e 's![@]bindir[@]!$(bindir)!' < $< > $@ | |
1622 | ||
0a7eb290 PL |
1623 | ixfrdist@.service: ixfrdist.service |
1624 | $(AM_V_GEN)sed -e 's!/ixfrdist!& --config $(sysconfdir)/ixfrdist-%i.yml!' \ | |
1625 | < $< > $@ | |
1626 | ||
b14d512f | 1627 | systemdsystemunit_DATA += \ |
0a7eb290 PL |
1628 | ixfrdist.service \ |
1629 | ixfrdist@.service | |
ca28add0 | 1630 | endif # IXFRDIST |
b14d512f | 1631 | |
50169e30 | 1632 | CLEANFILES += \ |
0a7eb290 PL |
1633 | ixfrdist.service \ |
1634 | ixfrdist@.service | |
50169e30 | 1635 | |
b14d512f | 1636 | endif # HAVE_SYSTEMD |