|
|
@ -25,9 +25,8 @@ BINDIR?=$(PREFIX)/bin
|
|
|
|
#FEATURES+=-DWANT_ACCESSLIST_WHITE
|
|
|
|
#FEATURES+=-DWANT_ACCESSLIST_WHITE
|
|
|
|
|
|
|
|
|
|
|
|
#FEATURES+=-DWANT_SYNC_LIVE
|
|
|
|
#FEATURES+=-DWANT_SYNC_LIVE
|
|
|
|
#FEATURES+=-DWANT_SYNC_SCRAPE
|
|
|
|
|
|
|
|
#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+=-DWANT_RESTRICT_STATS
|
|
|
|
#FEATURES+=-DWANT_IP_FROM_PROXY
|
|
|
|
#FEATURES+=-DWANT_IP_FROM_PROXY
|
|
|
@ -41,7 +40,7 @@ FEATURES+=-DWANT_FULLSCRAPE
|
|
|
|
#FEATURES+=-D_DEBUG_HTTPERROR
|
|
|
|
#FEATURES+=-D_DEBUG_HTTPERROR
|
|
|
|
|
|
|
|
|
|
|
|
OPTS_debug=-D_DEBUG -g -ggdb # -pg -fprofile-arcs -ftest-coverage
|
|
|
|
OPTS_debug=-D_DEBUG -g -ggdb # -pg -fprofile-arcs -ftest-coverage
|
|
|
|
OPTS_production=-Os
|
|
|
|
OPTS_production=-O3
|
|
|
|
|
|
|
|
|
|
|
|
CFLAGS+=-I$(LIBOWFAT_HEADERS) -Wall -pipe -Wextra #-ansi -pedantic
|
|
|
|
CFLAGS+=-I$(LIBOWFAT_HEADERS) -Wall -pipe -Wextra #-ansi -pedantic
|
|
|
|
LDFLAGS+=-L$(LIBOWFAT_LIBRARY) -lowfat -pthread -lpthread -lz
|
|
|
|
LDFLAGS+=-L$(LIBOWFAT_LIBRARY) -lowfat -pthread -lpthread -lz
|
|
|
|