summaryrefslogtreecommitdiff
path: root/benchmarks/benchfft/Makefile
blob: ad5b3a027f8f279070e9a329360f6637d42f578b (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
# $NetBSD: Makefile,v 1.1.1.1 1998/10/21 19:35:56 garbled Exp $

DISTNAME=		benchfft-2.0
CATEGORIES=		benchmarks math
MASTER_SITES=		ftp://theory.lcs.mit.edu/pub/fftw/benchfft/ ftp://theory.lcs.mit.edu/pub/fftw/
DISTFILES=		${DISTNAME}${EXTRACT_SUFX} fftw-2.0.1${EXTRACT_SUFX}

MAINTAINER=		root@garbled.net
HOMEPAGE=		http://theory.lcs.mit.edu/~benchfft/download.html

GNU_CONFIGURE=		yes
USE_GMAKE=		yes

do-configure:
	(cd ${WRKDIR}/fftw-2.0.1 && ./configure)

do-build:
	(cd ${WRKDIR}/fftw-2.0.1 && gmake)
	(cd ${WRKSRC} && ./configure)
	(cd ${WRKSRC} && gmake)

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/bench ${PREFIX}/bin/bench-fft
	${INSTALL_SCRIPT} ${WRKSRC}/submit-script ${PREFIX}/bin/run-fftbench

benchmark:
	@${WRKSRC}/submit-script

.include "../../mk/bsd.pkg.mk"