diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -19,6 +19,8 @@ LIBOWFAT_LIBRARY=$(PREFIX)/libowfat | |||
19 | 19 | ||
20 | BINDIR?=$(PREFIX)/bin | 20 | BINDIR?=$(PREFIX)/bin |
21 | 21 | ||
22 | #FEATURES+=-DWANT_V6 | ||
23 | |||
22 | #FEATURES+=-DWANT_ACCESSLIST_BLACK | 24 | #FEATURES+=-DWANT_ACCESSLIST_BLACK |
23 | #FEATURES+=-DWANT_ACCESSLIST_WHITE | 25 | #FEATURES+=-DWANT_ACCESSLIST_WHITE |
24 | 26 | ||
@@ -31,13 +33,12 @@ BINDIR?=$(PREFIX)/bin | |||
31 | FEATURES+=-DWANT_FULLSCRAPE | 33 | FEATURES+=-DWANT_FULLSCRAPE |
32 | 34 | ||
33 | #FEATURES+=-D_DEBUG_HTTPERROR | 35 | #FEATURES+=-D_DEBUG_HTTPERROR |
34 | #FEATURES+=-D_DEBUG_PEERID | ||
35 | 36 | ||
36 | OPTS_debug=-D_DEBUG -g -ggdb # -pg -fprofile-arcs -ftest-coverage | 37 | OPTS_debug=-D_DEBUG -g -ggdb # -pg -fprofile-arcs -ftest-coverage |
37 | OPTS_production=-Os | 38 | OPTS_production=-Os |
38 | 39 | ||
39 | CFLAGS+=-I$(LIBOWFAT_HEADERS) -Wall -pipe -Wextra #-ansi -pedantic | 40 | CFLAGS+=-I$(LIBOWFAT_HEADERS) -Wall -pipe -Wextra #-ansi -pedantic |
40 | LDFLAGS+=-L$(LIBOWFAT_LIBRARY) -lowfat -pthread -lz | 41 | LDFLAGS+=-L$(LIBOWFAT_LIBRARY) -lowfat -pthread -lpthread -lz |
41 | 42 | ||
42 | BINARY =opentracker | 43 | BINARY =opentracker |
43 | HEADERS=trackerlogic.h scan_urlencoded_query.h ot_mutex.h ot_stats.h ot_vector.h ot_clean.h ot_udp.h ot_iovec.h ot_fullscrape.h ot_accesslist.h ot_http.h ot_livesync.h | 44 | HEADERS=trackerlogic.h scan_urlencoded_query.h ot_mutex.h ot_stats.h ot_vector.h ot_clean.h ot_udp.h ot_iovec.h ot_fullscrape.h ot_accesslist.h ot_http.h ot_livesync.h |