diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-03-22 03:31:49 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-03-22 03:31:49 +0000 |
commit | 7b7102e2bf82bb8cd071ecd536bac0bdc1df6713 (patch) | |
tree | 0eb7c9f191943e628b8e41770d930e34f32abbe7 /net/tcptraceroute/files | |
parent | 1473c9f3758ce983152fcf267dd943beb2a0d749 (diff) |
Notes
Diffstat (limited to 'net/tcptraceroute/files')
-rw-r--r-- | net/tcptraceroute/files/patch-Makefile | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/net/tcptraceroute/files/patch-Makefile b/net/tcptraceroute/files/patch-Makefile new file mode 100644 index 000000000000..0a1755ab97c9 --- /dev/null +++ b/net/tcptraceroute/files/patch-Makefile @@ -0,0 +1,52 @@ +*** Makefile.orig Tue Jul 31 23:52:40 2001 +--- Makefile Thu Mar 21 16:02:29 2002 +*************** +*** 1,20 **** + # tcptraceroute -- A traceroute implementation using TCP packets + # Copyright (c) 2001, Michael C. Toren <mct@toren.net> + +! CC = gcc + CFLAGS = -O2 -Wall +! DESTDIR=/usr/local/bin + + tcptraceroute: tcptraceroute.c +! $(CC) $(CFLAGS) `libnet-config --defines` \ + -o tcptraceroute tcptraceroute.c \ +! `libnet-config --libs` -lpcap + + static: + $(MAKE) tcptraceroute CFLAGS="$(CFLAGS) -static" + + install: tcptraceroute +! install -D tcptraceroute $(DESTDIR)/tcptraceroute + + distrib: clean changelog man + +--- 1,27 ---- + # tcptraceroute -- A traceroute implementation using TCP packets + # Copyright (c) 2001, Michael C. Toren <mct@toren.net> + +! CC = cc + CFLAGS = -O2 -Wall +! LNETINC= -I/usr/local/include +! LNETLIB= -L/usr/local/lib +! +! BINDIR= ${PREFIX}/bin +! MANDIR= ${PREFIX}/man +! +! all: tcptraceroute + + tcptraceroute: tcptraceroute.c +! $(CC) $(CFLAGS) `libnet-config --defines` $(LNETINC) \ + -o tcptraceroute tcptraceroute.c \ +! $(LNETLIB) `libnet-config --libs` -lpcap + + static: + $(MAKE) tcptraceroute CFLAGS="$(CFLAGS) -static" + + install: tcptraceroute +! install -c -s tcptraceroute $(BINDIR)/tcptraceroute +! install -c -m 444 tcptraceroute.8 $(MANDIR)/man8/tcptraceroute.8 + + distrib: clean changelog man + |