1. Summary
  2. Files
  3. Support
  4. Report Spam
  5. Create account
  6. Log in

root/csw/mgar/pkg/fftw/trunk/Makefile

Revision 16916, 3.7 KB (checked in by dmichelsen, 4 months ago)

WHOLE TREE: Explicitly set GARTYPE to current default 'v2'

Line 
1NAME = fftw
2VERSION = 3.3
3CATEGORIES = lib
4GARTYPE = v2
5
6DESCRIPTION = Library for computing the discrete Fourier transform (DFT)
7define BLURB
8  FFTW is a C subroutine library for computing the discrete Fourier transform (DFT)
9  in one or more dimensions, of arbitrary input size, and of both real and complex
10  data (as well as of even/odd data, i.e. the discrete cosine/sine transforms or
11  DCT/DST). We believe that FFTW, which is free software, should become the FFT
12  library of choice for most applications.
13endef
14
15MASTER_SITES = http://www.fftw.org/
16DISTFILES  = $(DISTNAME).tar.gz
17
18VENDOR_URL = http://www.fftw.org/
19
20EXTRA_MODULATORS = LONGDOUBLE
21MODULATIONS_LONGDOUBLE = no yes
22
23# Solaris 9 package does not contain 64 bit on i386 as we have a separate Solaris 10 package
24SKIP_MODULATIONS-5.9 += isa-amd64-longdouble-no isa-amd64-longdouble-yes
25
26# Solaris 9 does not have long double support at all
27SKIP_MODULATIONS-5.9 += isa-sparcv8-longdouble-yes isa-sparcv9-longdouble-yes
28SKIP_MODULATIONS-5.9 += isa-i386-longdouble-yes isa-amd64-longdouble-no isa-amd64-longdouble-yes
29SKIP_MODULATIONS = $(SKIP_MODULATIONS-$(GAROSREL))
30
31PACKAGING_PLATFORMS += solaris9-sparc solaris9-i386
32PACKAGING_PLATFORMS += solaris10-sparc solaris10-i386
33
34PACKAGES += CSWlibfftw3-3
35SPKG_DESC_CSWlibfftw3-3 = Library for computing the discrete Fourier transform (DFT), libfftw3.so.3
36PKGFILES_CSWlibfftw3-3 = $(call pkgfiles_lib,libfftw3.so.3)
37
38PACKAGES-5.10 += CSWlibfftw3l3
39SPKG_DESC_CSWlibfftw3l3 = Library for computing the discrete Fourier transform (DFT) in long double, libfftw3l.so.3
40PKGFILES_CSWlibfftw3l3 = $(call pkgfiles_lib,libfftw3l.so.3)
41
42PACKAGES += CSWlibfftw3threads3
43SPKG_DESC_CSWlibfftw3threads3 = Library for computing the discrete Fourier transform (DFT), libfftw3_threads.so.3
44PKGFILES_CSWlibfftw3threads3 = $(call pkgfiles_lib,libfftw3_threads.so.3)
45
46PACKAGES-5.10 += CSWlibfftw3l-threads3
47SPKG_DESC_CSWlibfftw3l-threads3 = Library for computing the discrete Fourier transform (DFT) in long double, libfftw3_threads.so.3
48PKGFILES_CSWlibfftw3l-threads3 = $(call pkgfiles_lib,libfftw3l_threads.so.3)
49
50PACKAGES += CSWlibfftw-dev
51SPKG_DESC_CSWlibfftw-dev = Development files for libfftw3.so.3
52PKGFILES_CSWlibfftw-dev = $(PKGFILES_DEVEL)
53RUNTIME_DEP_PKGS_CSWlibfftw-dev += CSWlibfftw3-3
54RUNTIME_DEP_PKGS_CSWlibfftw-dev += CSWlibfftw3threads3
55RUNTIME_DEP_PKGS_CSWlibfftw-dev-5.10 += CSWlibfftw3l3
56RUNTIME_DEP_PKGS_CSWlibfftw-dev-5.10 += CSWlibfftw3l-threads3
57RUNTIME_DEP_PKGS_CSWlibfftw-dev += $(RUNTIME_DEP_PKGS_CSWlibfftw-dev-$(GAROSREL))
58
59PACKAGES += CSWfftw
60SPKG_DESC_CSWfftw = Utilities for computing the discrete Fourier transform (DFT)
61# PKGFILES is catchall
62RUNTIME_DEP_PKGS_CSWfftw += CSWlibfftw3-3
63RUNTIME_DEP_PKGS_CSWfftw += CSWlibfftw3threads3
64RUNTIME_DEP_PKGS_CSWfftw-5.10 += CSWlibfftw3l3
65RUNTIME_DEP_PKGS_CSWfftw-5.10 += CSWlibfftw3l-threads3
66RUNTIME_DEP_PKGS_CSWfftw += $(RUNTIME_DEP_PKGS_CSWfftw-$(GAROSREL))
67
68PACKAGES += $(PACKAGES-$(GAROSREL))
69
70BUILD64 = 1
71
72CONFIGURE_ARGS = $(DIRPATHS)
73CONFIGURE_ARGS += --enable-static=no
74CONFIGURE_ARGS += --enable-shared=yes
75CONFIGURE_ARGS += --enable-alloca
76CONFIGURE_ARGS += --enable-portable-binary
77#CONFIGURE_ARGS += --enable-mpi
78#CONFIGURE_ARGS += --enable-openmp
79CONFIGURE_ARGS += --enable-threads
80
81# This is only available for Solaris 10
82CONFIGURE_ARGS-5.10-longdouble-yes += --enable-long-double
83
84CONFIGURE_ARGS += $(CONFIGURE_ARGS-$(GAROSREL)-longdouble-$(LONGDOUBLE))
85
86MERGE_SCRIPTS_isa-default-longdouble-no = copy-all
87MERGE_SCRIPTS_isa-extra-longdouble-no = copy-relocate
88MERGE_DIRS_isa-extra-longdouble-no = $(bindir) $(libdir)
89MERGE_SCRIPTS_isa-default-longdouble-yes = copy-all
90MERGE_SCRIPTS_isa-extra-longdouble-yes = copy-relocate
91MERGE_DIRS_isa-extra-longdouble-yes = $(bindir) $(libdir)
92
93include gar/category.mk
Note: See TracBrowser for help on using the browser.