File:
[cvs.NetBSD.org] /
pkgsrc /
benchmarks /
fib /
Makefile
Revision
1.16:
download - view:
text,
annotated -
select for diffs
Tue Sep 11 22:37:11 2012 UTC (12 years, 1 month ago) by
asau
Branches:
MAIN
CVS tags:
pkgsrc-2014Q3-base,
pkgsrc-2014Q3,
pkgsrc-2014Q2-base,
pkgsrc-2014Q2,
pkgsrc-2014Q1-base,
pkgsrc-2014Q1,
pkgsrc-2013Q4-base,
pkgsrc-2013Q4,
pkgsrc-2013Q3-base,
pkgsrc-2013Q3,
pkgsrc-2013Q2-base,
pkgsrc-2013Q2,
pkgsrc-2013Q1-base,
pkgsrc-2013Q1,
pkgsrc-2012Q4-base,
pkgsrc-2012Q4,
pkgsrc-2012Q3-base,
pkgsrc-2012Q3,
HEAD
"user-destdir" is default these days
# $NetBSD: Makefile,v 1.16 2012/09/11 22:37:11 asau Exp $
DISTNAME= fib.c
PKGNAME= fib-980203
CATEGORIES= benchmarks
MASTER_SITES= http://ftp.sunet.se/pub/benchmark/aburto/fib/
EXTRACT_SUFX= #empty
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Mathematical benchmark
PKG_INSTALLATION_TYPES= overwrite pkgviews
WRKSRC= ${WRKDIR}
INSTALLATION_DIRS= bin
do-extract:
${MKDIR} ${WRKSRC}
${CP} ${DISTDIR}/fib.c ${WRKSRC}/fib.c
do-build:
(cd ${WRKSRC} ; ${CC} ${CFLAGS} -DUNIX -o fib fib.c -lm)
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/fib ${DESTDIR}${PREFIX}/bin
benchmark:
-@${WRKSRC}/fib | tee ${WRKSRC}/fib.out
results:
@${MKDIR} /tmp/benches/`domainname`
-@${CP} ${WRKSRC}/fib.out /tmp/benches/`domainname`/fib.`uname`-`uname -m`-`uname -r`.`hostname`
.include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>