]> git.ipfire.org Git - thirdparty/opentracker.git/commitdiff
Make allowing gzip a Makefile tunable
authorerdgeist <>
Thu, 22 Nov 2007 04:37:41 +0000 (04:37 +0000)
committererdgeist <>
Thu, 22 Nov 2007 04:37:41 +0000 (04:37 +0000)
Makefile

index db6e665870c3a018212cfff6546dee2b0fa35e7c..45c2ef4446b36cc1593f31cb5a4873df80010abb 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -4,12 +4,14 @@ CC?=gcc
 #FEATURES+=-DWANT_CLOSED_TRACKER
 #FEATURES+=-DWANT_UTORRENT1600_WORKAROUND
 #FEATURES+=-DWANT_IP_FROM_QUERY_STRING
+#FEATURES+=-DWANT_COMPRESSION_GZIP 
 #FEATURES+=-D_DEBUG_HTTPERROR
+
 OPTS_debug=-g -ggdb #-pg # -fprofile-arcs -ftest-coverage
 OPTS_production=-Os
 CFLAGS+=-I../libowfat -Wall -pipe -Wextra #-pedantic -ansi
-LDFLAGS+=-L../libowfat/ -lowfat -pthread
+LDFLAGS+=-L../libowfat/ -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
 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