annotate src/fftw-3.3.3/dft/simd/common/Makefile.in @ 23:619f715526df sv_v2.1

Update Vamp plugin SDK to 2.5
author Chris Cannam
date Thu, 09 May 2013 10:52:46 +0100
parents 37bf6b4a2645
children
rev   line source
Chris@10 1 # Makefile.in generated by automake 1.11.6 from Makefile.am.
Chris@10 2 # @configure_input@
Chris@10 3
Chris@10 4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
Chris@10 5 # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
Chris@10 6 # Foundation, Inc.
Chris@10 7 # This Makefile.in is free software; the Free Software Foundation
Chris@10 8 # gives unlimited permission to copy and/or distribute it,
Chris@10 9 # with or without modifications, as long as this notice is preserved.
Chris@10 10
Chris@10 11 # This program is distributed in the hope that it will be useful,
Chris@10 12 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
Chris@10 13 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
Chris@10 14 # PARTICULAR PURPOSE.
Chris@10 15
Chris@10 16 @SET_MAKE@
Chris@10 17
Chris@10 18 # include the list of codelets
Chris@10 19
Chris@10 20 # This file contains a standard list of DFT SIMD codelets. It is
Chris@10 21 # included by common/Makefile to generate the C files with the actual
Chris@10 22 # codelets in them. It is included by {sse,sse2,...}/Makefile to
Chris@10 23 # generate and compile stub files that include common/*.c
Chris@10 24
Chris@10 25 # You can customize FFTW for special needs, e.g. to handle certain
Chris@10 26 # sizes more efficiently, by adding new codelets to the lists of those
Chris@10 27 # included by default. If you change the list of codelets, any new
Chris@10 28 # ones you added will be automatically generated when you run the
Chris@10 29 # bootstrap script (see "Generating your own code" in the FFTW
Chris@10 30 # manual).
Chris@10 31
Chris@10 32 # -*- makefile -*-
Chris@10 33 # This file contains special make rules to generate codelets.
Chris@10 34 # Most of this file requires GNU make .
Chris@10 35 VPATH = @srcdir@
Chris@10 36 am__make_dryrun = \
Chris@10 37 { \
Chris@10 38 am__dry=no; \
Chris@10 39 case $$MAKEFLAGS in \
Chris@10 40 *\\[\ \ ]*) \
Chris@10 41 echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \
Chris@10 42 | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
Chris@10 43 *) \
Chris@10 44 for am__flg in $$MAKEFLAGS; do \
Chris@10 45 case $$am__flg in \
Chris@10 46 *=*|--*) ;; \
Chris@10 47 *n*) am__dry=yes; break;; \
Chris@10 48 esac; \
Chris@10 49 done;; \
Chris@10 50 esac; \
Chris@10 51 test $$am__dry = yes; \
Chris@10 52 }
Chris@10 53 pkgdatadir = $(datadir)/@PACKAGE@
Chris@10 54 pkgincludedir = $(includedir)/@PACKAGE@
Chris@10 55 pkglibdir = $(libdir)/@PACKAGE@
Chris@10 56 pkglibexecdir = $(libexecdir)/@PACKAGE@
Chris@10 57 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
Chris@10 58 install_sh_DATA = $(install_sh) -c -m 644
Chris@10 59 install_sh_PROGRAM = $(install_sh) -c
Chris@10 60 install_sh_SCRIPT = $(install_sh) -c
Chris@10 61 INSTALL_HEADER = $(INSTALL_DATA)
Chris@10 62 transform = $(program_transform_name)
Chris@10 63 NORMAL_INSTALL = :
Chris@10 64 PRE_INSTALL = :
Chris@10 65 POST_INSTALL = :
Chris@10 66 NORMAL_UNINSTALL = :
Chris@10 67 PRE_UNINSTALL = :
Chris@10 68 POST_UNINSTALL = :
Chris@10 69 build_triplet = @build@
Chris@10 70 host_triplet = @host@
Chris@10 71 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
Chris@10 72 $(top_srcdir)/dft/simd/codlist.mk \
Chris@10 73 $(top_srcdir)/support/Makefile.codelets
Chris@10 74 subdir = dft/simd/common
Chris@10 75 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
Chris@10 76 am__aclocal_m4_deps = $(top_srcdir)/m4/acx_mpi.m4 \
Chris@10 77 $(top_srcdir)/m4/acx_pthread.m4 \
Chris@10 78 $(top_srcdir)/m4/ax_cc_maxopt.m4 \
Chris@10 79 $(top_srcdir)/m4/ax_check_compiler_flags.m4 \
Chris@10 80 $(top_srcdir)/m4/ax_compiler_vendor.m4 \
Chris@10 81 $(top_srcdir)/m4/ax_gcc_aligns_stack.m4 \
Chris@10 82 $(top_srcdir)/m4/ax_gcc_version.m4 \
Chris@10 83 $(top_srcdir)/m4/ax_openmp.m4 $(top_srcdir)/m4/libtool.m4 \
Chris@10 84 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
Chris@10 85 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
Chris@10 86 $(top_srcdir)/configure.ac
Chris@10 87 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
Chris@10 88 $(ACLOCAL_M4)
Chris@10 89 mkinstalldirs = $(install_sh) -d
Chris@10 90 CONFIG_HEADER = $(top_builddir)/config.h
Chris@10 91 CONFIG_CLEAN_FILES =
Chris@10 92 CONFIG_CLEAN_VPATH_FILES =
Chris@10 93 SOURCES =
Chris@10 94 DIST_SOURCES =
Chris@10 95 am__can_run_installinfo = \
Chris@10 96 case $$AM_UPDATE_INFO_DIR in \
Chris@10 97 n|no|NO) false;; \
Chris@10 98 *) (install-info --version) >/dev/null 2>&1;; \
Chris@10 99 esac
Chris@10 100 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
Chris@10 101 ACLOCAL = @ACLOCAL@
Chris@10 102 ALLOCA = @ALLOCA@
Chris@10 103 ALTIVEC_CFLAGS = @ALTIVEC_CFLAGS@
Chris@10 104 AMTAR = @AMTAR@
Chris@10 105 AR = @AR@
Chris@10 106 AS = @AS@
Chris@10 107 AUTOCONF = @AUTOCONF@
Chris@10 108 AUTOHEADER = @AUTOHEADER@
Chris@10 109 AUTOMAKE = @AUTOMAKE@
Chris@10 110 AVX_CFLAGS = @AVX_CFLAGS@
Chris@10 111 AWK = @AWK@
Chris@10 112 CC = @CC@
Chris@10 113 CCDEPMODE = @CCDEPMODE@
Chris@10 114 CFLAGS = @CFLAGS@
Chris@10 115 CHECK_PL_OPTS = @CHECK_PL_OPTS@
Chris@10 116 CPP = @CPP@
Chris@10 117 CPPFLAGS = @CPPFLAGS@
Chris@10 118 CYGPATH_W = @CYGPATH_W@
Chris@10 119 C_FFTW_R2R_KIND = @C_FFTW_R2R_KIND@
Chris@10 120 C_MPI_FINT = @C_MPI_FINT@
Chris@10 121 DEFS = @DEFS@
Chris@10 122 DEPDIR = @DEPDIR@
Chris@10 123 DLLTOOL = @DLLTOOL@
Chris@10 124 DSYMUTIL = @DSYMUTIL@
Chris@10 125 DUMPBIN = @DUMPBIN@
Chris@10 126 ECHO_C = @ECHO_C@
Chris@10 127 ECHO_N = @ECHO_N@
Chris@10 128 ECHO_T = @ECHO_T@
Chris@10 129 EGREP = @EGREP@
Chris@10 130 EXEEXT = @EXEEXT@
Chris@10 131 F77 = @F77@
Chris@10 132 FFLAGS = @FFLAGS@
Chris@10 133 FGREP = @FGREP@
Chris@10 134 FLIBS = @FLIBS@
Chris@10 135 GREP = @GREP@
Chris@10 136 INSTALL = @INSTALL@
Chris@10 137 INSTALL_DATA = @INSTALL_DATA@
Chris@10 138 INSTALL_PROGRAM = @INSTALL_PROGRAM@
Chris@10 139 INSTALL_SCRIPT = @INSTALL_SCRIPT@
Chris@10 140 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
Chris@10 141 LD = @LD@
Chris@10 142 LDFLAGS = @LDFLAGS@
Chris@10 143 LIBOBJS = @LIBOBJS@
Chris@10 144 LIBQUADMATH = @LIBQUADMATH@
Chris@10 145 LIBS = @LIBS@
Chris@10 146 LIBTOOL = @LIBTOOL@
Chris@10 147 LIPO = @LIPO@
Chris@10 148 LN_S = @LN_S@
Chris@10 149 LTLIBOBJS = @LTLIBOBJS@
Chris@10 150 MAINT = @MAINT@
Chris@10 151 MAKEINFO = @MAKEINFO@
Chris@10 152 MANIFEST_TOOL = @MANIFEST_TOOL@
Chris@10 153 MKDIR_P = @MKDIR_P@
Chris@10 154 MPICC = @MPICC@
Chris@10 155 MPILIBS = @MPILIBS@
Chris@10 156 MPIRUN = @MPIRUN@
Chris@10 157 NEON_CFLAGS = @NEON_CFLAGS@
Chris@10 158 NM = @NM@
Chris@10 159 NMEDIT = @NMEDIT@
Chris@10 160 OBJDUMP = @OBJDUMP@
Chris@10 161 OBJEXT = @OBJEXT@
Chris@10 162 OCAMLBUILD = @OCAMLBUILD@
Chris@10 163 OPENMP_CFLAGS = @OPENMP_CFLAGS@
Chris@10 164 OTOOL = @OTOOL@
Chris@10 165 OTOOL64 = @OTOOL64@
Chris@10 166 PACKAGE = @PACKAGE@
Chris@10 167 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
Chris@10 168 PACKAGE_NAME = @PACKAGE_NAME@
Chris@10 169 PACKAGE_STRING = @PACKAGE_STRING@
Chris@10 170 PACKAGE_TARNAME = @PACKAGE_TARNAME@
Chris@10 171 PACKAGE_URL = @PACKAGE_URL@
Chris@10 172 PACKAGE_VERSION = @PACKAGE_VERSION@
Chris@10 173 PATH_SEPARATOR = @PATH_SEPARATOR@
Chris@10 174 POW_LIB = @POW_LIB@
Chris@10 175 PRECISION = @PRECISION@
Chris@10 176 PREC_SUFFIX = @PREC_SUFFIX@
Chris@10 177 PTHREAD_CC = @PTHREAD_CC@
Chris@10 178 PTHREAD_CFLAGS = @PTHREAD_CFLAGS@
Chris@10 179 PTHREAD_LIBS = @PTHREAD_LIBS@
Chris@10 180 RANLIB = @RANLIB@
Chris@10 181 SED = @SED@
Chris@10 182 SET_MAKE = @SET_MAKE@
Chris@10 183 SHARED_VERSION_INFO = @SHARED_VERSION_INFO@
Chris@10 184 SHELL = @SHELL@
Chris@10 185 SSE2_CFLAGS = @SSE2_CFLAGS@
Chris@10 186 STACK_ALIGN_CFLAGS = @STACK_ALIGN_CFLAGS@
Chris@10 187 STRIP = @STRIP@
Chris@10 188 THREADLIBS = @THREADLIBS@
Chris@10 189 VERSION = @VERSION@
Chris@10 190 abs_builddir = @abs_builddir@
Chris@10 191 abs_srcdir = @abs_srcdir@
Chris@10 192 abs_top_builddir = @abs_top_builddir@
Chris@10 193 abs_top_srcdir = @abs_top_srcdir@
Chris@10 194 ac_ct_AR = @ac_ct_AR@
Chris@10 195 ac_ct_CC = @ac_ct_CC@
Chris@10 196 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
Chris@10 197 ac_ct_F77 = @ac_ct_F77@
Chris@10 198 acx_pthread_config = @acx_pthread_config@
Chris@10 199 am__include = @am__include@
Chris@10 200 am__leading_dot = @am__leading_dot@
Chris@10 201 am__quote = @am__quote@
Chris@10 202 am__tar = @am__tar@
Chris@10 203 am__untar = @am__untar@
Chris@10 204 bindir = @bindir@
Chris@10 205 build = @build@
Chris@10 206 build_alias = @build_alias@
Chris@10 207 build_cpu = @build_cpu@
Chris@10 208 build_os = @build_os@
Chris@10 209 build_vendor = @build_vendor@
Chris@10 210 builddir = @builddir@
Chris@10 211 datadir = @datadir@
Chris@10 212 datarootdir = @datarootdir@
Chris@10 213 docdir = @docdir@
Chris@10 214 dvidir = @dvidir@
Chris@10 215 exec_prefix = @exec_prefix@
Chris@10 216 host = @host@
Chris@10 217 host_alias = @host_alias@
Chris@10 218 host_cpu = @host_cpu@
Chris@10 219 host_os = @host_os@
Chris@10 220 host_vendor = @host_vendor@
Chris@10 221 htmldir = @htmldir@
Chris@10 222 includedir = @includedir@
Chris@10 223 infodir = @infodir@
Chris@10 224 install_sh = @install_sh@
Chris@10 225 libdir = @libdir@
Chris@10 226 libexecdir = @libexecdir@
Chris@10 227 localedir = @localedir@
Chris@10 228 localstatedir = @localstatedir@
Chris@10 229 mandir = @mandir@
Chris@10 230 mkdir_p = @mkdir_p@
Chris@10 231 oldincludedir = @oldincludedir@
Chris@10 232 pdfdir = @pdfdir@
Chris@10 233 prefix = @prefix@
Chris@10 234 program_transform_name = @program_transform_name@
Chris@10 235 psdir = @psdir@
Chris@10 236 sbindir = @sbindir@
Chris@10 237 sharedstatedir = @sharedstatedir@
Chris@10 238 srcdir = @srcdir@
Chris@10 239 sysconfdir = @sysconfdir@
Chris@10 240 target_alias = @target_alias@
Chris@10 241 top_build_prefix = @top_build_prefix@
Chris@10 242 top_builddir = @top_builddir@
Chris@10 243 top_srcdir = @top_srcdir@
Chris@10 244
Chris@10 245 ###########################################################################
Chris@10 246 # n1fv_<n> is a hard-coded FFTW_FORWARD FFT of size <n>, using SIMD
Chris@10 247 N1F = n1fv_2.c n1fv_3.c n1fv_4.c n1fv_5.c n1fv_6.c n1fv_7.c n1fv_8.c \
Chris@10 248 n1fv_9.c n1fv_10.c n1fv_11.c n1fv_12.c n1fv_13.c n1fv_14.c n1fv_15.c \
Chris@10 249 n1fv_16.c n1fv_32.c n1fv_64.c n1fv_128.c n1fv_20.c n1fv_25.c
Chris@10 250
Chris@10 251
Chris@10 252 # as above, with restricted input vector stride
Chris@10 253 N2F = n2fv_2.c n2fv_4.c n2fv_6.c n2fv_8.c n2fv_10.c n2fv_12.c \
Chris@10 254 n2fv_14.c n2fv_16.c n2fv_32.c n2fv_64.c n2fv_20.c
Chris@10 255
Chris@10 256
Chris@10 257 # as above, but FFTW_BACKWARD
Chris@10 258 N1B = n1bv_2.c n1bv_3.c n1bv_4.c n1bv_5.c n1bv_6.c n1bv_7.c n1bv_8.c \
Chris@10 259 n1bv_9.c n1bv_10.c n1bv_11.c n1bv_12.c n1bv_13.c n1bv_14.c n1bv_15.c \
Chris@10 260 n1bv_16.c n1bv_32.c n1bv_64.c n1bv_128.c n1bv_20.c n1bv_25.c
Chris@10 261
Chris@10 262 N2B = n2bv_2.c n2bv_4.c n2bv_6.c n2bv_8.c n2bv_10.c n2bv_12.c \
Chris@10 263 n2bv_14.c n2bv_16.c n2bv_32.c n2bv_64.c n2bv_20.c
Chris@10 264
Chris@10 265
Chris@10 266 # split-complex codelets
Chris@10 267 N2S = n2sv_4.c n2sv_8.c n2sv_16.c n2sv_32.c n2sv_64.c
Chris@10 268
Chris@10 269 ###########################################################################
Chris@10 270 # t1fv_<r> is a "twiddle" FFT of size <r>, implementing a radix-r DIT step
Chris@10 271 # for an FFTW_FORWARD transform, using SIMD
Chris@10 272 T1F = t1fv_2.c t1fv_3.c t1fv_4.c t1fv_5.c t1fv_6.c t1fv_7.c t1fv_8.c \
Chris@10 273 t1fv_9.c t1fv_10.c t1fv_12.c t1fv_15.c t1fv_16.c t1fv_32.c t1fv_64.c \
Chris@10 274 t1fv_20.c t1fv_25.c
Chris@10 275
Chris@10 276
Chris@10 277 # same as t1fv_*, but with different twiddle storage scheme
Chris@10 278 T2F = t2fv_2.c t2fv_4.c t2fv_8.c t2fv_16.c t2fv_32.c t2fv_64.c \
Chris@10 279 t2fv_5.c t2fv_10.c t2fv_20.c t2fv_25.c
Chris@10 280
Chris@10 281 T3F = t3fv_4.c t3fv_8.c t3fv_16.c t3fv_32.c t3fv_5.c t3fv_10.c \
Chris@10 282 t3fv_20.c t3fv_25.c
Chris@10 283
Chris@10 284 T1FU = t1fuv_2.c t1fuv_3.c t1fuv_4.c t1fuv_5.c t1fuv_6.c t1fuv_7.c \
Chris@10 285 t1fuv_8.c t1fuv_9.c t1fuv_10.c
Chris@10 286
Chris@10 287
Chris@10 288 # as above, but FFTW_BACKWARD
Chris@10 289 T1B = t1bv_2.c t1bv_3.c t1bv_4.c t1bv_5.c t1bv_6.c t1bv_7.c t1bv_8.c \
Chris@10 290 t1bv_9.c t1bv_10.c t1bv_12.c t1bv_15.c t1bv_16.c t1bv_32.c t1bv_64.c \
Chris@10 291 t1bv_20.c t1bv_25.c
Chris@10 292
Chris@10 293
Chris@10 294 # same as t1bv_*, but with different twiddle storage scheme
Chris@10 295 T2B = t2bv_2.c t2bv_4.c t2bv_8.c t2bv_16.c t2bv_32.c t2bv_64.c \
Chris@10 296 t2bv_5.c t2bv_10.c t2bv_20.c t2bv_25.c
Chris@10 297
Chris@10 298 T3B = t3bv_4.c t3bv_8.c t3bv_16.c t3bv_32.c t3bv_5.c t3bv_10.c \
Chris@10 299 t3bv_20.c t3bv_25.c
Chris@10 300
Chris@10 301 T1BU = t1buv_2.c t1buv_3.c t1buv_4.c t1buv_5.c t1buv_6.c t1buv_7.c \
Chris@10 302 t1buv_8.c t1buv_9.c t1buv_10.c
Chris@10 303
Chris@10 304
Chris@10 305 # split-complex codelets
Chris@10 306 T1S = t1sv_2.c t1sv_4.c t1sv_8.c t1sv_16.c t1sv_32.c
Chris@10 307 T2S = t2sv_4.c t2sv_8.c t2sv_16.c t2sv_32.c
Chris@10 308
Chris@10 309 ###########################################################################
Chris@10 310 # q1fv_<r> is <r> twiddle FFTW_FORWARD FFTs of size <r> (DIF step),
Chris@10 311 # where the output is transposed, using SIMD. This is used for
Chris@10 312 # in-place transposes in sizes that are divisible by <r>^2. These
Chris@10 313 # codelets have size ~ <r>^2, so you should probably not use <r>
Chris@10 314 # bigger than 8 or so.
Chris@10 315 Q1F = q1fv_2.c q1fv_4.c q1fv_5.c q1fv_8.c
Chris@10 316
Chris@10 317 # as above, but FFTW_BACKWARD
Chris@10 318 Q1B = q1bv_2.c q1bv_4.c q1bv_5.c q1bv_8.c
Chris@10 319
Chris@10 320 ###########################################################################
Chris@10 321 SIMD_CODELETS = $(N1F) $(N1B) $(N2F) $(N2B) $(N2S) $(T1FU) $(T1F) \
Chris@10 322 $(T2F) $(T3F) $(T1BU) $(T1B) $(T2B) $(T3B) $(T1S) $(T2S) $(Q1F) $(Q1B)
Chris@10 323
Chris@10 324 ALL_CODELETS = $(SIMD_CODELETS)
Chris@10 325 BUILT_SOURCES = $(SIMD_CODELETS) $(CODLIST)
Chris@10 326 EXTRA_DIST = $(BUILT_SOURCES) genus.c
Chris@10 327 INCLUDE_SIMD_HEADER = "\#include SIMD_HEADER"
Chris@10 328 XRENAME = XSIMD
Chris@10 329 SOLVTAB_NAME = XSIMD(solvtab_dft)
Chris@10 330 CODLIST = codlist.c
Chris@10 331 CODELET_NAME = codelet_
Chris@10 332 @MAINTAINER_MODE_TRUE@INDENT = indent -kr -cs -i5 -l800 -fca -nfc1 -sc -sob -cli4 -TR -Tplanner -TV
Chris@10 333 @MAINTAINER_MODE_TRUE@TWOVERS = sh ${top_srcdir}/support/twovers.sh
Chris@10 334 @MAINTAINER_MODE_TRUE@GENFFTDIR = ${top_builddir}/genfft
Chris@10 335 @MAINTAINER_MODE_TRUE@GEN_NOTW = ${GENFFTDIR}/gen_notw.native
Chris@10 336 @MAINTAINER_MODE_TRUE@GEN_NOTW_C = ${GENFFTDIR}/gen_notw_c.native
Chris@10 337 @MAINTAINER_MODE_TRUE@GEN_TWIDDLE = ${GENFFTDIR}/gen_twiddle.native
Chris@10 338 @MAINTAINER_MODE_TRUE@GEN_TWIDDLE_C = ${GENFFTDIR}/gen_twiddle_c.native
Chris@10 339 @MAINTAINER_MODE_TRUE@GEN_TWIDSQ = ${GENFFTDIR}/gen_twidsq.native
Chris@10 340 @MAINTAINER_MODE_TRUE@GEN_TWIDSQ_C = ${GENFFTDIR}/gen_twidsq_c.native
Chris@10 341 @MAINTAINER_MODE_TRUE@GEN_R2CF = ${GENFFTDIR}/gen_r2cf.native
Chris@10 342 @MAINTAINER_MODE_TRUE@GEN_R2CB = ${GENFFTDIR}/gen_r2cb.native
Chris@10 343 @MAINTAINER_MODE_TRUE@GEN_HC2HC = ${GENFFTDIR}/gen_hc2hc.native
Chris@10 344 @MAINTAINER_MODE_TRUE@GEN_HC2C = ${GENFFTDIR}/gen_hc2c.native
Chris@10 345 @MAINTAINER_MODE_TRUE@GEN_HC2CDFT = ${GENFFTDIR}/gen_hc2cdft.native
Chris@10 346 @MAINTAINER_MODE_TRUE@GEN_HC2CDFT_C = ${GENFFTDIR}/gen_hc2cdft_c.native
Chris@10 347 @MAINTAINER_MODE_TRUE@GEN_R2R = ${GENFFTDIR}/gen_r2r.native
Chris@10 348 @MAINTAINER_MODE_TRUE@PRELUDE_DFT = ${top_srcdir}/support/codelet_prelude.dft
Chris@10 349 @MAINTAINER_MODE_TRUE@PRELUDE_RDFT = ${top_srcdir}/support/codelet_prelude.rdft
Chris@10 350 @MAINTAINER_MODE_TRUE@ADD_DATE = sed -e s/@DATE@/"`date`"/
Chris@10 351 @MAINTAINER_MODE_TRUE@COPYRIGHT = ${top_srcdir}/COPYRIGHT
Chris@10 352 @MAINTAINER_MODE_TRUE@CODELET_DEPS = $(COPYRIGHT) $(PRELUDE)
Chris@10 353 @MAINTAINER_MODE_TRUE@PRELUDE_COMMANDS_DFT = cat $(COPYRIGHT) $(PRELUDE_DFT)
Chris@10 354 @MAINTAINER_MODE_TRUE@PRELUDE_COMMANDS_RDFT = cat $(COPYRIGHT) $(PRELUDE_RDFT)
Chris@10 355 @MAINTAINER_MODE_TRUE@FLAGS_COMMON = -compact -variables 4
Chris@10 356 @MAINTAINER_MODE_TRUE@DFT_FLAGS_COMMON = $(FLAGS_COMMON) -pipeline-latency 4
Chris@10 357 @MAINTAINER_MODE_TRUE@RDFT_FLAGS_COMMON = $(FLAGS_COMMON) -pipeline-latency 4
Chris@10 358
Chris@10 359 # include special rules for regenerating codelets.
Chris@10 360 @MAINTAINER_MODE_TRUE@GFLAGS = -simd $(FLAGS_COMMON) -pipeline-latency 8
Chris@10 361 @MAINTAINER_MODE_TRUE@FLAGS_T2S = -twiddle-log3 -precompute-twiddles
Chris@10 362 @MAINTAINER_MODE_TRUE@FLAGS_T3 = -twiddle-log3 -precompute-twiddles -no-generate-bytw
Chris@10 363 all: $(BUILT_SOURCES)
Chris@10 364 $(MAKE) $(AM_MAKEFLAGS) all-am
Chris@10 365
Chris@10 366 .SUFFIXES:
Chris@10 367 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/dft/simd/codlist.mk $(top_srcdir)/support/Makefile.codelets $(am__configure_deps)
Chris@10 368 @for dep in $?; do \
Chris@10 369 case '$(am__configure_deps)' in \
Chris@10 370 *$$dep*) \
Chris@10 371 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
Chris@10 372 && { if test -f $@; then exit 0; else break; fi; }; \
Chris@10 373 exit 1;; \
Chris@10 374 esac; \
Chris@10 375 done; \
Chris@10 376 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu dft/simd/common/Makefile'; \
Chris@10 377 $(am__cd) $(top_srcdir) && \
Chris@10 378 $(AUTOMAKE) --gnu dft/simd/common/Makefile
Chris@10 379 .PRECIOUS: Makefile
Chris@10 380 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
Chris@10 381 @case '$?' in \
Chris@10 382 *config.status*) \
Chris@10 383 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
Chris@10 384 *) \
Chris@10 385 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
Chris@10 386 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
Chris@10 387 esac;
Chris@10 388 $(top_srcdir)/dft/simd/codlist.mk $(top_srcdir)/support/Makefile.codelets:
Chris@10 389
Chris@10 390 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
Chris@10 391 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
Chris@10 392
Chris@10 393 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
Chris@10 394 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
Chris@10 395 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
Chris@10 396 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
Chris@10 397 $(am__aclocal_m4_deps):
Chris@10 398
Chris@10 399 mostlyclean-libtool:
Chris@10 400 -rm -f *.lo
Chris@10 401
Chris@10 402 clean-libtool:
Chris@10 403 -rm -rf .libs _libs
Chris@10 404 tags: TAGS
Chris@10 405 TAGS:
Chris@10 406
Chris@10 407 ctags: CTAGS
Chris@10 408 CTAGS:
Chris@10 409
Chris@10 410
Chris@10 411 distdir: $(DISTFILES)
Chris@10 412 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
Chris@10 413 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
Chris@10 414 list='$(DISTFILES)'; \
Chris@10 415 dist_files=`for file in $$list; do echo $$file; done | \
Chris@10 416 sed -e "s|^$$srcdirstrip/||;t" \
Chris@10 417 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
Chris@10 418 case $$dist_files in \
Chris@10 419 */*) $(MKDIR_P) `echo "$$dist_files" | \
Chris@10 420 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
Chris@10 421 sort -u` ;; \
Chris@10 422 esac; \
Chris@10 423 for file in $$dist_files; do \
Chris@10 424 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
Chris@10 425 if test -d $$d/$$file; then \
Chris@10 426 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
Chris@10 427 if test -d "$(distdir)/$$file"; then \
Chris@10 428 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
Chris@10 429 fi; \
Chris@10 430 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
Chris@10 431 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
Chris@10 432 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
Chris@10 433 fi; \
Chris@10 434 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
Chris@10 435 else \
Chris@10 436 test -f "$(distdir)/$$file" \
Chris@10 437 || cp -p $$d/$$file "$(distdir)/$$file" \
Chris@10 438 || exit 1; \
Chris@10 439 fi; \
Chris@10 440 done
Chris@10 441 check-am: all-am
Chris@10 442 check: $(BUILT_SOURCES)
Chris@10 443 $(MAKE) $(AM_MAKEFLAGS) check-am
Chris@10 444 all-am: Makefile
Chris@10 445 installdirs:
Chris@10 446 install: $(BUILT_SOURCES)
Chris@10 447 $(MAKE) $(AM_MAKEFLAGS) install-am
Chris@10 448 install-exec: install-exec-am
Chris@10 449 install-data: install-data-am
Chris@10 450 uninstall: uninstall-am
Chris@10 451
Chris@10 452 install-am: all-am
Chris@10 453 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
Chris@10 454
Chris@10 455 installcheck: installcheck-am
Chris@10 456 install-strip:
Chris@10 457 if test -z '$(STRIP)'; then \
Chris@10 458 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
Chris@10 459 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
Chris@10 460 install; \
Chris@10 461 else \
Chris@10 462 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
Chris@10 463 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
Chris@10 464 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
Chris@10 465 fi
Chris@10 466 mostlyclean-generic:
Chris@10 467
Chris@10 468 clean-generic:
Chris@10 469
Chris@10 470 distclean-generic:
Chris@10 471 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
Chris@10 472 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
Chris@10 473
Chris@10 474 maintainer-clean-generic:
Chris@10 475 @echo "This command is intended for maintainers to use"
Chris@10 476 @echo "it deletes files that may require special tools to rebuild."
Chris@10 477 -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
Chris@10 478 clean: clean-am
Chris@10 479
Chris@10 480 clean-am: clean-generic clean-libtool mostlyclean-am
Chris@10 481
Chris@10 482 distclean: distclean-am
Chris@10 483 -rm -f Makefile
Chris@10 484 distclean-am: clean-am distclean-generic
Chris@10 485
Chris@10 486 dvi: dvi-am
Chris@10 487
Chris@10 488 dvi-am:
Chris@10 489
Chris@10 490 html: html-am
Chris@10 491
Chris@10 492 html-am:
Chris@10 493
Chris@10 494 info: info-am
Chris@10 495
Chris@10 496 info-am:
Chris@10 497
Chris@10 498 install-data-am:
Chris@10 499
Chris@10 500 install-dvi: install-dvi-am
Chris@10 501
Chris@10 502 install-dvi-am:
Chris@10 503
Chris@10 504 install-exec-am:
Chris@10 505
Chris@10 506 install-html: install-html-am
Chris@10 507
Chris@10 508 install-html-am:
Chris@10 509
Chris@10 510 install-info: install-info-am
Chris@10 511
Chris@10 512 install-info-am:
Chris@10 513
Chris@10 514 install-man:
Chris@10 515
Chris@10 516 install-pdf: install-pdf-am
Chris@10 517
Chris@10 518 install-pdf-am:
Chris@10 519
Chris@10 520 install-ps: install-ps-am
Chris@10 521
Chris@10 522 install-ps-am:
Chris@10 523
Chris@10 524 installcheck-am:
Chris@10 525
Chris@10 526 maintainer-clean: maintainer-clean-am
Chris@10 527 -rm -f Makefile
Chris@10 528 maintainer-clean-am: distclean-am maintainer-clean-generic \
Chris@10 529 maintainer-clean-local
Chris@10 530
Chris@10 531 mostlyclean: mostlyclean-am
Chris@10 532
Chris@10 533 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
Chris@10 534
Chris@10 535 pdf: pdf-am
Chris@10 536
Chris@10 537 pdf-am:
Chris@10 538
Chris@10 539 ps: ps-am
Chris@10 540
Chris@10 541 ps-am:
Chris@10 542
Chris@10 543 uninstall-am:
Chris@10 544
Chris@10 545 .MAKE: all check install install-am install-strip
Chris@10 546
Chris@10 547 .PHONY: all all-am check check-am clean clean-generic clean-libtool \
Chris@10 548 distclean distclean-generic distclean-libtool distdir dvi \
Chris@10 549 dvi-am html html-am info info-am install install-am \
Chris@10 550 install-data install-data-am install-dvi install-dvi-am \
Chris@10 551 install-exec install-exec-am install-html install-html-am \
Chris@10 552 install-info install-info-am install-man install-pdf \
Chris@10 553 install-pdf-am install-ps install-ps-am install-strip \
Chris@10 554 installcheck installcheck-am installdirs maintainer-clean \
Chris@10 555 maintainer-clean-generic maintainer-clean-local mostlyclean \
Chris@10 556 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
Chris@10 557 uninstall uninstall-am
Chris@10 558
Chris@10 559
Chris@10 560 # rule to build codlist
Chris@10 561 $(CODLIST): Makefile
Chris@10 562 ( \
Chris@10 563 echo "#include \"ifftw.h\""; \
Chris@10 564 echo $(INCLUDE_SIMD_HEADER); \
Chris@10 565 echo; \
Chris@10 566 for i in $(ALL_CODELETS) NIL; do \
Chris@10 567 if test "$$i" != NIL; then \
Chris@10 568 j=`basename $$i | sed -e 's/[.][cS]$$//g'`; \
Chris@10 569 echo "extern void $(XRENAME)($(CODELET_NAME)$$j)(planner *);"; \
Chris@10 570 fi \
Chris@10 571 done; \
Chris@10 572 echo; \
Chris@10 573 echo; \
Chris@10 574 echo "extern const solvtab $(SOLVTAB_NAME);"; \
Chris@10 575 echo "const solvtab $(SOLVTAB_NAME) = {"; \
Chris@10 576 for i in $(ALL_CODELETS) NIL; do \
Chris@10 577 if test "$$i" != NIL; then \
Chris@10 578 j=`basename $$i | sed -e 's/[.][cS]$$//g'`; \
Chris@10 579 echo " SOLVTAB($(XRENAME)($(CODELET_NAME)$$j)),"; \
Chris@10 580 fi \
Chris@10 581 done; \
Chris@10 582 echo " SOLVTAB_END"; \
Chris@10 583 echo "};"; \
Chris@10 584 ) >$@
Chris@10 585
Chris@10 586 # only delete codlist.c in maintainer-mode, since it is included in the dist
Chris@10 587 # FIXME: is there a way to delete in 'make clean' only when builddir != srcdir?
Chris@10 588 maintainer-clean-local:
Chris@10 589 rm -f $(CODLIST)
Chris@10 590
Chris@10 591 # cancel the hideous builtin rules that cause an infinite loop
Chris@10 592 @MAINTAINER_MODE_TRUE@%: %.o
Chris@10 593 @MAINTAINER_MODE_TRUE@%: %.s
Chris@10 594 @MAINTAINER_MODE_TRUE@%: %.c
Chris@10 595 @MAINTAINER_MODE_TRUE@%: %.S
Chris@10 596
Chris@10 597 @MAINTAINER_MODE_TRUE@n1fv_%.c: $(CODELET_DEPS) $(GEN_NOTW_C)
Chris@10 598 @MAINTAINER_MODE_TRUE@ ($(PRELUDE_COMMANDS_DFT); $(TWOVERS) $(GEN_NOTW_C) $(GFLAGS) -n $* -name n1fv_$* -include "n1f.h") | $(ADD_DATE) | $(INDENT) >$@
Chris@10 599
Chris@10 600 @MAINTAINER_MODE_TRUE@n2fv_%.c: $(CODELET_DEPS) $(GEN_NOTW_C)
Chris@10 601 @MAINTAINER_MODE_TRUE@ ($(PRELUDE_COMMANDS_DFT); $(TWOVERS) $(GEN_NOTW_C) $(GFLAGS) -n $* -name n2fv_$* -with-ostride 2 -include "n2f.h" -store-multiple 2) | $(ADD_DATE) | $(INDENT) >$@
Chris@10 602
Chris@10 603 @MAINTAINER_MODE_TRUE@n1bv_%.c: $(CODELET_DEPS) $(GEN_NOTW_C)
Chris@10 604 @MAINTAINER_MODE_TRUE@ ($(PRELUDE_COMMANDS_DFT); $(TWOVERS) $(GEN_NOTW_C) $(GFLAGS) -sign 1 -n $* -name n1bv_$* -include "n1b.h") | $(ADD_DATE) | $(INDENT) >$@
Chris@10 605
Chris@10 606 @MAINTAINER_MODE_TRUE@n2bv_%.c: $(CODELET_DEPS) $(GEN_NOTW_C)
Chris@10 607 @MAINTAINER_MODE_TRUE@ ($(PRELUDE_COMMANDS_DFT); $(TWOVERS) $(GEN_NOTW_C) $(GFLAGS) -sign 1 -n $* -name n2bv_$* -with-ostride 2 -include "n2b.h" -store-multiple 2) | $(ADD_DATE) | $(INDENT) >$@
Chris@10 608
Chris@10 609 @MAINTAINER_MODE_TRUE@n2sv_%.c: $(CODELET_DEPS) $(GEN_NOTW)
Chris@10 610 @MAINTAINER_MODE_TRUE@ ($(PRELUDE_COMMANDS_DFT); $(TWOVERS) $(GEN_NOTW) $(GFLAGS) -n $* -name n2sv_$* -with-ostride 1 -include "n2s.h" -store-multiple 4) | $(ADD_DATE) | $(INDENT) >$@
Chris@10 611
Chris@10 612 @MAINTAINER_MODE_TRUE@t1fv_%.c: $(CODELET_DEPS) $(GEN_TWIDDLE_C)
Chris@10 613 @MAINTAINER_MODE_TRUE@ ($(PRELUDE_COMMANDS_DFT); $(TWOVERS) $(GEN_TWIDDLE_C) $(GFLAGS) -n $* -name t1fv_$* -include "t1f.h") | $(ADD_DATE) | $(INDENT) >$@
Chris@10 614
Chris@10 615 @MAINTAINER_MODE_TRUE@t1fuv_%.c: $(CODELET_DEPS) $(GEN_TWIDDLE_C)
Chris@10 616 @MAINTAINER_MODE_TRUE@ ($(PRELUDE_COMMANDS_DFT); $(TWOVERS) $(GEN_TWIDDLE_C) $(GFLAGS) -n $* -name t1fuv_$* -include "t1fu.h") | $(ADD_DATE) | $(INDENT) >$@
Chris@10 617
Chris@10 618 @MAINTAINER_MODE_TRUE@t2fv_%.c: $(CODELET_DEPS) $(GEN_TWIDDLE_C)
Chris@10 619 @MAINTAINER_MODE_TRUE@ ($(PRELUDE_COMMANDS_DFT); $(TWOVERS) $(GEN_TWIDDLE_C) $(GFLAGS) -n $* -name t2fv_$* -include "t2f.h") | $(ADD_DATE) | $(INDENT) >$@
Chris@10 620
Chris@10 621 @MAINTAINER_MODE_TRUE@t3fv_%.c: $(CODELET_DEPS) $(GEN_TWIDDLE_C)
Chris@10 622 @MAINTAINER_MODE_TRUE@ ($(PRELUDE_COMMANDS_DFT); $(TWOVERS) $(GEN_TWIDDLE_C) $(GFLAGS) $(FLAGS_T3) -n $* -name t3fv_$* -include "t3f.h") | $(ADD_DATE) | $(INDENT) >$@
Chris@10 623
Chris@10 624 @MAINTAINER_MODE_TRUE@t1bv_%.c: $(CODELET_DEPS) $(GEN_TWIDDLE_C)
Chris@10 625 @MAINTAINER_MODE_TRUE@ ($(PRELUDE_COMMANDS_DFT); $(TWOVERS) $(GEN_TWIDDLE_C) $(GFLAGS) -n $* -name t1bv_$* -include "t1b.h" -sign 1) | $(ADD_DATE) | $(INDENT) >$@
Chris@10 626
Chris@10 627 @MAINTAINER_MODE_TRUE@t1buv_%.c: $(CODELET_DEPS) $(GEN_TWIDDLE_C)
Chris@10 628 @MAINTAINER_MODE_TRUE@ ($(PRELUDE_COMMANDS_DFT); $(TWOVERS) $(GEN_TWIDDLE_C) $(GFLAGS) -n $* -name t1buv_$* -include "t1bu.h" -sign 1) | $(ADD_DATE) | $(INDENT) >$@
Chris@10 629
Chris@10 630 @MAINTAINER_MODE_TRUE@t2bv_%.c: $(CODELET_DEPS) $(GEN_TWIDDLE_C)
Chris@10 631 @MAINTAINER_MODE_TRUE@ ($(PRELUDE_COMMANDS_DFT); $(TWOVERS) $(GEN_TWIDDLE_C) $(GFLAGS) -n $* -name t2bv_$* -include "t2b.h" -sign 1) | $(ADD_DATE) | $(INDENT) >$@
Chris@10 632
Chris@10 633 @MAINTAINER_MODE_TRUE@t3bv_%.c: $(CODELET_DEPS) $(GEN_TWIDDLE_C)
Chris@10 634 @MAINTAINER_MODE_TRUE@ ($(PRELUDE_COMMANDS_DFT); $(TWOVERS) $(GEN_TWIDDLE_C) $(GFLAGS) $(FLAGS_T3) -n $* -name t3bv_$* -include "t3b.h" -sign 1) | $(ADD_DATE) | $(INDENT) >$@
Chris@10 635
Chris@10 636 @MAINTAINER_MODE_TRUE@t1sv_%.c: $(CODELET_DEPS) $(GEN_TWIDDLE)
Chris@10 637 @MAINTAINER_MODE_TRUE@ ($(PRELUDE_COMMANDS_DFT); $(TWOVERS) $(GEN_TWIDDLE) $(GFLAGS) -n $* -name t1sv_$* -include "ts.h") | $(ADD_DATE) | $(INDENT) >$@
Chris@10 638
Chris@10 639 @MAINTAINER_MODE_TRUE@t2sv_%.c: $(CODELET_DEPS) $(GEN_TWIDDLE)
Chris@10 640 @MAINTAINER_MODE_TRUE@ ($(PRELUDE_COMMANDS_DFT); $(TWOVERS) $(GEN_TWIDDLE) $(GFLAGS) $(FLAGS_T2S) -n $* -name t2sv_$* -include "ts.h") | $(ADD_DATE) | $(INDENT) >$@
Chris@10 641
Chris@10 642 @MAINTAINER_MODE_TRUE@q1fv_%.c: $(CODELET_DEPS) $(GEN_TWIDSQ_C)
Chris@10 643 @MAINTAINER_MODE_TRUE@ ($(PRELUDE_COMMANDS_DFT); $(TWOVERS) $(GEN_TWIDSQ_C) $(GFLAGS) -n $* -dif -name q1fv_$* -include "q1f.h") | $(ADD_DATE) | $(INDENT) >$@
Chris@10 644
Chris@10 645 @MAINTAINER_MODE_TRUE@q1bv_%.c: $(CODELET_DEPS) $(GEN_TWIDSQ_C)
Chris@10 646 @MAINTAINER_MODE_TRUE@ ($(PRELUDE_COMMANDS_DFT); $(TWOVERS) $(GEN_TWIDSQ_C) $(GFLAGS) -n $* -dif -name q1bv_$* -include "q1b.h" -sign 1) | $(ADD_DATE) | $(INDENT) >$@
Chris@10 647
Chris@10 648 # Tell versions [3.59,3.63) of GNU make to not export all variables.
Chris@10 649 # Otherwise a system limit (for SysV at least) may be exceeded.
Chris@10 650 .NOEXPORT: