From 8cbfc8602c73e55770f3c06d8ea42758b22a0401 Mon Sep 17 00:00:00 2001 From: erdgeist <> Date: Fri, 3 Oct 2008 21:35:03 +0000 Subject: Cleaning up Build time options. Also add ot_livesync.[ch] --- Makefile | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 7031a3c..b90c309 100644 --- a/Makefile +++ b/Makefile @@ -19,15 +19,20 @@ LIBOWFAT_LIBRARY=$(PREFIX)/libowfat BINDIR?=$(PREFIX)/bin -#FEATURES =-DWANT_TRACKER_SYNC -#FEATURES+=-DWANT_BLACKLISTING -#FEATURES+=-DWANT_CLOSED_TRACKER +#FEATURES+=-DWANT_ACCESSLIST_BLACK +#FEATURES+=-DWANT_ACCESSLIST_WHITE + +#FEATURES+=-DWANT_SYNC_BATCH +#FEATURES+=-DWANT_SYNC_LIVE + #FEATURES+=-DWANT_UTORRENT1600_WORKAROUND #FEATURES+=-DWANT_IP_FROM_QUERY_STRING #FEATURES+=-DWANT_COMPRESSION_GZIP #FEATURES+=-DWANT_LOG_NETWORKS #FEATURES+=-D_DEBUG_HTTPERROR +FEATURES+=-DWANT_FULLSCRAPE + OPTS_debug=-g -ggdb #-pg # -fprofile-arcs -ftest-coverage OPTS_production=-Os @@ -35,8 +40,8 @@ CFLAGS+=-I$(LIBOWFAT_HEADERS) -Wall -pipe -Wextra #-pedantic -ansi LDFLAGS+=-L$(LIBOWFAT_LIBRARY) -lowfat -pthread -lz BINARY =opentracker -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 -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 +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 +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 OBJECTS = $(SOURCES:%.c=%.o) OBJECTS_debug = $(SOURCES:%.c=%.debug.o) -- cgit v1.2.3