summaryrefslogtreecommitdiff
path: root/benchmarks/httperf/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'benchmarks/httperf/Makefile')
-rw-r--r--benchmarks/httperf/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/benchmarks/httperf/Makefile b/benchmarks/httperf/Makefile
index fdb3437800c..3a3a973c047 100644
--- a/benchmarks/httperf/Makefile
+++ b/benchmarks/httperf/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2003/07/17 21:24:28 grant Exp $
+# $NetBSD: Makefile,v 1.5 2003/09/19 18:06:34 wiz Exp $
#
DISTNAME= httperf-0.6
@@ -13,6 +13,12 @@ LICENSE= no-commercial-use
USE_GMAKE= yes
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "SunOS"
+LDFLAGS+= -lsocket -lnsl -lresolv
+.endif
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/httperf ${LOCALBASE}/bin/httperf
${INSTALL_MAN} ${WRKSRC}/httperf.man ${LOCALBASE}/man/man1/httperf.1