summaryrefslogtreecommitdiff
path: root/benchmarks/nttcp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'benchmarks/nttcp/Makefile')
-rw-r--r--benchmarks/nttcp/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/benchmarks/nttcp/Makefile b/benchmarks/nttcp/Makefile
index 8e708da8a5b..7b25fd5f4ee 100644
--- a/benchmarks/nttcp/Makefile
+++ b/benchmarks/nttcp/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2003/07/17 21:24:33 grant Exp $
+# $NetBSD: Makefile,v 1.3 2003/09/19 18:11:43 wiz Exp $
DISTNAME= nttcp-1.47
CATEGORIES= benchmarks net
@@ -8,6 +8,12 @@ MAINTAINER= thorpej@NetBSD.org
HOMEPAGE= http://www.leo.org/~elmar/nttcp/
COMMENT= New TCP testing and performance measuring tool
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "SunOS"
+MAKE_ENV+= LIB="-lsocket -lnsl"
+.endif
+
do-install:
cd ${WRKSRC} ; \
${INSTALL_PROGRAM} nttcp ${PREFIX}/bin/nttcp ; \