1
0
mirror of git://erdgeist.org/opentracker synced 2025-01-14 00:40:09 +00:00

Introduce vector debuggin code and stats restriction options

This commit is contained in:
erdgeist 2008-10-24 00:00:55 +00:00
parent cbd39af72d
commit 97980de3d9

View File

@ -29,7 +29,9 @@ BINDIR?=$(PREFIX)/bin
#FEATURES+=-DWANT_IP_FROM_QUERY_STRING
#FEATURES+=-DWANT_COMPRESSION_GZIP
#FEATURES+=-DWANT_LOG_NETWORKS
#FEATURES+=-DWANT_RESTRICT_STATS
#FEATURES+=-D_DEBUG_HTTPERROR
#FEATURES+=-D_DEBUG_VECTOR
FEATURES+=-DWANT_FULLSCRAPE
@ -53,7 +55,7 @@ all: $(BINARY) $(BINARY).debug
CFLAGS_production = $(CFLAGS) $(OPTS_production) $(FEATURES)
CFLAGS_debug = $(CFLAGS) $(OPTS_debug) $(FEATURES)
$(BINARY): $(OBJECTS)
$(BINARY): $(OBJECTS) $(HEADERS)
$(CC) -o $@ $(OBJECTS) $(LDFLAGS)
strip $@
$(BINARY).debug: $(OBJECTS_debug) $(HEADERS)