diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -1,13 +1,18 @@ | |||
1 | CC?=gcc | 1 | CC?=gcc |
2 | FEATURES=#-DWANT_TRACKER_SYNC -DWANT_BLACKLISTING -DWANT_CLOSED_TRACKER -DWANT_UTORRENT1600_WORKAROUND #-DWANT_IP_FROM_QUERY_STRING -D_DEBUG_HTTPERROR | 2 | #FEATURES =-DWANT_TRACKER_SYNC |
3 | #FEATURES+=-DWANT_BLACKLISTING | ||
4 | #FEATURES+=-DWANT_CLOSED_TRACKER | ||
5 | #FEATURES+=-DWANT_UTORRENT1600_WORKAROUND | ||
6 | #FEATURES+=-DWANT_IP_FROM_QUERY_STRING | ||
7 | #FEATURES+=-D_DEBUG_HTTPERROR | ||
3 | OPTS_debug=-g -ggdb #-pg # -fprofile-arcs -ftest-coverage | 8 | OPTS_debug=-g -ggdb #-pg # -fprofile-arcs -ftest-coverage |
4 | OPTS_production=-Os | 9 | OPTS_production=-Os |
5 | CFLAGS+=-I../libowfat -Wall -pipe -Wextra #-pedantic -ansi | 10 | CFLAGS+=-I../libowfat -Wall -pipe -Wextra #-pedantic -ansi |
6 | LDFLAGS+=-L../libowfat/ -lowfat | 11 | LDFLAGS+=-L../libowfat/ -lowfat |
7 | 12 | ||
8 | BINARY =opentracker | 13 | BINARY =opentracker |
9 | 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 | 14 | 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 |
10 | 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 | 15 | 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 |
11 | 16 | ||
12 | OBJECTS = $(SOURCES:%.c=%.o) | 17 | OBJECTS = $(SOURCES:%.c=%.o) |
13 | OBJECTS_debug = $(SOURCES:%.c=%.debug.o) | 18 | OBJECTS_debug = $(SOURCES:%.c=%.debug.o) |