#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#
#
# 3.2.1 is no longer available on upstream website, so we use Fedora's archive
# COMPONENT_ARCHIVE_URL= ftp://ftp.fftw.org/pub/fftw/$(COMPONENT_ARCHIVE)
COMPONENT_ARCHIVE_URL= http://pkgs.fedoraproject.org/repo/pkgs/fftw/fftw-3.2.1.tar.gz/712d3f33625a0a76f5758648d4b925f7/fftw-3.2.1.tar.gz
# Need to build regular, float, and long-double variants
VARIANTS = f l
CONFIGURE_32 += $(VARIANT_DIRS_32:%=%/.configured)
CONFIGURE_64 += $(VARIANT_DIRS_64:%=%/.configured)
BUILD_32 += $(VARIANT_DIRS_32:%=%/.built)
BUILD_64 += $(VARIANT_DIRS_64:%=%/.built)
INSTALL_32 += $(VARIANT_DIRS_32:%=%/.installed)
INSTALL_64 += $(VARIANT_DIRS_64:%=%/.installed)
TEST_32 += $(VARIANT_DIRS_32:%=%/.tested-and-compared)
TEST_64 += $(VARIANT_DIRS_64:%=%/.tested-and-compared)
SYSTEM_TEST_32 += $(VARIANT_DIRS_32:%=%/.system-tested-and-compared)
SYSTEM_TEST_64 += $(VARIANT_DIRS_64:%=%/.system-tested-and-compared)
CONFIGURE_OPTIONS.f = --enable-float
CONFIGURE_OPTIONS.l = --enable-long-double
# FFTW selects random transforms for each test run, so just print results
'-n ' \
'-e "/ FFTW/p" '