use libnet port
This commit is contained in:
parent
d289301eab
commit
dece4883a6
@ -1,6 +1,14 @@
|
||||
--- Makefile.in.orig Sat Jun 12 22:00:20 1999
|
||||
+++ Makefile.in Sat Jun 12 22:01:34 1999
|
||||
@@ -16,10 +16,10 @@
|
||||
--- Makefile.in.orig Wed Apr 21 18:16:41 1999
|
||||
+++ Makefile.in Mon Oct 18 10:41:22 1999
|
||||
@@ -9,28 +9,28 @@
|
||||
CC = @CC@
|
||||
CFLAGS = @CFLAGS@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
-DEFS = @DEFS@
|
||||
+DEFS = @DEFS@ `libnet-config --defines`
|
||||
INCS = $(LNETINCS) $(PCAPINCS)
|
||||
LIBS = @LIBS@ $(LNETLIBS) $(PCAPLIBS)
|
||||
|
||||
INSTALL = @INSTALL@
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
|
||||
@ -8,10 +16,27 @@
|
||||
-PCAPINCS = -I$(PCAPDIR)
|
||||
-PCAPLIBS = -L$(PCAPDIR) -lpcap
|
||||
-PCAPDEP = $(PCAPDIR)/pcap.h $(PCAPDIR)/libpcap.a
|
||||
-
|
||||
-LNETDIR = Libnet-0.99
|
||||
-LNETINCS = -I$(LNETDIR)/include
|
||||
-LNETLIBS = -L$(LNETDIR)/lib -lnet
|
||||
-LNETDEP = $(LNETDIR)/include/libnet.h $(LNETDIR)/libnet.a
|
||||
+PCAPDIR =
|
||||
+PCAPINCS =
|
||||
+PCAPLIBS = -lpcap
|
||||
+PCAPDEP =
|
||||
+
|
||||
+LNETDIR =
|
||||
+LNETINCS = -I$(PREFIX)/include
|
||||
+LNETLIBS = -L$(PREFIX)/lib -lnet
|
||||
+LNETDEP =
|
||||
|
||||
PROGRAMS = tcpreplay
|
||||
|
||||
all: $(PROGRAMS)
|
||||
|
||||
-tcpreplay: $(PCAPDEP) $(LNETDEP) tcpreplay.c
|
||||
+tcpreplay: tcpreplay.c
|
||||
-rm -f tcpreplay
|
||||
$(CC) $(CFLAGS) $(DEFS) $(INCS) -o $@ tcpreplay.c $(LDFLAGS) $(LIBS)
|
||||
|
||||
LNETDIR = Libnet-0.99
|
||||
LNETINCS = -I$(LNETDIR)/include
|
||||
|
@ -1,11 +1,11 @@
|
||||
--- configure.orig Sat Jun 12 22:02:02 1999
|
||||
+++ configure Sat Jun 12 22:02:33 1999
|
||||
--- configure.orig Wed May 19 15:55:31 1999
|
||||
+++ configure Mon Oct 18 10:39:41 1999
|
||||
@@ -1194,7 +1194,7 @@
|
||||
done
|
||||
|
||||
|
||||
-subdirs="Libnet-0.99 libpcap-0.4"
|
||||
+subdirs="Libnet-0.99"
|
||||
+subdirs=""
|
||||
|
||||
|
||||
|
||||
@ -14,7 +14,7 @@
|
||||
done
|
||||
|
||||
- for ac_config_dir in Libnet-0.99 libpcap-0.4; do
|
||||
+ for ac_config_dir in Libnet-0.99; do
|
||||
+ for ac_config_dir in ; do
|
||||
|
||||
# Do not complain, so a configure script can configure whichever
|
||||
# parts of a large source tree are present.
|
||||
|
Loading…
Reference in New Issue
Block a user