diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -39,6 +39,10 @@ BINDIR?=$(PREFIX)/bin | |||
39 | FEATURES+=-DWANT_DEV_RANDOM | 39 | FEATURES+=-DWANT_DEV_RANDOM |
40 | FEATURES+=-DWANT_FULLSCRAPE | 40 | FEATURES+=-DWANT_FULLSCRAPE |
41 | 41 | ||
42 | # Is enabled on BSD systems by default in trackerlogic.h | ||
43 | # on Linux systems you will need -lbds | ||
44 | #FEATURES+=-DWANT_ARC4RANDOM | ||
45 | |||
42 | #FEATURES+=-D_DEBUG_HTTPERROR | 46 | #FEATURES+=-D_DEBUG_HTTPERROR |
43 | 47 | ||
44 | OPTS_debug=-D_DEBUG -g -ggdb # -pg -fprofile-arcs -ftest-coverage | 48 | OPTS_debug=-D_DEBUG -g -ggdb # -pg -fprofile-arcs -ftest-coverage |
@@ -46,6 +50,7 @@ OPTS_production=-O3 | |||
46 | 50 | ||
47 | CFLAGS+=-I$(LIBOWFAT_HEADERS) -Wall -pipe -Wextra #-ansi -pedantic | 51 | CFLAGS+=-I$(LIBOWFAT_HEADERS) -Wall -pipe -Wextra #-ansi -pedantic |
48 | LDFLAGS+=-L$(LIBOWFAT_LIBRARY) -lowfat -pthread -lpthread -lz | 52 | LDFLAGS+=-L$(LIBOWFAT_LIBRARY) -lowfat -pthread -lpthread -lz |
53 | #LDFLAGS+=-lbsd | ||
49 | 54 | ||
50 | BINARY =opentracker | 55 | BINARY =opentracker |
51 | HEADERS=trackerlogic.h scan_urlencoded_query.h ot_mutex.h ot_stats.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 ot_rijndael.h | 56 | HEADERS=trackerlogic.h scan_urlencoded_query.h ot_mutex.h ot_stats.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 ot_rijndael.h |