blob: 7b739c0a017c09185302cb264bb542de9290a9fb (
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
38
39
40
41
42
|
# $NetBSD: Makefile,v 1.4 2004/12/03 15:15:03 wiz 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
BUILD_TARGET=
INSTALL_TARGET= setup check
USE_BUILDLINK3= yes
NOT_FOR_PLATFORM= IRIX-*-*
do-configure:
@${ECHO} '${CC} ${CFLAGS}' > ${WRKSRC}/conf-cc
@${ECHO} '${CC}' > ${WRKSRC}/conf-ld
@${ECHO} ${PREFIX} > ${WRKSRC}/conf-home
.ifdef(WITH_OPT_PENTIUM)
@${ECHO} 'pentium' > ${WRKSRC}/conf-opt
.endif
.ifdef(WITH_OPT_PPRO)
@${ECHO} 'ppro' > ${WRKSRC}/conf-opt
.endif
.if (${MACHINE_ARCH} == "sparc")
@${ECHO} 'sparc' > ${WRKSRC}/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/bsd.pkg.mk"
|