Imported Upstream version 1.10

This commit is contained in:
Jan Wagner 2013-11-06 09:45:01 +01:00
parent b7e2688ac8
commit 2bb3538023
11 changed files with 1272 additions and 0 deletions

11
makefiles/Makefile-BSDI Normal file
View file

@ -0,0 +1,11 @@
CFLAGS+=-O -g
LDLIBS=-lpcap -pthread -lm
all: dns_flood_detector
strip dns_flood_detector
clean:
rm -rf dns_flood_detector *.o *~
install:
cp dns_flood_detector /usr/local/sbin/
dns_flood_detector: dns_flood_detector.c

View file

@ -0,0 +1,11 @@
CFLAGS+=-O -g
LDLIBS=-lpcap -pthread -lm
all: dns_flood_detector
strip dns_flood_detector
clean:
rm -rf dns_flood_detector *.o *~
install:
cp dns_flood_detector /usr/local/sbin/
dns_flood_detector: dns_flood_detector.c

11
makefiles/Makefile-Linux Normal file
View file

@ -0,0 +1,11 @@
CFLAGS=-O -D_BSD_SOURCE -g
LDLIBS=-lpcap -lpthread -lm
all: dns_flood_detector
strip dns_flood_detector
clean:
rm -rf dns_flood_detector *.o *~
install:
cp dns_flood_detector /usr/local/sbin/
dns_flood_detector: dns_flood_detector.c

11
makefiles/Makefile-OSX Normal file
View file

@ -0,0 +1,11 @@
CFLAGS+=-O -g -I/usr/local/include -I/usr/include
LDLIBS=-L/usr/local/lib -lpcap -lpthread -lm
all: dns_flood_detector
strip dns_flood_detector
clean:
rm -rf dns_flood_detector *.o *~
install:
cp dns_flood_detector /usr/local/sbin/
dns_flood_detector: dns_flood_detector.c

View file

@ -0,0 +1,11 @@
CFLAGS+=-O -g -I/usr/local/include -I/usr/include
LDLIBS=-L/usr/local/lib -L/usr/lib -lpcap -lpthread -lm -lsocket -lnsl
all: dns_flood_detector
strip dns_flood_detector
clean:
rm -rf dns_flood_detector *.o *~
install:
cp dns_flood_detector /usr/local/sbin/
dns_flood_detector: dns_flood_detector.c