freebsd-ports/net/nettest/files/patch-aa
Justin M. Seger e1bcde3528 Import of net/nettest 09/11/92 release.
The nettest and nettestd commands invoke client and server
programs that are used for timing data throughput of vari-
ous  methods  of  interprocess communication.

PR:		ports/4817
Submitted by:	proot@iaces.com
1997-10-30 11:21:26 +00:00

38 lines
1 KiB
Text

*** Makefile.orig Thu Nov 5 16:03:14 1992
--- Makefile Mon Oct 20 12:50:14 1997
***************
*** 3,12 ****
FILES=README Makefile nettest.h nettest.c nettestd.c nettest.8
all:
! @if [ -f /bin/hostname -o -f /usr/bin/hostname ]; then \
! $(MAKE) `hostname`; \
! elif [ -f /bin/uname ]; then \
! $(MAKE) `uname -n`; \
else \
echo You must specify what machine you are on,;\
echo e.g. \"make sun\", \"make cray2\", \"make pyramid\", \"make xmp\";\
--- 3,10 ----
FILES=README Makefile nettest.h nettest.c nettestd.c nettest.8
all:
! @if [ -f /bin/uname -o -f /usr/bin/uname ]; then \
! $(MAKE) `uname -s`; \
else \
echo You must specify what machine you are on,;\
echo e.g. \"make sun\", \"make cray2\", \"make pyramid\", \"make xmp\";\
***************
*** 32,37 ****
--- 30,41 ----
INCLUDE="-I." \
DEFINES="-DWAIT3CODE -DNO_ISO" \
LIBS="" OPT="-O"
+
+ FreeBSD:
+ $(MAKE) objs \
+ INCLUDE="" \
+ DEFINES="-DWAIT3CODE -DBSD44 -DNAMEDPIPES -DNO_ISO" \
+ OPT="-O" LIBS="-lcompat"
4.4alpha:
$(MAKE) objs \