annotate src/fftw-3.3.5/dft/scalar/codelets/Makefile.am @ 140:59a8758c56b1

Add source for PortAudio stable v190600_20161030
author Chris Cannam <cannam@all-day-breakfast.com>
date Tue, 03 Jan 2017 13:44:07 +0000
parents 7867fa7e1b6b
children
rev   line source
cannam@127 1 # This Makefile.am specifies a set of codelets, efficient transforms
cannam@127 2 # of small sizes, that are used as building blocks (kernels) by FFTW
cannam@127 3 # to build up large transforms, as well as the options for generating
cannam@127 4 # and compiling them.
cannam@127 5
cannam@127 6 # You can customize FFTW for special needs, e.g. to handle certain
cannam@127 7 # sizes more efficiently, by adding new codelets to the lists of those
cannam@127 8 # included by default. If you change the list of codelets, any new
cannam@127 9 # ones you added will be automatically generated when you run the
cannam@127 10 # bootstrap script (see "Generating your own code" in the FFTW
cannam@127 11 # manual).
cannam@127 12
cannam@127 13 ###########################################################################
cannam@127 14 AM_CPPFLAGS = -I$(top_srcdir)/kernel -I$(top_srcdir)/dft \
cannam@127 15 -I$(top_srcdir)/dft/scalar
cannam@127 16 noinst_LTLIBRARIES = libdft_scalar_codelets.la
cannam@127 17
cannam@127 18 ###########################################################################
cannam@127 19 # n1_<n> is a hard-coded FFT of size <n> (base cases of FFT recursion)
cannam@127 20 N1 = n1_2.c n1_3.c n1_4.c n1_5.c n1_6.c n1_7.c n1_8.c n1_9.c n1_10.c \
cannam@127 21 n1_11.c n1_12.c n1_13.c n1_14.c n1_15.c n1_16.c n1_32.c n1_64.c \
cannam@127 22 n1_20.c n1_25.c # n1_30.c n1_40.c n1_50.c
cannam@127 23
cannam@127 24 ###########################################################################
cannam@127 25 # t1_<r> is a "twiddle" FFT of size <r>, implementing a radix-r DIT step
cannam@127 26 T1 = t1_2.c t1_3.c t1_4.c t1_5.c t1_6.c t1_7.c t1_8.c t1_9.c \
cannam@127 27 t1_10.c t1_12.c t1_15.c t1_16.c t1_32.c t1_64.c \
cannam@127 28 t1_20.c t1_25.c # t1_30.c t1_40.c t1_50.c
cannam@127 29
cannam@127 30 # t2_<r> is also a twiddle FFT, but instead of using a complete lookup table
cannam@127 31 # of trig. functions, it partially generates the trig. values on the fly
cannam@127 32 # (this is faster for large sizes).
cannam@127 33 T2 = t2_4.c t2_8.c t2_16.c t2_32.c t2_64.c \
cannam@127 34 t2_5.c t2_10.c t2_20.c t2_25.c
cannam@127 35
cannam@127 36 ###########################################################################
cannam@127 37 # The F (DIF) codelets are used for a kind of in-place transform algorithm,
cannam@127 38 # but the planner seems to never (or hardly ever) use them on the machines
cannam@127 39 # we have access to, preferring the Q codelets and the use of buffers
cannam@127 40 # for sub-transforms. So, we comment them out, at least for now.
cannam@127 41
cannam@127 42 # f1_<r> is a "twiddle" FFT of size <r>, implementing a radix-r DIF step
cannam@127 43 F1 = # f1_2.c f1_3.c f1_4.c f1_5.c f1_6.c f1_7.c f1_8.c f1_9.c f1_10.c f1_12.c f1_15.c f1_16.c f1_32.c f1_64.c
cannam@127 44
cannam@127 45 # like f1, but partially generates its trig. table on the fly
cannam@127 46 F2 = # f2_4.c f2_8.c f2_16.c f2_32.c f2_64.c
cannam@127 47
cannam@127 48 ###########################################################################
cannam@127 49 # q1_<r> is <r> twiddle FFTs of size <r> (DIF step), where the output is
cannam@127 50 # transposed. This is used for in-place transposes in sizes that are
cannam@127 51 # divisible by <r>^2. These codelets have size ~ <r>^2, so you should
cannam@127 52 # probably not use <r> bigger than 8 or so.
cannam@127 53 Q1 = q1_2.c q1_4.c q1_8.c q1_3.c q1_5.c q1_6.c
cannam@127 54
cannam@127 55 ###########################################################################
cannam@127 56 ALL_CODELETS = $(N1) $(T1) $(T2) $(F1) $(F2) $(Q1)
cannam@127 57 BUILT_SOURCES= $(ALL_CODELETS) $(CODLIST)
cannam@127 58
cannam@127 59 libdft_scalar_codelets_la_SOURCES = $(BUILT_SOURCES)
cannam@127 60
cannam@127 61 SOLVTAB_NAME = X(solvtab_dft_standard)
cannam@127 62 XRENAME=X
cannam@127 63
cannam@127 64 # special rules for regenerating codelets.
cannam@127 65 include $(top_srcdir)/support/Makefile.codelets
cannam@127 66
cannam@127 67 if MAINTAINER_MODE
cannam@127 68 FLAGS_N1=$(DFT_FLAGS_COMMON)
cannam@127 69 FLAGS_T1=$(DFT_FLAGS_COMMON)
cannam@127 70 FLAGS_T2=$(DFT_FLAGS_COMMON) -twiddle-log3 -precompute-twiddles
cannam@127 71 FLAGS_F1=$(DFT_FLAGS_COMMON)
cannam@127 72 FLAGS_F2=$(DFT_FLAGS_COMMON) -twiddle-log3 -precompute-twiddles
cannam@127 73 FLAGS_Q1=$(DFT_FLAGS_COMMON) -reload-twiddle
cannam@127 74 FLAGS_Q2=$(DFT_FLAGS_COMMON) -twiddle-log3 -precompute-twiddles
cannam@127 75
cannam@127 76 n1_%.c: $(CODELET_DEPS) $(GEN_NOTW)
cannam@127 77 ($(PRELUDE_COMMANDS_DFT); $(TWOVERS) $(GEN_NOTW) $(FLAGS_N1) -n $* -name n1_$* -include "n.h") | $(ADD_DATE) | $(INDENT) >$@
cannam@127 78
cannam@127 79 t1_%.c: $(CODELET_DEPS) $(GEN_TWIDDLE)
cannam@127 80 ($(PRELUDE_COMMANDS_DFT); $(TWOVERS) $(GEN_TWIDDLE) $(FLAGS_T1) -n $* -name t1_$* -include "t.h") | $(ADD_DATE) | $(INDENT) >$@
cannam@127 81
cannam@127 82 t2_%.c: $(CODELET_DEPS) $(GEN_TWIDDLE)
cannam@127 83 ($(PRELUDE_COMMANDS_DFT); $(TWOVERS) $(GEN_TWIDDLE) $(FLAGS_T2) -n $* -name t2_$* -include "t.h") | $(ADD_DATE) | $(INDENT) >$@
cannam@127 84
cannam@127 85 f1_%.c: $(CODELET_DEPS) $(GEN_TWIDDLE)
cannam@127 86 ($(PRELUDE_COMMANDS_DFT); $(TWOVERS) $(GEN_TWIDDLE) $(FLAGS_F1) -dif -n $* -name f1_$* -include "f.h") | $(ADD_DATE) | $(INDENT) >$@
cannam@127 87
cannam@127 88 f2_%.c: $(CODELET_DEPS) $(GEN_TWIDDLE)
cannam@127 89 ($(PRELUDE_COMMANDS_DFT); $(TWOVERS) $(GEN_TWIDDLE) $(FLAGS_F2) -dif -n $* -name f2_$* -include "f.h") | $(ADD_DATE) | $(INDENT) >$@
cannam@127 90
cannam@127 91 q1_%.c: $(CODELET_DEPS) $(GEN_TWIDSQ)
cannam@127 92 ($(PRELUDE_COMMANDS_DFT); $(TWOVERS) $(GEN_TWIDSQ) $(FLAGS_Q1) -dif -n $* -name q1_$* -include "q.h") | $(ADD_DATE) | $(INDENT) >$@
cannam@127 93
cannam@127 94 q2_%.c: $(CODELET_DEPS) $(GEN_TWIDSQ)
cannam@127 95 ($(PRELUDE_COMMANDS_DFT); $(TWOVERS) $(GEN_TWIDSQ) $(FLAGS_Q2) -dif -n $* -name q2_$* -include "q.h") | $(ADD_DATE) | $(INDENT) >$@
cannam@127 96
cannam@127 97 endif # MAINTAINER_MODE