OPTFLAGS?=-O3
CXXFLAGS:= $(CXXFLAGS) -Wall $(OPTFLAGS) $(PROFILEFLAGS)
+CFLAGS:=$(CFLAGS) -Wall $(OPTFLAGS) $(PROFILEFLAGS)
+
LDFLAGS+= $(PROFILEFLAGS)
all: pdns_recursor rec_control
PDNS_RECURSOR_OBJECTS=syncres.o misc.o unix_utility.o qtype.o logger.o \
arguments.o lwres.o pdns_recursor.o recursor_cache.o dnsparser.o \
dnswriter.o dnsrecords.o rcpgenerator.o base64.o zoneparser-tng.o \
-rec_channel.o rec_channel_rec.o
+rec_channel.o rec_channel_rec.o malloc.o
REC_CONTROL_OBJECTS=rec_channel.o rec_control.o arguments.o
3) Compile the PowerDNS recursor using:
-$ CXXFLAGS=-I./boost-1.33.1/ make
+$ CXXFLAGS=-I./boost-1_33_1/ make
4) Run ./pdns_recursor and you should be set!
cp config-recursor.h pdns-recursor/config.h
mkdir pdns-recursor/rrd
cp tools/rrd/{create,update,makegraphs,index.html} pdns-recursor/rrd
-
+cp ext/nedmalloc/malloc.c pdns-recursor
tar cjf pdns-recursor.tar.bz2 pdns-recursor