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

Revision 721, 4.8 KB (checked in by ahu, 7 years ago)

fix 'removing unlisted fd from multiplexer'
remove --single-socket support (and --query-local-port with it)
make powerdns deal with resource limit errors (specifically EMFILE)
make reporting ICMP errors faster by passing around PacketID

  • 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 docs/expand \
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
15bin_PROGRAMS = pdns_control  rec_control
16else
17sbin_PROGRAMS = pdns_server
18bin_PROGRAMS = pdns_control 
19endif
20
21
22
23EXTRA_PROGRAMS=pdns_recursor sdig dnspbench pdns_control qgen dnsscope dnsreplay_mindex dnswasher dnsreplay dnsscan
24
25pdns_server_SOURCES=dnspacket.cc nameserver.cc tcpreceiver.hh \
26qtype.cc logger.cc arguments.cc packethandler.cc tcpreceiver.cc \
27packetcache.cc statbag.cc ahuexception.hh arguments.hh distributor.hh \
28dns.hh dnsbackend.hh dnsbackend.cc dnspacket.hh dynmessenger.hh lock.hh logger.hh \
29nameserver.hh packetcache.hh packethandler.hh qtype.hh statbag.hh \
30ueberbackend.hh pdns.conf-dist ws.hh ws.cc webserver.cc webserver.hh \
31session.cc session.hh misc.cc misc.hh receiver.cc ueberbackend.cc \
32dynlistener.cc dynlistener.hh  dynhandler.cc dynhandler.hh  \
33resolver.hh resolver.cc communicator.cc communicator.hh dnsproxy.cc \
34dnsproxy.hh randombackend.cc unix_utility.cc common_startup.cc \
35utility.hh iputils.hh common_startup.hh unix_semaphore.cc \
36backends/bind/bindbackend2.cc backends/bind/zoneparser2.cc \
37backends/bind/bindparser.cc backends/bind/bindlexer.c \
38backends/bind/huffman.cc backends/gsql/gsqlbackend.cc \
39backends/gsql/gsqlbackend.hh backends/gsql/ssql.hh \
40sillyrecords.cc backends/bind/bindbackend.cc base64.cc \
41base64.hh
42
43#
44pdns_server_LDFLAGS= @moduleobjects@ @modulelibs@ @DYNLINKFLAGS@ @LIBDL@ @THREADFLAGS@
45pdns_server_INCLUDES=
46
47sdig_SOURCES=sdig.cc sstuff.hh dnsparser.cc dnsparser.hh dnsrecords.cc dnswriter.cc dnswriter.hh \
48        misc.cc misc.hh rcpgenerator.cc rcpgenerator.hh base64.cc base64.hh unix_utility.cc \
49        logger.cc statbag.cc qtype.cc
50
51dnspbench_SOURCES=dnspbench.cc sstuff.hh dnsparser.cc dnsparser.hh dnsrecords.cc dnswriter.cc dnswriter.hh \
52        misc.cc misc.hh rcpgenerator.cc rcpgenerator.hh base64.cc base64.hh unix_utility.cc logger.cc \
53        statbag.cc qtype.cc
54
55
56qgen_SOURCES=resolver.cc resolver.hh misc.cc unix_utility.cc qtype.cc \
57        logger.cc statbag.cc dnspacket.cc arguments.cc  qgen.cc \
58         sillyrecords.cc
59
60qgen_LDFLAGS=  @DYNLINKFLAGS@ -lboost_regex
61
62dnswasher_SOURCES=dnswasher.cc misc.cc unix_utility.cc qtype.cc \
63        logger.cc statbag.cc  dnspcap.cc dnspcap.hh dnsparser.hh
64
65dnswasher_LDFLAGS= @DYNLINKFLAGS@ @THREADFLAGS@
66
67# unix_utility.cc
68
69dnsreplay_SOURCES=dnsreplay.cc misc.cc  qtype.cc anadns.hh \
70        logger.cc statbag.cc  dnspcap.cc dnspcap.hh dnsparser.cc dnsrecords.cc dnsparser.hh \
71        dnswriter.cc dnswriter.hh rcpgenerator.cc rcpgenerator.hh base64.cc base64.hh unix_utility.cc
72
73dnsreplay_LDFLAGS= @DYNLINKFLAGS@ @THREADFLAGS@
74
75dnsscan_SOURCES=dnsscan.cc misc.cc  qtype.cc anadns.hh \
76        logger.cc statbag.cc  dnspcap.cc dnspcap.hh dnsparser.cc dnsrecords.cc dnsparser.hh  \
77        rcpgenerator.cc rcpgenerator.hh base64.cc base64.hh dnswriter.cc dnswriter.hh \
78        unix_utility.cc utility.hh             
79
80dnsreplay_mindex_SOURCES=dnsreplay-mindex.cc misc.cc  qtype.cc anadns.hh \
81        logger.cc statbag.cc  dnspcap.cc dnspcap.hh dnsparser.cc dnsrecords.cc dnsparser.hh  \
82        rcpgenerator.cc rcpgenerator.hh base64.cc base64.hh dnswriter.cc dnswriter.hh \
83        unix_utility.cc utility.hh             
84
85dnsreplay_mindex_LDFLAGS= @DYNLINKFLAGS@ @THREADFLAGS@
86
87dnsscope_SOURCES=dnsscope.cc misc.cc unix_utility.cc qtype.cc \
88        logger.cc statbag.cc  dnspcap.cc dnspcap.hh dnsparser.cc dnsrecords.cc \
89        base64.cc base64.hh dnswriter.cc dnswriter.hh rcpgenerator.cc rcpgenerator.hh \
90        utility.hh dnsparser.hh
91
92dnsscope_LDFLAGS= @DYNLINKFLAGS@ @THREADFLAGS@
93
94
95# INCLUDES=-I/usr/include/mysql
96
97rec_control_SOURCES=rec_channel.cc rec_channel.hh rec_control.cc arguments.cc arguments.hh
98
99pdns_recursor_SOURCES=syncres.cc resolver.hh misc.cc unix_utility.cc qtype.cc \
100logger.cc statbag.cc arguments.cc  lwres.cc pdns_recursor.cc lwres.hh \
101mtasker.hh syncres.hh recursor_cache.cc recursor_cache.hh dnsparser.cc \
102dnswriter.cc dnswriter.hh dnsrecords.cc dnsrecords.hh rcpgenerator.cc rcpgenerator.hh \
103base64.cc base64.hh zoneparser-tng.cc zoneparser-tng.hh rec_channel.cc rec_channel.hh \
104rec_channel_rec.cc selectmplexer.cc epollmplexer.cc
105
106if NEDMALLOC
107pdns_recursor_SOURCES += ext/nedmalloc/malloc.c
108endif
109
110#../modules/gmysqlbackend/smysql.cc
111
112pdns_recursor_LDFLAGS=
113pdns_recursor_LDADD=
114
115pdns_control_SOURCES=dynloader.cc dynmessenger.cc  arguments.cc logger.cc statbag.cc \
116misc.cc unix_utility.cc qtype.cc
117
118pdns_control_INCLUDES=path.hh
119pdns_control_LDFLAGS=@THREADFLAGS@
120
121# binpatch_SOURCES=binpatch.cc
122
123SUBDIRS= backends .
Note: See TracBrowser for help on using the browser.