annotate src/fftw-3.3.5/rdft/scalar/r2cf/Makefile.am @ 169:223a55898ab9 tip default

Add null config files
author Chris Cannam <cannam@all-day-breakfast.com>
date Mon, 02 Mar 2020 14:03:47 +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)/rdft \
cannam@127 15 -I$(top_srcdir)/rdft/scalar
cannam@127 16 noinst_LTLIBRARIES = librdft_scalar_r2cf.la
cannam@127 17
cannam@127 18 ###########################################################################
cannam@127 19 # r2cf_<n> is a hard-coded real-to-complex FFT of size <n> (base cases
cannam@127 20 # of real-input FFT recursion)
cannam@127 21 R2CF = r2cf_2.c r2cf_3.c r2cf_4.c r2cf_5.c r2cf_6.c r2cf_7.c r2cf_8.c \
cannam@127 22 r2cf_9.c r2cf_10.c r2cf_11.c r2cf_12.c r2cf_13.c r2cf_14.c r2cf_15.c \
cannam@127 23 r2cf_16.c r2cf_32.c r2cf_64.c r2cf_128.c \
cannam@127 24 r2cf_20.c r2cf_25.c # r2cf_30.c r2cf_40.c r2cf_50.c
cannam@127 25
cannam@127 26 ###########################################################################
cannam@127 27 # hf_<r> is a "twiddle" FFT of size <r>, implementing a radix-r DIT
cannam@127 28 # step for a real-input FFT. Every hf codelet must have a
cannam@127 29 # corresponding r2cfII codelet (see below)!
cannam@127 30 HF = hf_2.c hf_3.c hf_4.c hf_5.c hf_6.c hf_7.c hf_8.c hf_9.c \
cannam@127 31 hf_10.c hf_12.c hf_15.c hf_16.c hf_32.c hf_64.c \
cannam@127 32 hf_20.c hf_25.c # hf_30.c hf_40.c hf_50.c
cannam@127 33
cannam@127 34 # like hf, but generates part of its trig table on the fly (good for large n)
cannam@127 35 HF2 = hf2_4.c hf2_8.c hf2_16.c hf2_32.c \
cannam@127 36 hf2_5.c hf2_20.c hf2_25.c
cannam@127 37
cannam@127 38 # an r2cf transform where the input is shifted by half a sample (output
cannam@127 39 # is multiplied by a phase). This is needed as part of the DIT recursion;
cannam@127 40 # every hf_<r> or hf2_<r> codelet should have a corresponding r2cfII_<r>
cannam@127 41 R2CFII = r2cfII_2.c r2cfII_3.c r2cfII_4.c r2cfII_5.c r2cfII_6.c \
cannam@127 42 r2cfII_7.c r2cfII_8.c r2cfII_9.c r2cfII_10.c r2cfII_12.c r2cfII_15.c \
cannam@127 43 r2cfII_16.c r2cfII_32.c r2cfII_64.c \
cannam@127 44 r2cfII_20.c r2cfII_25.c # r2cfII_30.c r2cfII_40.c r2cfII_50.c
cannam@127 45
cannam@127 46 ###########################################################################
cannam@127 47 # hc2cf_<r> is a "twiddle" FFT of size <r>, implementing a radix-r DIT
cannam@127 48 # step for a real-input FFT with rdft2-style output. <r> must be even.
cannam@127 49 HC2CF = hc2cf_2.c hc2cf_4.c hc2cf_6.c hc2cf_8.c hc2cf_10.c hc2cf_12.c \
cannam@127 50 hc2cf_16.c hc2cf_32.c \
cannam@127 51 hc2cf_20.c # hc2cf_30.c
cannam@127 52
cannam@127 53 HC2CFDFT = hc2cfdft_2.c hc2cfdft_4.c hc2cfdft_6.c hc2cfdft_8.c \
cannam@127 54 hc2cfdft_10.c hc2cfdft_12.c hc2cfdft_16.c hc2cfdft_32.c \
cannam@127 55 hc2cfdft_20.c # hc2cfdft_30.c
cannam@127 56
cannam@127 57 # like hc2cf, but generates part of its trig table on the fly (good
cannam@127 58 # for large n)
cannam@127 59 HC2CF2 = hc2cf2_4.c hc2cf2_8.c hc2cf2_16.c hc2cf2_32.c \
cannam@127 60 hc2cf2_20.c # hc2cf2_30.c
cannam@127 61 HC2CFDFT2 = hc2cfdft2_4.c hc2cfdft2_8.c hc2cfdft2_16.c hc2cfdft2_32.c \
cannam@127 62 hc2cfdft2_20.c # hc2cfdft2_30.c
cannam@127 63
cannam@127 64 ###########################################################################
cannam@127 65 ALL_CODELETS = $(R2CF) $(HF) $(HF2) $(R2CFII) $(HC2CF) $(HC2CF2) \
cannam@127 66 $(HC2CFDFT) $(HC2CFDFT2)
cannam@127 67
cannam@127 68 BUILT_SOURCES= $(ALL_CODELETS) $(CODLIST)
cannam@127 69
cannam@127 70 librdft_scalar_r2cf_la_SOURCES = $(BUILT_SOURCES)
cannam@127 71
cannam@127 72 SOLVTAB_NAME = X(solvtab_rdft_r2cf)
cannam@127 73 XRENAME=X
cannam@127 74
cannam@127 75 # special rules for regenerating codelets.
cannam@127 76 include $(top_srcdir)/support/Makefile.codelets
cannam@127 77
cannam@127 78 if MAINTAINER_MODE
cannam@127 79 FLAGS_R2CF=$(RDFT_FLAGS_COMMON)
cannam@127 80 FLAGS_HF=$(RDFT_FLAGS_COMMON)
cannam@127 81 FLAGS_HF2=$(RDFT_FLAGS_COMMON) -twiddle-log3 -precompute-twiddles
cannam@127 82 FLAGS_HC2CF=$(RDFT_FLAGS_COMMON)
cannam@127 83 FLAGS_HC2CF2=$(RDFT_FLAGS_COMMON) -twiddle-log3 -precompute-twiddles
cannam@127 84 FLAGS_R2CFII=$(RDFT_FLAGS_COMMON)
cannam@127 85
cannam@127 86 r2cf_%.c: $(CODELET_DEPS) $(GEN_R2CF)
cannam@127 87 ($(PRELUDE_COMMANDS_RDFT); $(TWOVERS) $(GEN_R2CF) $(FLAGS_R2CF) -n $* -name r2cf_$* -include "r2cf.h") | $(ADD_DATE) | $(INDENT) >$@
cannam@127 88
cannam@127 89 hf_%.c: $(CODELET_DEPS) $(GEN_HC2HC)
cannam@127 90 ($(PRELUDE_COMMANDS_RDFT); $(TWOVERS) $(GEN_HC2HC) $(FLAGS_HF) -n $* -dit -name hf_$* -include "hf.h") | $(ADD_DATE) | $(INDENT) >$@
cannam@127 91
cannam@127 92 hf2_%.c: $(CODELET_DEPS) $(GEN_HC2HC)
cannam@127 93 ($(PRELUDE_COMMANDS_RDFT); $(TWOVERS) $(GEN_HC2HC) $(FLAGS_HF2) -n $* -dit -name hf2_$* -include "hf.h") | $(ADD_DATE) | $(INDENT) >$@
cannam@127 94
cannam@127 95 r2cfII_%.c: $(CODELET_DEPS) $(GEN_R2CF)
cannam@127 96 ($(PRELUDE_COMMANDS_RDFT); $(TWOVERS) $(GEN_R2CF) $(FLAGS_R2CF) -n $* -name r2cfII_$* -dft-II -include "r2cfII.h") | $(ADD_DATE) | $(INDENT) >$@
cannam@127 97
cannam@127 98 hc2cf_%.c: $(CODELET_DEPS) $(GEN_HC2C)
cannam@127 99 ($(PRELUDE_COMMANDS_RDFT); $(TWOVERS) $(GEN_HC2C) $(FLAGS_HC2CF) -n $* -dit -name hc2cf_$* -include "hc2cf.h") | $(ADD_DATE) | $(INDENT) >$@
cannam@127 100
cannam@127 101 hc2cf2_%.c: $(CODELET_DEPS) $(GEN_HC2C)
cannam@127 102 ($(PRELUDE_COMMANDS_RDFT); $(TWOVERS) $(GEN_HC2C) $(FLAGS_HC2CF2) -n $* -dit -name hc2cf2_$* -include "hc2cf.h") | $(ADD_DATE) | $(INDENT) >$@
cannam@127 103
cannam@127 104 hc2cfdft_%.c: $(CODELET_DEPS) $(GEN_HC2CDFT)
cannam@127 105 ($(PRELUDE_COMMANDS_RDFT); $(TWOVERS) $(GEN_HC2CDFT) $(FLAGS_HC2CF) -n $* -dit -name hc2cfdft_$* -include "hc2cf.h") | $(ADD_DATE) | $(INDENT) >$@
cannam@127 106
cannam@127 107 hc2cfdft2_%.c: $(CODELET_DEPS) $(GEN_HC2CDFT)
cannam@127 108 ($(PRELUDE_COMMANDS_RDFT); $(TWOVERS) $(GEN_HC2CDFT) $(FLAGS_HC2CF2) -n $* -dit -name hc2cfdft2_$* -include "hc2cf.h") | $(ADD_DATE) | $(INDENT) >$@
cannam@127 109
cannam@127 110 endif # MAINTAINER_MODE