17 lines
536 B
Plaintext
17 lines
536 B
Plaintext
|
$OpenBSD: patch-Makefile,v 1.3 2005/05/24 00:11:51 mjc Exp $
|
||
|
--- Makefile.orig Sun May 19 18:11:38 2002
|
||
|
+++ Makefile Sun May 22 13:43:22 2005
|
||
|
@@ -8,9 +8,10 @@ CFLAGS = -O2 -Wall
|
||
|
DESTDIR=/usr/local/bin
|
||
|
|
||
|
tcptraceroute: tcptraceroute.c
|
||
|
- $(CC) $(CFLAGS) `libnet-config --defines` \
|
||
|
+ $(CC) $(CFLAGS) `libnet-config-1.0 --cflags` \
|
||
|
+ `libnet-config-1.0 --defines` \
|
||
|
-o tcptraceroute tcptraceroute.c \
|
||
|
- `libnet-config --libs` -lpcap
|
||
|
+ `libnet-config-1.0 --libs` -lpcap
|
||
|
|
||
|
static:
|
||
|
$(MAKE) tcptraceroute CFLAGS="$(CFLAGS) -static"
|