blob: 8113bdfbaaa201077c4808b954c5db8d439b6ce0 (
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
|
# $NetBSD: Makefile,v 1.7 2000/03/16 12:16:53 wiz Exp $
DISTNAME= paranoia
PKGNAME= paranoia-960101
CATEGORIES= benchmarks
MASTER_SITES= http://www.netlib.org/paranoia/
EXTRACT_SUFX= .c
MAINTAINER= root@garbled.net
NO_WRKSUBDIR= yes
EXTRACT_CMD= ${CP} ${DOWNLOADED_DISTFILE} ${WRKSRC}
do-build:
(cd ${WRKSRC} ; ${CC} -ffloat-store -o paranoia paranoia.c -lm)
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/paranoia ${PREFIX}/bin
benchmark:
@(cd ${WRKSRC}; ./paranoia < ${FILESDIR}/paranoia.run | tee paranoia.out)
results:
-@${MKDIR} /tmp/benches/`domainname`
-@${CP} ${WRKSRC}/paranoia.out /tmp/benches/`domainname`/paranoia.`uname`-`uname -m`-`uname -r`.`hostname`
.include "../../mk/bsd.pkg.mk"
|