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