summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjschauma <jschauma@pkgsrc.org>2004-05-10 16:33:03 +0000
committerjschauma <jschauma@pkgsrc.org>2004-05-10 16:33:03 +0000
commitb770b80aeed7c39f1ddcc48839c88cc5d297d92c (patch)
treed9e312692a08ea6ee763d42a84c2a6c3ceeee1b7
parenta741f63c6a50aee11549857c88c807dd3af6e615 (diff)
downloadpkgsrc-b770b80aeed7c39f1ddcc48839c88cc5d297d92c.tar.gz
Add correct ALL_TARGET for some more platforms.
-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: