diff options
| author | erdgeist <> | 2009-10-15 18:23:20 +0000 |
|---|---|---|
| committer | erdgeist <> | 2009-10-15 18:23:20 +0000 |
| commit | 9d4f0e66d072ca8b9b9f25d567de027ded7be880 (patch) | |
| tree | fe0b7dae579d23e6b280ff4ce108e9ab798b7ad7 /Makefile | |
| parent | 7f3b66b9afacc2d8a11a33a719a3cfb1dca35e1f (diff) | |
Need to compile sources for proxy
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -48,9 +48,11 @@ LDFLAGS+=-L$(LIBOWFAT_LIBRARY) -lowfat -pthread -lpthread -lz | |||
| 48 | BINARY =opentracker | 48 | BINARY =opentracker |
| 49 | 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 | 49 | 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 |
| 50 | SOURCES=opentracker.c trackerlogic.c scan_urlencoded_query.c ot_mutex.c ot_stats.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 | 50 | SOURCES=opentracker.c trackerlogic.c scan_urlencoded_query.c ot_mutex.c ot_stats.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 |
| 51 | SOURCES_proxy=proxy.c ot_vector.c ot_mutex.c | ||
| 51 | 52 | ||
| 52 | OBJECTS = $(SOURCES:%.c=%.o) | 53 | OBJECTS = $(SOURCES:%.c=%.o) |
| 53 | OBJECTS_debug = $(SOURCES:%.c=%.debug.o) | 54 | OBJECTS_debug = $(SOURCES:%.c=%.debug.o) |
| 55 | OBJECTS_proxy = $(SOURCES_proxy:%.c=%.o) | ||
| 54 | 56 | ||
| 55 | .SUFFIXES: .debug.o .o .c | 57 | .SUFFIXES: .debug.o .o .c |
| 56 | 58 | ||
| @@ -59,8 +61,6 @@ all: $(BINARY) $(BINARY).debug | |||
| 59 | CFLAGS_production = $(CFLAGS) $(OPTS_production) $(FEATURES) | 61 | CFLAGS_production = $(CFLAGS) $(OPTS_production) $(FEATURES) |
| 60 | CFLAGS_debug = $(CFLAGS) $(OPTS_debug) $(FEATURES) | 62 | CFLAGS_debug = $(CFLAGS) $(OPTS_debug) $(FEATURES) |
| 61 | 63 | ||
| 62 | SOURCES_proxy=proxy.c ot_vector.c ot_mutex.c | ||
| 63 | |||
| 64 | $(BINARY): $(OBJECTS) $(HEADERS) | 64 | $(BINARY): $(OBJECTS) $(HEADERS) |
| 65 | $(CC) -o $@ $(OBJECTS) $(LDFLAGS) | 65 | $(CC) -o $@ $(OBJECTS) $(LDFLAGS) |
| 66 | strip $@ | 66 | strip $@ |
