summaryrefslogtreecommitdiff
path: root/benchmarks/iozone
diff options
context:
space:
mode:
Diffstat (limited to 'benchmarks/iozone')
-rw-r--r--benchmarks/iozone/Makefile15
1 files changed, 12 insertions, 3 deletions
diff --git a/benchmarks/iozone/Makefile b/benchmarks/iozone/Makefile
index 0ee119fb394..d68e18585c4 100644
--- a/benchmarks/iozone/Makefile
+++ b/benchmarks/iozone/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2004/05/05 00:43:10 danw Exp $
+# $NetBSD: Makefile,v 1.25 2004/05/10 16:33:03 jschauma Exp $
DISTNAME= iozone3_217
PKGNAME= iozone-3.217
@@ -17,12 +17,21 @@ MAKEFILE= makefile
.include "../../mk/bsd.prefs.mk"
-.if (${OPSYS} == "NetBSD")
- ALL_TARGET= netbsd
+.if !empty(OPSYS:M*BSD) || ${OPSYS} == "Linux"
+ ALL_TARGET= ${LOWER_OPSYS}
.elif (${OPSYS} == "SunOS")
ALL_TARGET= Solaris
.elif (${OPSYS} == "Darwin")
ALL_TARGET= macosx
+.elif (${OPSYS} == "IRIX")
+ ALL_TARGET= ${OPSYS}${ABI:M64}
+.elif (${OPSYS} == "BSDOS")
+ ALL_TARGET= bsdi
+.elif (${OPSYS} == "AIX")
+ ALL_TARGET= ${OPSYS}
+.else
+ # XXX: generic should work, but specific target would be better
+ ALL_TARGET= generic
.endif
do-install: