pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/benchmarks/iozone Add correct ALL_TARGET for some more...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/441ef22bd01d
branches:  trunk
changeset: 475134:441ef22bd01d
user:      jschauma <jschauma%pkgsrc.org@localhost>
date:      Mon May 10 16:33:03 2004 +0000

description:
Add correct ALL_TARGET for some more platforms.

diffstat:

 benchmarks/iozone/Makefile |  15 ++++++++++++---
 1 files changed, 12 insertions(+), 3 deletions(-)

diffs (33 lines):

diff -r 25350dfe963c -r 441ef22bd01d benchmarks/iozone/Makefile
--- a/benchmarks/iozone/Makefile        Mon May 10 16:22:51 2004 +0000
+++ b/benchmarks/iozone/Makefile        Mon May 10 16:33:03 2004 +0000
@@ -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 @@
 
 .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:



Home | Main Index | Thread Index | Old Index