]>
Commit | Line | Data |
---|---|---|
e85e4d88 | 1 | AM_CPPFLAGS = -I pdns $(LUA_CFLAGS) $(YAHTTP_CFLAGS) $(BOOST_CPPFLAGS) $(SANITIZER_FLAGS) -I$(CURDIR)/ext/mbedtls/include -O3 -Wall -pthread -DSYSCONFDIR=\"${sysconfdir}\" |
50bed881 | 2 | |
91487eb9 PL |
3 | ACLOCAL_AMFLAGS = -I m4 |
4 | ||
f8204e9e | 5 | SUBDIRS=ext/yahttp |
bbfefc98 | 6 | |
7 | dnslabeltext.cc: dnslabeltext.rl | |
4676400a | 8 | ragel $< -o dnslabeltext.cc |
9 | ||
a1f81e3b | 10 | BUILT_SOURCES=htmlfiles.h |
11 | ||
50bed881 | 12 | htmlfiles.h: html/* |
13 | ./incfiles > $@ | |
bbfefc98 | 14 | |
994c0ab3 PL |
15 | man_MANS=dnsdist.1 |
16 | ||
17 | EXTRA_DIST=dnslabeltext.rl \ | |
18 | dnsdistconf.lua \ | |
19 | README.md \ | |
25553371 | 20 | delaypipe.cc delaypipe.hh \ |
994c0ab3 | 21 | html \ |
5242cc51 PL |
22 | dnsdist.1 \ |
23 | .version \ | |
24 | contrib | |
bbfefc98 | 25 | |
ca404e94 RG |
26 | if UNIT_TESTS |
27 | bin_PROGRAMS = dnsdist testrunner | |
28 | else | |
bbfefc98 | 29 | bin_PROGRAMS = dnsdist |
ca404e94 RG |
30 | endif |
31 | ||
bbfefc98 | 32 | dnsdist_SOURCES = \ |
1489accc | 33 | base64.hh \ |
77f8ae1a | 34 | dns.cc dns.hh \ |
bbfefc98 | 35 | dnsdist.cc dnsdist.hh \ |
96b092a7 | 36 | dnsdist-carbon.cc \ |
ffb07158 | 37 | dnsdist-console.cc \ |
ca404e94 | 38 | dnsdist-ecs.cc dnsdist-ecs.hh \ |
bbfefc98 | 39 | dnsdist-lua.cc \ |
80a216c9 | 40 | dnsdist-lua2.cc \ |
f092a5c7 | 41 | dnsdist-rings.cc \ |
8a5d5053 | 42 | dnsdist-tcp.cc \ |
50bed881 | 43 | dnsdist-web.cc \ |
bbfefc98 | 44 | dnslabeltext.cc \ |
45 | dnsname.cc dnsname.hh \ | |
ca404e94 | 46 | dnsparser.hh dnsparser.cc \ |
0940e4eb | 47 | dnsrulactions.hh \ |
bbfefc98 | 48 | dnswriter.cc dnswriter.hh \ |
49 | dolog.hh \ | |
ca404e94 | 50 | ednssubnet.cc ednssubnet.hh \ |
bbfefc98 | 51 | iputils.cc iputils.hh \ |
0e41337b | 52 | lock.hh \ |
bbfefc98 | 53 | misc.cc misc.hh \ |
ed1f29ef | 54 | htmlfiles.h \ |
bbfefc98 | 55 | namespaces.hh \ |
56 | pdnsexception.hh \ | |
57 | qtype.cc qtype.hh \ | |
ecbe9133 | 58 | sholder.hh \ |
bbfefc98 | 59 | sodcrypto.cc sodcrypto.hh \ |
f8204e9e PL |
60 | sstuff.hh \ |
61 | ext/luawrapper/include/LuaContext.hpp \ | |
62 | ext/json11/json11.cpp \ | |
63 | ext/json11/json11.hpp \ | |
6d3c3c66 KM |
64 | ext/incbin/incbin.h \ |
65 | ext/mbedtls/include/mbedtls/config.h \ | |
66 | ext/mbedtls/include/mbedtls/check_config.h \ | |
67 | ext/mbedtls/include/mbedtls/base64.h \ | |
68 | ext/mbedtls/include/mbedtls/platform.h \ | |
69 | ext/mbedtls/library/base64.c | |
bbfefc98 | 70 | |
71 | dnsdist_LDFLAGS = \ | |
72 | $(AM_LDFLAGS) \ | |
bfb7cc84 | 73 | $(PROGRAM_LDFLAGS) \ |
50bed881 | 74 | -pthread |
bbfefc98 | 75 | |
76 | dnsdist_LDADD = \ | |
a6158e7a RK |
77 | $(LUA_LIBS) \ |
78 | $(READLINE_LIBS) \ | |
79 | $(RT_LIBS) \ | |
80 | $(YAHTTP_LIBS) \ | |
e85e4d88 RG |
81 | $(LIBSODIUM_LIBS) \ |
82 | $(SANITIZER_FLAGS) | |
bbfefc98 | 83 | |
ca404e94 RG |
84 | |
85 | testrunner_SOURCES = \ | |
e27e17c3 MK |
86 | base64.hh dns.hh \ |
87 | test-base64_cc.cc \ | |
ca404e94 RG |
88 | test-dnsdist_cc.cc dnsdist.hh \ |
89 | dnsdist-ecs.cc dnsdist-ecs.hh \ | |
90 | dnslabeltext.cc \ | |
91 | dnsname.cc dnsname.hh \ | |
92 | dnsparser.hh dnsparser.cc \ | |
93 | dnswriter.cc dnswriter.hh \ | |
94 | dolog.hh \ | |
95 | ednssubnet.cc ednssubnet.hh \ | |
96 | iputils.cc iputils.hh \ | |
97 | misc.cc misc.hh \ | |
98 | namespaces.hh \ | |
99 | pdnsexception.hh \ | |
100 | qtype.cc qtype.hh \ | |
101 | sholder.hh \ | |
e27e17c3 | 102 | sodcrypto.cc \ |
ca404e94 RG |
103 | sstuff.hh \ |
104 | testrunner.cc | |
105 | ||
106 | testrunner_LDFLAGS = \ | |
107 | $(AM_LDFLAGS) \ | |
108 | $(PROGRAM_LDFLAGS) \ | |
109 | $(BOOST_UNIT_TEST_FRAMEWORK_LDFLAGS) \ | |
110 | -pthread | |
111 | ||
112 | testrunner_LDADD = \ | |
113 | $(BOOST_UNIT_TEST_FRAMEWORK_LIBS) \ | |
114 | $(RT_LIBS) | |
115 |