head 1.12; access; symbols; locks; strict; comment @# @; 1.12 date 2011.11.04.22.20.58; author wessels; state Exp; branches; next 1.11; 1.11 date 2009.11.09.20.58.18; author wessels; state Exp; branches; next 1.10; 1.10 date 2009.11.09.20.53.09; author wessels; state Exp; branches; next 1.9; 1.9 date 2009.07.28.17.02.12; author wessels; state Exp; branches; next 1.8; 1.8 date 2009.07.16.20.45.37; author wessels; state Exp; branches; next 1.7; 1.7 date 2008.04.29.20.44.36; author wessels; state Exp; branches; next 1.6; 1.6 date 2008.04.29.20.44.17; author wessels; state Exp; branches; next 1.5; 1.5 date 2008.04.29.20.43.34; author wessels; state Exp; branches; next 1.4; 1.4 date 2008.04.29.20.41.36; author wessels; state Exp; branches; next 1.3; 1.3 date 2008.04.29.20.37.19; author wessels; state Exp; branches; next 1.2; 1.2 date 2008.04.28.16.59.11; author wessels; state Exp; branches; next 1.1; 1.1 date 2008.04.22.16.23.11; author wessels; state Exp; branches; next ; desc @@ 1.12 log @add tcpdump-to-dlt-en10mb @ text @SOURCE=http://www.life-gone-hazy.com/src/tcpdump-tools PROGS= \ tcpdump-extract-interval \ tcpdump-subtract-timestamp \ tcpdump-join \ tcpdump-remove-dupe \ tcpdump-remove-bogus \ tcpdump-split \ tcpdump-change-dst \ tcpdump-find-misordered \ tcpdump-reorder \ tcpdump-fix-linux-af-inet6 \ tcpdump-strip-vlans \ tcpdump-separate-by-sip \ tcpdump-sort-by-sip \ tcpdump-separate \ tcpdump-to-dlt-loop \ tcpdump-to-dlt-raw \ tcpdump-to-dlt-en10mb # BSD FETCH=fetch -m LIBMD5=-lmd INCDIRS= # LINUX #FETCH=wget -m -nd #LIBMD5=-lcrypto #INCDIRS=-I/usr/include/openssl OBJS= \ pcap_layers.o CFLAGS = -Wall -g ${INCDIRS} LDFLAGS = -lpcap ${LIBMD5} $(OBJS) all: $(OBJS) $(PROGS) clean: rm -f $(OBJS) rm -f $(PROGS) install: @@for f in ${PROGS}; do \ echo "install -C -m 755 $$f /usr/local/bin"; \ install -C -m 755 $$f /usr/local/bin ; \ done fetch: ${FETCH} ${SOURCE}/Makefile ${FETCH} ${SOURCE}/pcap_layers.h ${FETCH} ${SOURCE}/pcap_layers.c ${FETCH} ${SOURCE}/byteorder.h @@for f in ${PROGS} ; do \ echo "${FETCH} ${SOURCE}/$$f.c" ; \ ${FETCH} ${SOURCE}/$$f.c ; \ done @ 1.11 log @better wget options @ text @d19 2 a20 1 tcpdump-to-dlt-raw @ 1.10 log @linux compatibility @ text @d27 1 a27 1 #FETCH=wget @ 1.9 log @*** empty log message *** @ text @d21 10 d34 2 a35 2 CFLAGS = -Wall -g LDFLAGS = -lpcap -lmd $(OBJS) d50 4 a53 4 fetch -m ${SOURCE}/Makefile fetch -m ${SOURCE}/pcap_layers.h fetch -m ${SOURCE}/pcap_layers.c fetch -m ${SOURCE}/byteorder.h d55 2 a56 2 echo "fetch -m ${SOURCE}/$$f.c" ; \ fetch -m ${SOURCE}/$$f.c ; \ @ 1.8 log @*** empty log message *** @ text @d16 1 @ 1.7 log @*** empty log message *** @ text @d17 2 a18 1 tcpdump-to-dlt-loop @ 1.6 log @*** empty log message *** @ text @d44 1 a44 1 fetch -m ${SOURCE}/$$f.c ; @ 1.5 log @add -m to fetch @ text @d42 4 a45 1 @@for f in ${PROGS}; do fetch -m ${SOURCE}/$$f.c; done @ 1.4 log @change to DLT_LOOP @ text @d38 5 a42 5 fetch ${SOURCE}/Makefile fetch ${SOURCE}/pcap_layers.h fetch ${SOURCE}/pcap_layers.c fetch ${SOURCE}/byteorder.h @@for f in ${PROGS}; do fetch ${SOURCE}/$$f.c; done @ 1.3 log @*** empty log message *** @ text @d17 1 a17 1 tcpdump-to-dlt-null @ 1.2 log @add fetch target @ text @d16 2 a17 1 tcpdump-separate @ 1.1 log @Initial revision @ text @d1 1 d35 7 @