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 (67 lines) | stat: -rw-r--r-- 2,853 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
AM_CPPFLAGS = -I$(top_srcdir)/kernel -I$(top_srcdir)/libbench2	\
-I$(top_srcdir)/dft -I$(top_srcdir)/rdft -I$(top_srcdir)/reodft	\
-I$(top_srcdir)/threads -I$(top_srcdir)/api 

noinst_PROGRAMS = bench
EXTRA_DIST = check.pl README

if THREADS
if !COMBINED_THREADS
LIBFFTWTHREADS = $(top_builddir)/threads/libfftw3@PREC_SUFFIX@_threads.la
endif
else
LIBFFTWTHREADS = 
endif

bench_SOURCES = bench.c hook.c
bench_LDADD = $(LIBFFTWTHREADS)				\
$(top_builddir)/libfftw3@PREC_SUFFIX@.la		\
$(top_builddir)/libbench2/libbench2.a $(THREADLIBS)

check-local: bench$(EXEEXT)
	perl -w $(srcdir)/check.pl -r -c=30 -v `pwd`/bench
	@echo "--------------------------------------------------------------"
	@echo "         FFTW transforms passed basic tests!"
	@echo "--------------------------------------------------------------"
if THREADS
	perl -w $(srcdir)/check.pl -r -c=30 -v --nthreads=2 `pwd`/bench
	@echo "--------------------------------------------------------------"
	@echo "         FFTW threaded transforms passed basic tests!"
	@echo "--------------------------------------------------------------"
endif

bigcheck: bench$(EXEEXT)
	perl -w $(srcdir)/check.pl -a -v `pwd`/bench
	@echo "--------------------------------------------------------------"
	@echo "         FFTW transforms passed big tests!"
	@echo "--------------------------------------------------------------"
if THREADS
	perl -w $(srcdir)/check.pl -a -v --nthreads=2 `pwd`/bench
	perl -w $(srcdir)/check.pl -a -v --nthreads=3 `pwd`/bench
	perl -w $(srcdir)/check.pl -a -v --nthreads=10 `pwd`/bench
	@echo "--------------------------------------------------------------"
	@echo "         FFTW threaded transforms passed big tests!"
	@echo "--------------------------------------------------------------"
endif

smallcheck: bench$(EXEEXT)
	perl -w $(srcdir)/check.pl -r -c=1 -v `pwd`/bench
	perl -w $(srcdir)/check.pl -r --estimate -c=5 -v `pwd`/bench
	@echo "--------------------------------------------------------------"
	@echo "         FFTW transforms passed a few tests!"
	@echo "--------------------------------------------------------------"
if THREADS
	perl -w $(srcdir)/check.pl -r --estimate -c=2 -v --nthreads=2 `pwd`/bench
	@echo "--------------------------------------------------------------"
	@echo "         FFTW threaded transforms passed a few tests!"
	@echo "--------------------------------------------------------------"
endif

paranoid-check: bench$(EXEEXT)
if THREADS
	perl -w $(srcdir)/check.pl -a -o=exhaustive --nthreads=10 --paranoid `pwd`/bench
	perl -w $(srcdir)/check.pl -a -o=exhaustive --nthreads=7 --paranoid `pwd`/bench
	perl -w $(srcdir)/check.pl -a -o=exhaustive --nthreads=3 --paranoid `pwd`/bench
	perl -w $(srcdir)/check.pl -a -o=exhaustive --nthreads=2 --paranoid `pwd`/bench
endif
	perl -w $(srcdir)/check.pl -a -o=exhaustive --paranoid `pwd`/bench