summaryrefslogtreecommitdiff
path: root/math/djbfft/Makefile
blob: 201ca671b521756fc9ace37e86e3bb4a47c2171a (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
33
34
35
36
37
# $NetBSD: Makefile,v 1.7 2005/03/23 00:57:20 schmonz Exp $

DISTNAME=       	djbfft-0.76
CATEGORIES=     	math
MASTER_SITES=   	http://cr.yp.to/djbfft/

MAINTAINER=     	tech-pkg@NetBSD.org
HOMEPAGE=       	http://pobox.com/~djb/djbfft.html
COMMENT=        	Extremely fast library for floating-point convolution

USE_BUILDLINK3=		yes

DJB_RESTRICTED=		YES
NOT_FOR_PLATFORM=	IRIX-*-*

.ifdef(WITH_OPT_PENTIUM)
DJB_CONFIG_CMDS=	${ECHO} pentium > conf-opt
.endif
.ifdef(WITH_OPT_PPRO)
DJB_CONFIG_CMDS=	${ECHO} ppro > conf-opt
.endif
.if (${MACHINE_ARCH} == "sparc")
DJB_CONFIG_CMDS=	${ECHO} sparc > conf-opt
.endif

post-extract:
.if (${MACHINE_ARCH} == "i386" && !WITH_OPT_PENTIUM)
	@${ECHO} '===> Set WITH_OPT_PENTIUM to optimize for both Pentium and Pentium MMX'
	@${ECHO} '     like processors.'
.endif
.if (${MACHINE_ARCH} == "i386" && !WITH_OPT_PPRO)
	@${ECHO} '===> Set WITH_OPT_PPRO to optimize for Pentium Pro, Pentium II, and'
	@${ECHO} '     Pentium III like processors.'
.endif

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