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

Revision 306, 2.6 KB (checked in by ahu, 8 years ago)

Make 'sdig' compilation optional - it requires boost, which is a new pdns dependency. Most people won't need sdig.

  • 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 
20
21EXTRA_PROGRAMS=pdns_recursor sdig pdns_control qgen
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 \
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
39
40#
41pdns_server_LDFLAGS= @moduleobjects@ @modulelibs@ @DYNLINKFLAGS@ @LIBDL@ @THREADFLAGS@
42pdns_server_INCLUDES=
43
44sdig_SOURCES=sdig.cc sstuff.hh dnsparser.cc dnsparser.hh dnsrecords.cc
45
46
47qgen_SOURCES=resolver.cc resolver.hh misc.cc unix_utility.cc qtype.cc \
48        logger.cc statbag.cc dnspacket.cc arguments.cc  qgen.cc \
49         sillyrecords.cc
50
51qgen_LDFLAGS= @THREADFLAGS@ @DYNLINKFLAGS@ -lboost_regex
52
53# INCLUDES=-I/usr/include/mysql
54
55pdns_recursor_SOURCES=syncres.cc resolver.hh misc.cc unix_utility.cc qtype.cc \
56logger.cc statbag.cc dnspacket.cc arguments.cc  lwres.cc pdns_recursor.cc lwres.hh \
57mtasker.hh sillyrecords.cc syncres.hh recursor_cache.cc recursor_cache.hh
58
59#../modules/gmysqlbackend/smysql.cc
60
61pdns_recursor_LDFLAGS=
62pdns_recursor_LDADD=
63
64pdns_control_SOURCES=dynloader.cc dynmessenger.cc  arguments.cc logger.cc statbag.cc misc.cc unix_utility.cc
65pdns_control_INCLUDES=path.hh
66pdns_control_LDFLAGS=@THREADFLAGS@
67
68# binpatch_SOURCES=binpatch.cc
69
70SUBDIRS= backends .
71
Note: See TracBrowser for help on using the browser.