mirror of
				git://erdgeist.org/opentracker
				synced 2025-11-04 11:53:22 +08:00 
			
		
		
		
	We do not copy input buffer to socket's input array anymore, if we find \n in first buffer We simplified parsing of input string We removed asserts that were needed to debug negative seeder counts We split static input and output buffers for obvious reasons We enlarged static output buffer to prepare multi scrape functionality We removed -lm from Makefile, this lib was only needed, when our random algorithm worked on floats We close fds now that come with an empty iocookie into write loop, those don't make sense We documented query string parser in opentracker.c a lot better to help auditing
		
			
				
	
	
		
			16 lines
		
	
	
		
			517 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			517 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
CC?=gcc
 | 
						|
FEATURES=#-DWANT_IP_FROM_QUERY_STRING -DWANT_BLACKLIST -DWANT_CLOSED_TRACKER -D_DEBUG_HTTPERROR
 | 
						|
#DEBUG_OPTS=-g -ggdb -pg # -fprofile-arcs -ftest-coverage
 | 
						|
DEBUG_OPTS=-s -Os
 | 
						|
CFLAGS+=-I../libowfat -Wall -pipe # -pedantic -ansi
 | 
						|
LDFLAGS+=-L../libowfat/ -lowfat
 | 
						|
 | 
						|
HEADERS=trackerlogic.h scan_urlencoded_query.h
 | 
						|
SOURCES=opentracker.c trackerlogic.c scan_urlencoded_query.c
 | 
						|
 | 
						|
opentracker: $(SOURCES) $(HEADERS)
 | 
						|
	$(CC) $(SOURCES) -o opentracker $(CFLAGS) $(FEATURES) $(DEBUG_OPTS) $(LDFLAGS)
 | 
						|
 | 
						|
clean:
 | 
						|
	rm -rf opentracker
 |