1 --- hping3-20051105_orig/Makefile 2005-11-05 11:31:41.000000000 +0100
2 +++ hping3-20051105/Makefile 2009-02-26 13:44:40.000000000 +0100
4 # $date: Sun Jul 25 17:56:15 MET DST 1999$
9 -RANLIB=/usr/bin/ranlib
10 -CCOPT= -O2 -Wall -I/usr/include/tcl8.4 -DUSE_TCL
14 +#RANLIB=/usr/bin/ranlib
17 #uncomment the following if you need libpcap based build under linux
20 -INSTALL_MANPATH=/usr/local/man
21 +#INSTALL_MANPATH=/usr/local/man
24 ARSOBJ = ars.o apd.o split.o rapd.o
28 hping3: byteorder.h $(OBJ)
29 - $(CC) -o hping3 $(CCOPT) $(DEBUG) $(OBJ) -L/usr/local/lib $(PCAP) -ltcl8.4 -lm -lpthread
32 - @echo "use \`make strip' to strip hping3 binary"
33 - @echo "use \`make install' to install hping3"
34 + $(CC) -o hping3 $(CFLAGS) $(LDFLAGS) $(DEBUG) $(OBJ) $(PCAP) -lm -lpthread
36 hping3-static: byteorder.h $(OBJ)
37 - $(CC) -static -o hping3-static $(CCOPT) $(DEBUG) $(OBJ) -L/usr/local/lib $(PCAP) -ltcl8.4 -lm -lpthread -ldl
38 + $(CC) -static -o hping3-static $(CFLAGS) $(LDFLAGS) $(DEBUG) $(OBJ) $(PCAP) -lm -lpthread -ldl
44 - $(CC) -c $(CCOPT) $(DEBUG) $(COMPILE_TIME) $<
45 + $(CC) -c $(CFLAGS) $(LDFLAGS) $(DEBUG) $(COMPILE_TIME) $<
48 rm -rf hping3 *.o libars.a