To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.

The primary repository for this project is hosted at https://github.com/sonic-visualiser/sv-dependency-builds .
This repository is a read-only copy which is updated automatically every hour.

Statistics Download as Zip
| Branch: | Tag: | Revision:

root / src / fftw-3.3.8 / api / Makefile.am @ 167:bd3cc4d1df30

History | View | Annotate | Download (2.76 KB)

1
AM_CPPFLAGS = -I $(top_srcdir)
2
AM_CFLAGS = $(STACK_ALIGN_CFLAGS)
3

    
4
EXTRA_DIST = f03api.sh genf03.pl fftw3.f03.in
5

    
6
include_HEADERS = fftw3.h fftw3.f fftw3l.f03 fftw3q.f03
7
nodist_include_HEADERS = fftw3.f03
8
noinst_LTLIBRARIES = libapi.la
9

    
10
libapi_la_SOURCES = apiplan.c configure.c execute-dft-c2r.c		\
11
execute-dft-r2c.c execute-dft.c execute-r2r.c execute-split-dft-c2r.c	\
12
execute-split-dft-r2c.c execute-split-dft.c execute.c			\
13
export-wisdom-to-file.c export-wisdom-to-string.c export-wisdom.c	\
14
f77api.c flops.c forget-wisdom.c import-system-wisdom.c			\
15
import-wisdom-from-file.c import-wisdom-from-string.c import-wisdom.c	\
16
malloc.c map-r2r-kind.c mapflags.c mkprinter-file.c mkprinter-str.c	\
17
mktensor-iodims.c mktensor-rowmajor.c plan-dft-1d.c plan-dft-2d.c	\
18
plan-dft-3d.c plan-dft-c2r-1d.c plan-dft-c2r-2d.c plan-dft-c2r-3d.c	\
19
plan-dft-c2r.c plan-dft-r2c-1d.c plan-dft-r2c-2d.c plan-dft-r2c-3d.c	\
20
plan-dft-r2c.c plan-dft.c plan-guru-dft-c2r.c plan-guru-dft-r2c.c	\
21
plan-guru-dft.c plan-guru-r2r.c plan-guru-split-dft-c2r.c		\
22
plan-guru-split-dft-r2c.c plan-guru-split-dft.c plan-many-dft-c2r.c	\
23
plan-many-dft-r2c.c plan-many-dft.c plan-many-r2r.c plan-r2r-1d.c	\
24
plan-r2r-2d.c plan-r2r-3d.c plan-r2r.c print-plan.c rdft2-pad.c		\
25
the-planner.c version.c api.h f77funcs.h fftw3.h x77.h guru.h		\
26
guru64.h mktensor-iodims.h plan-guru-dft-c2r.h plan-guru-dft-r2c.h	\
27
plan-guru-dft.h plan-guru-r2r.h plan-guru-split-dft-c2r.h		\
28
plan-guru-split-dft-r2c.h plan-guru-split-dft.h plan-guru64-dft-c2r.c	\
29
plan-guru64-dft-r2c.c plan-guru64-dft.c plan-guru64-r2r.c		\
30
plan-guru64-split-dft-c2r.c plan-guru64-split-dft-r2c.c			\
31
plan-guru64-split-dft.c mktensor-iodims64.c
32

    
33
BUILT_SOURCES = fftw3.f fftw3.f03.in fftw3.f03 fftw3l.f03 fftw3q.f03
34
CLEANFILES = fftw3.f03
35

    
36
fftw3.f03: fftw3.f03.in
37
	(echo "! Generated automatically.  DO NOT EDIT!"; echo; \
38
         echo "  integer, parameter :: C_FFTW_R2R_KIND = @C_FFTW_R2R_KIND@"; \
39
         grep -v "Generated automatically" $(srcdir)/fftw3.f03.in) > $@
40

    
41
if MAINTAINER_MODE
42

    
43
# convert constants to F77 PARAMETER statements
44
fftw3.f: fftw3.h
45
	rm -f $@
46
	perl -pe 's/([A-Z0-9_]+)=([+-]?[0-9]+)/\n      INTEGER \1\n      PARAMETER (\1=\2)\n/g' $< |egrep 'PARAMETER|INTEGER' > $@
47
	perl -pe 's/#define +([A-Z0-9_]+) +\(([+-]?[0-9]+)U?\)/\n      INTEGER \1\n      PARAMETER (\1=\2)\n/g' $< |egrep 'PARAMETER|INTEGER' >> $@
48
	perl -pe 'if (/#define +([A-Z0-9_]+) +\(([0-9]+)U? *<< *([0-9]+)\)/) { print "\n      INTEGER $$1\n      PARAMETER ($$1=",$$2 << $$3,")\n"; }' $< |egrep 'PARAMETER|INTEGER' >> $@
49

    
50
fftw3.f03.in: fftw3.h f03api.sh genf03.pl
51
	sh $(srcdir)/f03api.sh d f > $@
52

    
53
fftw3l.f03: fftw3.h f03api.sh genf03.pl
54
	sh $(srcdir)/f03api.sh l | grep -v parameter > $@
55

    
56
fftw3q.f03: fftw3.h f03api.sh genf03.pl
57
	sh $(srcdir)/f03api.sh q | grep -v parameter > $@
58

    
59
endif # MAINTAINER_MODE