diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 15 |
1 files changed, 10 insertions, 5 deletions
@@ -19,15 +19,20 @@ LIBOWFAT_LIBRARY=$(PREFIX)/libowfat | |||
19 | 19 | ||
20 | BINDIR?=$(PREFIX)/bin | 20 | BINDIR?=$(PREFIX)/bin |
21 | 21 | ||
22 | #FEATURES =-DWANT_TRACKER_SYNC | 22 | #FEATURES+=-DWANT_ACCESSLIST_BLACK |
23 | #FEATURES+=-DWANT_BLACKLISTING | 23 | #FEATURES+=-DWANT_ACCESSLIST_WHITE |
24 | #FEATURES+=-DWANT_CLOSED_TRACKER | 24 | |
25 | #FEATURES+=-DWANT_SYNC_BATCH | ||
26 | #FEATURES+=-DWANT_SYNC_LIVE | ||
27 | |||
25 | #FEATURES+=-DWANT_UTORRENT1600_WORKAROUND | 28 | #FEATURES+=-DWANT_UTORRENT1600_WORKAROUND |
26 | #FEATURES+=-DWANT_IP_FROM_QUERY_STRING | 29 | #FEATURES+=-DWANT_IP_FROM_QUERY_STRING |
27 | #FEATURES+=-DWANT_COMPRESSION_GZIP | 30 | #FEATURES+=-DWANT_COMPRESSION_GZIP |
28 | #FEATURES+=-DWANT_LOG_NETWORKS | 31 | #FEATURES+=-DWANT_LOG_NETWORKS |
29 | #FEATURES+=-D_DEBUG_HTTPERROR | 32 | #FEATURES+=-D_DEBUG_HTTPERROR |
30 | 33 | ||
34 | FEATURES+=-DWANT_FULLSCRAPE | ||
35 | |||
31 | OPTS_debug=-g -ggdb #-pg # -fprofile-arcs -ftest-coverage | 36 | OPTS_debug=-g -ggdb #-pg # -fprofile-arcs -ftest-coverage |
32 | OPTS_production=-Os | 37 | OPTS_production=-Os |
33 | 38 | ||
@@ -35,8 +40,8 @@ CFLAGS+=-I$(LIBOWFAT_HEADERS) -Wall -pipe -Wextra #-pedantic -ansi | |||
35 | LDFLAGS+=-L$(LIBOWFAT_LIBRARY) -lowfat -pthread -lz | 40 | LDFLAGS+=-L$(LIBOWFAT_LIBRARY) -lowfat -pthread -lz |
36 | 41 | ||
37 | BINARY =opentracker | 42 | BINARY =opentracker |
38 | HEADERS=trackerlogic.h scan_urlencoded_query.h ot_mutex.h ot_stats.h ot_sync.h ot_vector.h ot_clean.h ot_udp.h ot_iovec.h ot_fullscrape.h ot_accesslist.h ot_http.h | 43 | HEADERS=trackerlogic.h scan_urlencoded_query.h ot_mutex.h ot_stats.h ot_sync.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 |
39 | SOURCES=opentracker.c trackerlogic.c scan_urlencoded_query.c ot_mutex.c ot_stats.c ot_sync.c ot_vector.c ot_clean.c ot_udp.c ot_iovec.c ot_fullscrape.c ot_accesslist.c ot_http.c | 44 | SOURCES=opentracker.c trackerlogic.c scan_urlencoded_query.c ot_mutex.c ot_stats.c ot_sync.c ot_vector.c ot_clean.c ot_udp.c ot_iovec.c ot_fullscrape.c ot_accesslist.c ot_http.c ot_livesync.c |
40 | 45 | ||
41 | OBJECTS = $(SOURCES:%.c=%.o) | 46 | OBJECTS = $(SOURCES:%.c=%.o) |
42 | OBJECTS_debug = $(SOURCES:%.c=%.debug.o) | 47 | OBJECTS_debug = $(SOURCES:%.c=%.debug.o) |