33 lines
864 B
Plaintext
33 lines
864 B
Plaintext
--- Makefile.in.orig Fri Apr 14 08:54:59 2000
|
|
+++ Makefile.in Fri Apr 14 08:56:51 2000
|
|
@@ -7,12 +7,11 @@
|
|
# $rev: 3$
|
|
|
|
CC= gcc
|
|
-CCOPT= -O2 -Wall @PCAP_INCLUDE@
|
|
+CCOPT= -O2 -Wall
|
|
DEBUG= -g
|
|
#uncomment the following if you need libpcap based build under linux
|
|
#(not raccomanded)
|
|
-COMPILE_TIME= @FORCE_LIBPCAP@ @LIMITWHENSUID@ @HAVE_PROC@
|
|
-@PCAP@
|
|
+COMPILE_TIME= @LIMITWHENSUID@ @HAVE_PROC@
|
|
|
|
OBJ= main.o getifname.o getlhs.o \
|
|
linux_sockpacket.o parseoptions.o datafiller.o \
|
|
@@ -31,12 +30,8 @@
|
|
|
|
all: hping2
|
|
|
|
-hping2: byteorder.h $(OBJ) $(PCAP)
|
|
- $(CC) -o hping2 $(CCOPT) $(DEBUG) $(COMPILE_TIME) $(OBJ) $(PCAP)
|
|
- @echo
|
|
- ./hping2 -v
|
|
- @echo "use \`make strip' to strip hping2 binary"
|
|
- @echo "use \`make install' to install hping2"
|
|
+hping2: byteorder.h $(OBJ)
|
|
+ $(CC) -o hping2 $(CCOPT) $(DEBUG) $(COMPILE_TIME) $(OBJ) -lpcap
|
|
|
|
byteorder.h:
|
|
./configure
|