root/trunk/pdns/pdns/Makefile.am @ 516

Revision 516, 4.0 KB (checked in by ahu, 8 years ago)

fix compilation of dnsreplay
move pdns_recursor cache to 'optString', which uses placement-new hacks
make pdns_recursor set query-response bit
(reminder: make it ignore questions with query-response!)
improve error reporting in pdns_recursor a bit
some more experiments in dnspbench

  • Property svn:eol-style set to native
  • Property svn:keywords set to author date id revision
Line 
1AM_CXXFLAGS=-DSYSCONFDIR=\"@sysconfdir@\" -DLIBDIR=\"@libdir@\" -DLOCALSTATEDIR=\"@socketdir@\" -Ibackends/bind
2AM_CPPFLAGS=-Ibackends/bind @THREADFLAGS@
3
4EXTRA_DIST = docs/Makefile \
5docs/gslb-operations.sgml docs/powerdns-case.sgml docs/powerdns-install.sgml \
6docs/powerdns-overview.sgml docs/powerdns-technical.sgml  \
7docs/pdns.sgml mtasker.cc \
8docs/pdns_control.8  docs/pdns_server.8 docs/zone2sql.8
9
10noinst_SCRIPTS = pdns
11sysconf_DATA = pdns.conf-dist
12
13if RECURSOR
14sbin_PROGRAMS = pdns_server pdns_recursor
15else
16sbin_PROGRAMS = pdns_server
17endif
18
19bin_PROGRAMS = pdns_control  dnswasher dnsreplay
20
21EXTRA_PROGRAMS=pdns_recursor sdig dnspbench pdns_control qgen dnsscope dnsreplay_mindex
22
23pdns_server_SOURCES=dnspacket.cc nameserver.cc tcpreceiver.hh \
24qtype.cc logger.cc arguments.cc packethandler.cc tcpreceiver.cc \
25packetcache.cc statbag.cc ahuexception.hh arguments.hh distributor.hh \
26dns.hh dnsbackend.hh dnsbackend.cc dnspacket.hh dynmessenger.hh lock.hh logger.hh \
27nameserver.hh packetcache.hh packethandler.hh qtype.hh statbag.hh \
28ueberbackend.hh pdns.conf-dist ws.hh ws.cc webserver.cc webserver.hh \
29session.cc session.hh misc.cc misc.hh receiver.cc ueberbackend.cc \
30dynlistener.cc dynlistener.hh  dynhandler.cc dynhandler.hh  \
31resolver.hh resolver.cc communicator.cc communicator.hh dnsproxy.cc \
32dnsproxy.hh randombackend.cc unix_utility.cc common_startup.cc \
33utility.hh iputils.hh common_startup.hh unix_semaphore.cc \
34backends/bind/bindbackend2.cc backends/bind/zoneparser2.cc \
35backends/bind/bindparser.cc backends/bind/bindlexer.c \
36backends/bind/huffman.cc backends/gsql/gsqlbackend.cc \
37backends/gsql/gsqlbackend.hh backends/gsql/ssql.hh \
38sillyrecords.cc backends/bind/bindbackend.cc base64.cc \
39base64.hh
40
41#
42pdns_server_LDFLAGS= @moduleobjects@ @modulelibs@ @DYNLINKFLAGS@ @LIBDL@ @THREADFLAGS@
43pdns_server_INCLUDES=
44
45sdig_SOURCES=sdig.cc sstuff.hh dnsparser.cc dnsparser.hh dnsrecords.cc dnswriter.cc dnswriter.hh \
46        misc.cc misc.hh rcpgenerator.cc rcpgenerator.hh base64.cc base64.hh
47
48dnspbench_SOURCES=dnspbench.cc sstuff.hh dnsparser.cc dnsparser.hh dnsrecords.cc dnswriter.cc dnswriter.hh \
49        misc.cc misc.hh rcpgenerator.cc rcpgenerator.hh base64.cc base64.hh
50
51
52qgen_SOURCES=resolver.cc resolver.hh misc.cc unix_utility.cc qtype.cc \
53        logger.cc statbag.cc dnspacket.cc arguments.cc  qgen.cc \
54         sillyrecords.cc
55
56qgen_LDFLAGS=  @DYNLINKFLAGS@ -lboost_regex
57
58dnswasher_SOURCES=dnswasher.cc misc.cc unix_utility.cc qtype.cc \
59        logger.cc statbag.cc  dnspcap.cc dnspcap.hh dnsparser.hh
60
61dnswasher_LDFLAGS= @DYNLINKFLAGS@ @THREADFLAGS@
62
63# unix_utility.cc
64
65dnsreplay_SOURCES=dnsreplay.cc misc.cc  qtype.cc anadns.hh \
66        logger.cc statbag.cc  dnspcap.cc dnspcap.hh dnsparser.cc dnsrecords.cc dnsparser.hh \
67        dnswriter.cc dnswriter.hh rcpgenerator.cc rcpgenerator.hh base64.cc base64.hh
68
69dnsreplay_LDFLAGS= @DYNLINKFLAGS@ @THREADFLAGS@
70
71dnsreplay_mindex_SOURCES=dnsreplay-mindex.cc misc.cc  qtype.cc anadns.hh \
72        logger.cc statbag.cc  dnspcap.cc dnspcap.hh dnsparser.cc dnsrecords.cc dnsparser.hh  \
73        rcpgenerator.cc rcpgenerator.hh base64.cc base64.hh dnswriter.cc dnswriter.hh
74
75dnsreplay_mindex_LDFLAGS= @DYNLINKFLAGS@ @THREADFLAGS@
76
77
78
79dnsscope_SOURCES=dnsscope.cc misc.cc unix_utility.cc qtype.cc \
80        logger.cc statbag.cc  dnspcap.cc dnspcap.hh dnsparser.cc dnsrecords.cc
81
82dnsscope_LDFLAGS= @DYNLINKFLAGS@ @THREADFLAGS@
83
84
85# INCLUDES=-I/usr/include/mysql
86
87pdns_recursor_SOURCES=syncres.cc resolver.hh misc.cc unix_utility.cc qtype.cc \
88logger.cc statbag.cc dnspacket.cc arguments.cc  lwres.cc pdns_recursor.cc lwres.hh \
89mtasker.hh sillyrecords.cc syncres.hh recursor_cache.cc recursor_cache.hh dnsparser.cc \
90dnswriter.cc dnswriter.hh dnsrecords.cc dnsrecord.hh rcpgenerator.cc rcpgenerator.hh \
91base64.cc base64.hh
92
93#../modules/gmysqlbackend/smysql.cc
94
95pdns_recursor_LDFLAGS=
96pdns_recursor_LDADD=
97
98pdns_control_SOURCES=dynloader.cc dynmessenger.cc  arguments.cc logger.cc statbag.cc misc.cc unix_utility.cc
99pdns_control_INCLUDES=path.hh
100pdns_control_LDFLAGS=@THREADFLAGS@
101
102# binpatch_SOURCES=binpatch.cc
103
104SUBDIRS= backends .
Note: See TracBrowser for help on using the browser.