2001-04-09 13:45:33 +02:00
|
|
|
# $NetBSD: Makefile,v 1.7 2001/04/09 11:45:36 wiz Exp $
|
1998-10-22 07:55:46 +02:00
|
|
|
|
|
|
|
DISTNAME= fib.c
|
|
|
|
PKGNAME= fib-980203
|
|
|
|
CATEGORIES= benchmarks
|
|
|
|
MASTER_SITES= ftp://ftp.nosc.mil/pub/aburto/fib/
|
|
|
|
EXTRACT_SUFX= #empty
|
|
|
|
|
|
|
|
MAINTAINER= root@garbled.net
|
2001-02-16 14:30:32 +01:00
|
|
|
COMMENT= Mathematical benchmark
|
1998-10-22 07:55:46 +02:00
|
|
|
|
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
|
|
|
|
do-extract:
|
|
|
|
${MKDIR} ${WRKSRC}
|
|
|
|
${CP} ${DISTDIR}/fib.c ${WRKSRC}/fib.c
|
|
|
|
|
|
|
|
do-build:
|
2001-03-31 12:09:04 +02:00
|
|
|
(cd ${WRKSRC} ; ${CC} ${CFLAGS} -DUNIX -o fib fib.c -lm)
|
1998-10-22 07:55:46 +02:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/fib ${PREFIX}/bin
|
|
|
|
|
|
|
|
benchmark:
|
1998-12-26 16:59:54 +01:00
|
|
|
-@${WRKSRC}/fib | tee ${WRKSRC}/fib.out
|
|
|
|
|
|
|
|
results:
|
2001-04-09 13:45:33 +02:00
|
|
|
@${MKDIR} /tmp/benches/`domainname`
|
2000-03-16 13:16:49 +01:00
|
|
|
-@${CP} ${WRKSRC}/fib.out /tmp/benches/`domainname`/fib.`uname`-`uname -m`-`uname -r`.`hostname`
|
1998-10-22 07:55:46 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|