File: Makefile.am

package info (click to toggle)
fftw3 3.1.2-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 14,016 kB
  • ctags: 10,195
  • sloc: ansic: 154,845; asm: 33,960; ml: 12,962; sh: 8,943; perl: 1,392; makefile: 878; fortran: 108
file content (35 lines) | stat: -rw-r--r-- 1,817 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
AM_CPPFLAGS = -I$(top_srcdir)/kernel -I$(top_srcdir)/dft		\
-I$(top_srcdir)/rdft -I$(top_srcdir)/reodft

include_HEADERS = fftw3.h fftw3.f
noinst_LTLIBRARIES = libapi.la

libapi_la_SOURCES = apiplan.c configure.c execute-dft-c2r.c		\
execute-dft-r2c.c execute-dft.c execute-r2r.c execute-split-dft-c2r.c	\
execute-split-dft-r2c.c execute-split-dft.c execute.c			\
export-wisdom-to-file.c export-wisdom-to-string.c export-wisdom.c	\
extract-reim.c f77api.c flops.c forget-wisdom.c import-system-wisdom.c	\
import-wisdom-from-file.c import-wisdom-from-string.c import-wisdom.c	\
malloc.c map-r2r-kind.c mapflags.c mkprinter-file.c mktensor-iodims.c	\
mktensor-rowmajor.c plan-dft-1d.c plan-dft-2d.c plan-dft-3d.c		\
plan-dft-c2r-1d.c plan-dft-c2r-2d.c plan-dft-c2r-3d.c plan-dft-c2r.c	\
plan-dft-r2c-1d.c plan-dft-r2c-2d.c plan-dft-r2c-3d.c plan-dft-r2c.c	\
plan-dft.c plan-guru-dft-c2r.c plan-guru-dft-r2c.c plan-guru-dft.c	\
plan-guru-r2r.c plan-guru-split-dft-c2r.c plan-guru-split-dft-r2c.c	\
plan-guru-split-dft.c plan-many-dft-c2r.c plan-many-dft-r2c.c		\
plan-many-dft.c plan-many-r2r.c plan-r2r-1d.c plan-r2r-2d.c		\
plan-r2r-3d.c plan-r2r.c print-plan.c rdft2-pad.c the-planner.c		\
version.c api.h f77funcs.h fftw3.h x77.h

BUILT_SOURCES = fftw3.f

if MAINTAINER_MODE

# convert constants to F77 PARAMETER statements
fftw3.f: fftw3.h
	rm -f $@
	perl -pe 's/([A-Z0-9_]+)=([0-9]+)/\n      INTEGER \1\n      PARAMETER (\1=\2)\n/g' $< |egrep 'PARAMETER|INTEGER' > $@
	perl -pe 's/#define +([A-Z0-9_]+) +\(([+-]?[0-9]+)U?\)/\n      INTEGER \1\n      PARAMETER (\1=\2)\n/g' $< |egrep 'PARAMETER|INTEGER' >> $@
	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' >> $@

endif # MAINTAINER_MODE