pkgsrc/math/djbfft/options.mk

24 lines
588 B
Makefile
Raw Normal View History

# $NetBSD: options.mk,v 1.4 2007/02/22 19:26:47 wiz Exp $
2005-08-19 07:07:42 +02:00
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
2005-08-19 07:07:42 +02:00
.endif
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mdjbfft-pentium)
DJB_CONFIG_CMDS= ${ECHO} pentium > conf-opt
2005-08-19 07:07:42 +02:00
.endif
.if !empty(PKG_OPTIONS:Mdjbfft-ppro)
DJB_CONFIG_CMDS= ${ECHO} ppro > conf-opt
2005-08-19 07:07:42 +02:00
.endif
.if !empty(PKG_OPTIONS:Mdjbfft-sparc)
DJB_CONFIG_CMDS= ${ECHO} sparc > conf-opt
2005-08-19 07:07:42 +02:00
.endif