Mercurial > hg > batch-feature-extraction-tool
comparison Lib/fftw-3.2.1/rdft/scalar/r2cb/Makefile.am @ 0:25bf17994ef1
First commit. VS2013, Codeblocks and Mac OSX configuration
author | Geogaddi\David <d.m.ronan@qmul.ac.uk> |
---|---|
date | Thu, 09 Jul 2015 01:12:16 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:25bf17994ef1 |
---|---|
1 # This Makefile.am specifies a set of codelets, efficient transforms | |
2 # of small sizes, that are used as building blocks (kernels) by FFTW | |
3 # to build up large transforms, as well as the options for generating | |
4 # and compiling them. | |
5 | |
6 # You can customize FFTW for special needs, e.g. to handle certain | |
7 # sizes more efficiently, by adding new codelets to the lists of those | |
8 # included by default. If you change the list of codelets, any new | |
9 # ones you added will be automatically generated when you run the | |
10 # bootstrap script (see "Generating your own code" in the FFTW | |
11 # manual). | |
12 | |
13 ########################################################################### | |
14 AM_CPPFLAGS = -I$(top_srcdir)/kernel -I$(top_srcdir)/rdft \ | |
15 -I$(top_srcdir)/rdft/scalar | |
16 noinst_LTLIBRARIES = librdft_scalar_r2cb.la | |
17 | |
18 ########################################################################### | |
19 # r2cb_<n> is a hard-coded complex-to-real FFT of size <n> (base cases | |
20 # of real-output FFT recursion) | |
21 R2CB = r2cb_2.c r2cb_3.c r2cb_4.c r2cb_5.c r2cb_6.c r2cb_7.c r2cb_8.c \ | |
22 r2cb_9.c r2cb_10.c r2cb_11.c r2cb_12.c r2cb_13.c r2cb_14.c r2cb_15.c \ | |
23 r2cb_16.c r2cb_32.c r2cb_64.c r2cb_128.c r2cb_20.c r2cb_25.c | |
24 # r2cb_30.c r2cb_40.c r2cb_50.c | |
25 | |
26 ########################################################################### | |
27 # hb_<r> is a "twiddle" FFT of size <r>, implementing a radix-r DIF | |
28 # step for a real-output FFT. Every hb codelet must have a | |
29 # corresponding r2cbIII codelet (see below)! | |
30 HB = hb_2.c hb_3.c hb_4.c hb_5.c hb_6.c hb_7.c hb_8.c hb_9.c \ | |
31 hb_10.c hb_12.c hb_15.c hb_16.c hb_32.c hb_64.c \ | |
32 hb_20.c hb_25.c # hb_30.c hb_40.c hb_50.c | |
33 | |
34 # like hb, but generates part of its trig table on the fly (good for large n) | |
35 HB2 = hb2_4.c hb2_8.c hb2_16.c hb2_32.c \ | |
36 hb2_5.c hb2_20.c hb2_25.c | |
37 | |
38 # an r2cb transform where the output is shifted by half a sample (input | |
39 # is multiplied by a phase). This is needed as part of the DIF recursion; | |
40 # every hb_<r> or hb2_<r> codelet should have a corresponding r2cbIII_<r> | |
41 R2CBIII = r2cbIII_2.c r2cbIII_3.c r2cbIII_4.c r2cbIII_5.c r2cbIII_6.c \ | |
42 r2cbIII_7.c r2cbIII_8.c r2cbIII_9.c r2cbIII_10.c r2cbIII_12.c \ | |
43 r2cbIII_15.c r2cbIII_16.c r2cbIII_32.c r2cbIII_64.c \ | |
44 r2cbIII_20.c r2cbIII_25.c # r2cbIII_30.c r2cbIII_40.c r2cbIII_50.c | |
45 | |
46 ########################################################################### | |
47 # hc2cb_<r> is a "twiddle" FFT of size <r>, implementing a radix-r DIF | |
48 # step for a real-input FFT with rdft2-style output. <r> must be even. | |
49 HC2CB = hc2cb_2.c hc2cb_4.c hc2cb_6.c hc2cb_8.c hc2cb_10.c hc2cb_12.c \ | |
50 hc2cb_16.c hc2cb_32.c \ | |
51 hc2cb_20.c # hc2cb_30.c | |
52 | |
53 HC2CBDFT = hc2cbdft_2.c hc2cbdft_4.c hc2cbdft_6.c hc2cbdft_8.c \ | |
54 hc2cbdft_10.c hc2cbdft_12.c hc2cbdft_16.c hc2cbdft_32.c \ | |
55 hc2cbdft_20.c # hc2cbdft_30.c | |
56 | |
57 # like hc2cb, but generates part of its trig table on the fly (good | |
58 # for large n) | |
59 HC2CB2 = hc2cb2_4.c hc2cb2_8.c hc2cb2_16.c hc2cb2_32.c \ | |
60 hc2cb2_20.c # hc2cb2_30.c | |
61 HC2CBDFT2 = hc2cbdft2_4.c hc2cbdft2_8.c hc2cbdft2_16.c hc2cbdft2_32.c \ | |
62 hc2cbdft2_20.c # hc2cbdft2_30.c | |
63 | |
64 ########################################################################### | |
65 ALL_CODELETS = $(R2CB) $(HB) $(HB2) $(R2CBIII) $(HC2CB) $(HC2CB2) \ | |
66 $(HC2CBDFT) $(HC2CBDFT2) | |
67 | |
68 BUILT_SOURCES= $(ALL_CODELETS) $(CODLIST) | |
69 | |
70 librdft_scalar_r2cb_la_SOURCES = $(BUILT_SOURCES) | |
71 | |
72 SOLVTAB_NAME = X(solvtab_rdft_r2cb) | |
73 | |
74 # special rules for regenerating codelets. | |
75 include $(top_srcdir)/support/Makefile.codelets | |
76 | |
77 if MAINTAINER_MODE | |
78 FLAGS_R2CB=$(RDFT_FLAGS_COMMON) -sign 1 | |
79 FLAGS_HB=$(RDFT_FLAGS_COMMON) -sign 1 | |
80 FLAGS_HB2=$(RDFT_FLAGS_COMMON) -sign 1 -twiddle-log3 -precompute-twiddles | |
81 FLAGS_HC2CB=$(RDFT_FLAGS_COMMON) -sign 1 | |
82 FLAGS_HC2CB2=$(RDFT_FLAGS_COMMON) -sign 1 -twiddle-log3 -precompute-twiddles | |
83 FLAGS_R2CBIII=$(RDFT_FLAGS_COMMON) -sign 1 | |
84 | |
85 r2cb_%.c: $(CODELET_DEPS) $(GEN_R2CB) | |
86 ($(PRELUDE_COMMANDS_RDFT); $(TWOVERS) $(GEN_R2CB) $(FLAGS_R2CB) -n $* -name r2cb_$* -include "r2cb.h") | $(ADD_DATE) | $(INDENT) >$@ | |
87 | |
88 hb_%.c: $(CODELET_DEPS) $(GEN_HC2HC) | |
89 ($(PRELUDE_COMMANDS_RDFT); $(TWOVERS) $(GEN_HC2HC) $(FLAGS_HB) -n $* -dif -name hb_$* -include "hb.h") | $(ADD_DATE) | $(INDENT) >$@ | |
90 | |
91 hb2_%.c: $(CODELET_DEPS) $(GEN_HC2HC) | |
92 ($(PRELUDE_COMMANDS_RDFT); $(TWOVERS) $(GEN_HC2HC) $(FLAGS_HB2) -n $* -dif -name hb2_$* -include "hb.h") | $(ADD_DATE) | $(INDENT) >$@ | |
93 | |
94 r2cbIII_%.c: $(CODELET_DEPS) $(GEN_R2CB) | |
95 ($(PRELUDE_COMMANDS_RDFT); $(TWOVERS) $(GEN_R2CB) $(FLAGS_R2CB) -n $* -name r2cbIII_$* -dft-III -include "r2cbIII.h") | $(ADD_DATE) | $(INDENT) >$@ | |
96 | |
97 hc2cb_%.c: $(CODELET_DEPS) $(GEN_HC2C) | |
98 ($(PRELUDE_COMMANDS_RDFT); $(TWOVERS) $(GEN_HC2C) $(FLAGS_HC2CB) -n $* -dif -name hc2cb_$* -include "hc2cb.h") | $(ADD_DATE) | $(INDENT) >$@ | |
99 | |
100 hc2cb2_%.c: $(CODELET_DEPS) $(GEN_HC2C) | |
101 ($(PRELUDE_COMMANDS_RDFT); $(TWOVERS) $(GEN_HC2C) $(FLAGS_HC2CB2) -n $* -dif -name hc2cb2_$* -include "hc2cb.h") | $(ADD_DATE) | $(INDENT) >$@ | |
102 | |
103 hc2cbdft_%.c: $(CODELET_DEPS) $(GEN_HC2CDFT) | |
104 ($(PRELUDE_COMMANDS_RDFT); $(TWOVERS) $(GEN_HC2CDFT) $(FLAGS_HC2CB) -n $* -dif -name hc2cbdft_$* -include "hc2cb.h") | $(ADD_DATE) | $(INDENT) >$@ | |
105 | |
106 hc2cbdft2_%.c: $(CODELET_DEPS) $(GEN_HC2CDFT) | |
107 ($(PRELUDE_COMMANDS_RDFT); $(TWOVERS) $(GEN_HC2CDFT) $(FLAGS_HC2CB) -n $* -dif -name hc2cbdft2_$* -include "hc2cb.h") | $(ADD_DATE) | $(INDENT) >$@ | |
108 | |
109 endif # MAINTAINER_MODE |