aboutsummaryrefslogtreecommitdiffstats
path: root/net/tcpreplay/files/patch-Makefile.in
blob: 4a4c01002a100f84fb97766e92a6bf81de5fcbab (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
--- Makefile.in.orig    Thu Nov  2 18:01:53 2000
+++ Makefile.in Thu Nov  2 18:04:49 2000
@@ -9,22 +9,22 @@
 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@
 
-PCAPDIR        = libpcap-0.4
-PCAPINCS   = -I$(PCAPDIR)
-PCAPLIBS   = -L$(PCAPDIR) -lpcap
-PCAPDEP        = $(PCAPDIR)/pcap.h $(PCAPDIR)/libpcap.a
+# PCAPDIR      = libpcap-0.4
+# PCAPINCS = -I$(PCAPDIR)
+PCAPLIBS   = -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
+# LNETDIR      = Libnet-0.99
+LNETINCS   = -I$(PREFIX)/include
+LNETLIBS   = -L$(PREFIX)/lib `libnet-config --libs`
+# LNETDEP      = $(LNETDIR)/include/libnet.h $(LNETDIR)/libnet.a
 
 PROGRAMS   = tcpreplay