summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
1 files changed, 10 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 7031a3c..b90c309 100644
--- a/Makefile
+++ b/Makefile
@@ -19,15 +19,20 @@ LIBOWFAT_LIBRARY=$(PREFIX)/libowfat
19 19
20BINDIR?=$(PREFIX)/bin 20BINDIR?=$(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
34FEATURES+=-DWANT_FULLSCRAPE
35
31OPTS_debug=-g -ggdb #-pg # -fprofile-arcs -ftest-coverage 36OPTS_debug=-g -ggdb #-pg # -fprofile-arcs -ftest-coverage
32OPTS_production=-Os 37OPTS_production=-Os
33 38
@@ -35,8 +40,8 @@ CFLAGS+=-I$(LIBOWFAT_HEADERS) -Wall -pipe -Wextra #-pedantic -ansi
35LDFLAGS+=-L$(LIBOWFAT_LIBRARY) -lowfat -pthread -lz 40LDFLAGS+=-L$(LIBOWFAT_LIBRARY) -lowfat -pthread -lz
36 41
37BINARY =opentracker 42BINARY =opentracker
38HEADERS=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 43HEADERS=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
39SOURCES=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 44SOURCES=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
41OBJECTS = $(SOURCES:%.c=%.o) 46OBJECTS = $(SOURCES:%.c=%.o)
42OBJECTS_debug = $(SOURCES:%.c=%.debug.o) 47OBJECTS_debug = $(SOURCES:%.c=%.debug.o)