summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorerdgeist <>2007-11-22 04:37:41 +0000
committererdgeist <>2007-11-22 04:37:41 +0000
commitc09ad325cc5a7f862018ded951ee934c7fc6f348 (patch)
tree3d1c4a4579a428bc7c9167feab859afcb24a478d /Makefile
parentc5e5569770db281d46ce56c3bf603f8e28c29f68 (diff)
Make allowing gzip a Makefile tunable
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index db6e665..45c2ef4 100644
--- a/Makefile
+++ b/Makefile
@@ -4,12 +4,14 @@ CC?=gcc
4#FEATURES+=-DWANT_CLOSED_TRACKER 4#FEATURES+=-DWANT_CLOSED_TRACKER
5#FEATURES+=-DWANT_UTORRENT1600_WORKAROUND 5#FEATURES+=-DWANT_UTORRENT1600_WORKAROUND
6#FEATURES+=-DWANT_IP_FROM_QUERY_STRING 6#FEATURES+=-DWANT_IP_FROM_QUERY_STRING
7#FEATURES+=-DWANT_COMPRESSION_GZIP
7#FEATURES+=-D_DEBUG_HTTPERROR 8#FEATURES+=-D_DEBUG_HTTPERROR
9
8OPTS_debug=-g -ggdb #-pg # -fprofile-arcs -ftest-coverage 10OPTS_debug=-g -ggdb #-pg # -fprofile-arcs -ftest-coverage
9OPTS_production=-Os 11OPTS_production=-Os
10CFLAGS+=-I../libowfat -Wall -pipe -Wextra #-pedantic -ansi 12CFLAGS+=-I../libowfat -Wall -pipe -Wextra #-pedantic -ansi
11LDFLAGS+=-L../libowfat/ -lowfat -pthread 13LDFLAGS+=-L../libowfat/ -lowfat -pthread -lz
12 14
13BINARY =opentracker 15BINARY =opentracker
14HEADERS=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 16HEADERS=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
15SOURCES=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 17SOURCES=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