blob: 7b34ca9141d824c78d9714e35eb2a22b5101643e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# $NetBSD: Makefile,v 1.7 1999/06/21 09:57:03 agc Exp $
DISTNAME= iozone
PKGNAME= iozone-1.14b
CATEGORIES= benchmarks
MASTER_SITES= ftp://ftp.bme.hu/pub/OS/Linux/tsx-11/sources/test_suites/
EXTRACT_SUFX= .tar.Z
MAINTAINER= root@garbled.net
NO_WRKSUBDIR= yes
do-build:
(cd ${WRKDIR} && \
case `uname -s` in \
SunOS) \
${CC} -O2 -DSYSTYPE_SYSV -o iozone iozone.c ;; \
NetBSD) \
${CC} -O2 -o iozone iozone.c ;; \
esac)
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/iozone ${PREFIX}/bin
benchmark:
@(cd ${WRKSRC}; ./iozone 100 | tee iozone.out)
results:
-@${MKDIR} /tmp/benches/`domainname`
-@cp ${WRKSRC}/iozone.out /tmp/benches/`domainname`/iozone.`uname`-`uname -m`-`uname -r`.`hostname`
.include "../../mk/bsd.pkg.mk"
|