summaryrefslogtreecommitdiff
path: root/math/djbfft/options.mk
blob: 721dedef201cb8dc129b672aedfffb35eb3e039b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# $NetBSD: options.mk,v 1.4 2007/02/22 19:26:47 wiz Exp $

PKG_OPTIONS_VAR=		PKG_OPTIONS.djbfft
PKG_OPTIONS_OPTIONAL_GROUPS=	optimization
PKG_OPTIONS_GROUP.optimization=	djbfft-pentium djbfft-ppro djbfft-sparc

.if ${MACHINE_ARCH} == "sparc"
PKG_SUGGESTED_OPTIONS+=	djbfft-sparc
.endif

.include "../../mk/bsd.options.mk"

.if !empty(PKG_OPTIONS:Mdjbfft-pentium)
DJB_CONFIG_CMDS=	${ECHO} pentium > conf-opt
.endif

.if !empty(PKG_OPTIONS:Mdjbfft-ppro)
DJB_CONFIG_CMDS=	${ECHO} ppro > conf-opt
.endif

.if !empty(PKG_OPTIONS:Mdjbfft-sparc)
DJB_CONFIG_CMDS=	${ECHO} sparc > conf-opt
.endif