view Lib/fftw-3.2.1/cell/spu/.svn/text-base/Makefile.in.svn-base @ 7:c6f38cba266d

Cleaned up redundant code
author Geogaddi\David <d.m.ronan@qmul.ac.uk>
date Wed, 22 Jul 2015 15:14:58 +0100
parents 25bf17994ef1
children
line wrap: on
line source
# Makefile.in generated by automake 1.10.2 from Makefile.am.
# @configure_input@

# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
# 2003, 2004, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.

@SET_MAKE@

# -*- makefile -*-
# This file contains special make rules to generate codelets.
# Most of this file requires GNU make .

VPATH = @srcdir@
pkgdatadir = $(datadir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_HEADER = $(INSTALL_DATA)
transform = $(program_transform_name)
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
build_triplet = @build@
host_triplet = @host@
noinst_PROGRAMS = spufftw$(EXEEXT) planner$(EXEEXT)
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
	$(top_srcdir)/support/Makefile.codelets
subdir = cell/spu
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/m4/acx_mpi.m4 \
	$(top_srcdir)/m4/acx_pthread.m4 \
	$(top_srcdir)/m4/ax_cc_maxopt.m4 \
	$(top_srcdir)/m4/ax_check_compiler_flags.m4 \
	$(top_srcdir)/m4/ax_compiler_vendor.m4 \
	$(top_srcdir)/m4/ax_gcc_aligns_stack.m4 \
	$(top_srcdir)/m4/ax_gcc_archflag.m4 \
	$(top_srcdir)/m4/ax_gcc_version.m4 \
	$(top_srcdir)/m4/ax_gcc_x86_cpuid.m4 \
	$(top_srcdir)/m4/ax_openmp.m4 $(top_srcdir)/m4/libtool.m4 \
	$(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
	$(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
	$(top_srcdir)/m4/ocaml.m4 $(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
	$(ACLOCAL_M4)
mkinstalldirs = $(install_sh) -d
CONFIG_HEADER = $(top_builddir)/config.h
CONFIG_CLEAN_FILES =
PROGRAMS = $(noinst_PROGRAMS)
am__planner_SOURCES_DIST = planner.spuc execute.spuc spu_n2fv_2.spuc \
	spu_n2fv_4.spuc spu_n2fv_6.spuc spu_n2fv_8.spuc \
	spu_n2fv_10.spuc spu_n2fv_12.spuc spu_n2fv_14.spuc \
	spu_n2fv_16.spuc spu_n2fv_32.spuc spu_t1fv_2.spuc \
	spu_t1fv_3.spuc spu_t1fv_4.spuc spu_t1fv_5.spuc \
	spu_t1fv_6.spuc spu_t1fv_7.spuc spu_t1fv_8.spuc \
	spu_t1fv_9.spuc spu_t1fv_10.spuc spu_t1fv_12.spuc \
	spu_t1fv_15.spuc spu_t1fv_16.spuc spu_t1fv_32.spuc \
	spu_n1fv_3.spuc spu_n1fv_5.spuc spu_n1fv_7.spuc \
	spu_n1fv_9.spuc spu_n1fv_11.spuc spu_n1fv_13.spuc \
	spu_n1fv_15.spuc fftw-spu.h spu-double.h spu-single.h
am__objects_1 = spu_n2fv_2.$(OBJEXT) spu_n2fv_4.$(OBJEXT) \
	spu_n2fv_6.$(OBJEXT) spu_n2fv_8.$(OBJEXT) \
	spu_n2fv_10.$(OBJEXT) spu_n2fv_12.$(OBJEXT) \
	spu_n2fv_14.$(OBJEXT) spu_n2fv_16.$(OBJEXT) \
	spu_n2fv_32.$(OBJEXT) spu_t1fv_2.$(OBJEXT) \
	spu_t1fv_3.$(OBJEXT) spu_t1fv_4.$(OBJEXT) spu_t1fv_5.$(OBJEXT) \
	spu_t1fv_6.$(OBJEXT) spu_t1fv_7.$(OBJEXT) spu_t1fv_8.$(OBJEXT) \
	spu_t1fv_9.$(OBJEXT) spu_t1fv_10.$(OBJEXT) \
	spu_t1fv_12.$(OBJEXT) spu_t1fv_15.$(OBJEXT) \
	spu_t1fv_16.$(OBJEXT) spu_t1fv_32.$(OBJEXT)
am__objects_2 = spu_n1fv_3.$(OBJEXT) spu_n1fv_5.$(OBJEXT) \
	spu_n1fv_7.$(OBJEXT) spu_n1fv_9.$(OBJEXT) \
	spu_n1fv_11.$(OBJEXT) spu_n1fv_13.$(OBJEXT) \
	spu_n1fv_15.$(OBJEXT)
@SINGLE_FALSE@am__objects_3 = $(am__objects_1) $(am__objects_2)
@SINGLE_TRUE@am__objects_3 = $(am__objects_1)
am__objects_4 =
am_planner_OBJECTS = planner.$(OBJEXT) execute.$(OBJEXT) \
	$(am__objects_3) $(am__objects_4)
planner_OBJECTS = $(am_planner_OBJECTS)
planner_LDADD = $(LDADD)
am__spufftw_SOURCES_DIST = main.spuc alloc.spuc copy.spuc dma.spuc \
	execute.spuc transpose.spuc dft.spuc spu_n2fv_2.spuc \
	spu_n2fv_4.spuc spu_n2fv_6.spuc spu_n2fv_8.spuc \
	spu_n2fv_10.spuc spu_n2fv_12.spuc spu_n2fv_14.spuc \
	spu_n2fv_16.spuc spu_n2fv_32.spuc spu_t1fv_2.spuc \
	spu_t1fv_3.spuc spu_t1fv_4.spuc spu_t1fv_5.spuc \
	spu_t1fv_6.spuc spu_t1fv_7.spuc spu_t1fv_8.spuc \
	spu_t1fv_9.spuc spu_t1fv_10.spuc spu_t1fv_12.spuc \
	spu_t1fv_15.spuc spu_t1fv_16.spuc spu_t1fv_32.spuc \
	spu_n1fv_3.spuc spu_n1fv_5.spuc spu_n1fv_7.spuc \
	spu_n1fv_9.spuc spu_n1fv_11.spuc spu_n1fv_13.spuc \
	spu_n1fv_15.spuc fftw-spu.h spu-double.h spu-single.h
am_spufftw_OBJECTS = main.$(OBJEXT) alloc.$(OBJEXT) copy.$(OBJEXT) \
	dma.$(OBJEXT) execute.$(OBJEXT) transpose.$(OBJEXT) \
	dft.$(OBJEXT) $(am__objects_3) $(am__objects_4)
spufftw_OBJECTS = $(am_spufftw_OBJECTS)
spufftw_LDADD = $(LDADD)
DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
CCLD = $(CC)
LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
	--mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
	$(LDFLAGS) -o $@
SOURCES = $(planner_SOURCES) $(spufftw_SOURCES)
DIST_SOURCES = $(am__planner_SOURCES_DIST) $(am__spufftw_SOURCES_DIST)
ETAGS = etags
CTAGS = ctags
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
ACLOCAL = @ACLOCAL@
ALLOCA = @ALLOCA@
AMTAR = @AMTAR@
AR = @AR@
AS = @AS@
AUTOCONF = @AUTOCONF@
AUTOHEADER = @AUTOHEADER@
AUTOMAKE = @AUTOMAKE@
AWK = @AWK@
CC = @CC@
CCDEPMODE = @CCDEPMODE@
CFLAGS = @CFLAGS@
CODELET_OPTIM = @CODELET_OPTIM@
CPP = @CPP@
CPPFLAGS = @CPPFLAGS@
CYGPATH_W = @CYGPATH_W@
DEFS = @DEFS@
DEPDIR = @DEPDIR@
DLLTOOL = @DLLTOOL@
DSYMUTIL = @DSYMUTIL@
DUMPBIN = @DUMPBIN@
ECHO_C = @ECHO_C@
ECHO_N = @ECHO_N@
ECHO_T = @ECHO_T@
EGREP = @EGREP@
EXEEXT = @EXEEXT@
F77 = @F77@
FFLAGS = @FFLAGS@
FGREP = @FGREP@
FLIBS = @FLIBS@
GREP = @GREP@
INSTALL = @INSTALL@
INSTALLED_OCAMLC = @INSTALLED_OCAMLC@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
LD = @LD@
LDFLAGS = @LDFLAGS@
LIBOBJS = @LIBOBJS@

# override the value set by configure
LIBS = -lm
LIBTOOL = @LIBTOOL@
LIPO = @LIPO@
LN_S = @LN_S@
LTLIBOBJS = @LTLIBOBJS@
MAINT = @MAINT@
MAKEINFO = @MAKEINFO@
MKDIR_P = @MKDIR_P@
MPICC = @MPICC@
MPILIBS = @MPILIBS@
MPIRUN = @MPIRUN@
NM = @NM@
NMEDIT = @NMEDIT@
OBJDUMP = @OBJDUMP@
OBJEXT = @OBJEXT@
OCAMLC = @OCAMLC@
OCAMLCFLAGS = @OCAMLCFLAGS@
OCAMLDEFS = @OCAMLDEFS@
OCAMLDEP = @OCAMLDEP@
OCAMLLDFLAGS = @OCAMLLDFLAGS@
OCAMLOPT = @OCAMLOPT@
OCAMLOPTCFLAGS = @OCAMLOPTCFLAGS@
OPENMP_CFLAGS = @OPENMP_CFLAGS@
OTOOL = @OTOOL@
OTOOL64 = @OTOOL64@
PACKAGE = @PACKAGE@
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
PACKAGE_NAME = @PACKAGE_NAME@
PACKAGE_STRING = @PACKAGE_STRING@
PACKAGE_TARNAME = @PACKAGE_TARNAME@
PACKAGE_VERSION = @PACKAGE_VERSION@
PATH_SEPARATOR = @PATH_SEPARATOR@
POW_LIB = @POW_LIB@
PRECISION = @PRECISION@
PREC_SUFFIX = @PREC_SUFFIX@
PRTDIAG = @PRTDIAG@
PTHREAD_CC = @PTHREAD_CC@
PTHREAD_CFLAGS = @PTHREAD_CFLAGS@
PTHREAD_LIBS = @PTHREAD_LIBS@
RANLIB = @RANLIB@
SED = @SED@
SET_MAKE = @SET_MAKE@
SHARED_VERSION_INFO = @SHARED_VERSION_INFO@
SHELL = @SHELL@
SIMD_CFLAGS = @SIMD_CFLAGS@
STRIP = @STRIP@
TARGET_OCAMLBIN = @TARGET_OCAMLBIN@
TARGET_OCAMLLIB = @TARGET_OCAMLLIB@
TARGET_OCAMLRUN = @TARGET_OCAMLRUN@
THREADLIBS = @THREADLIBS@
VERSION = @VERSION@
abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@
abs_top_builddir = @abs_top_builddir@
abs_top_srcdir = @abs_top_srcdir@
ac_ct_CC = @ac_ct_CC@
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
ac_ct_F77 = @ac_ct_F77@
acx_pthread_config = @acx_pthread_config@
am__include = @am__include@
am__leading_dot = @am__leading_dot@
am__quote = @am__quote@
am__tar = @am__tar@
am__untar = @am__untar@
bindir = @bindir@
build = @build@
build_alias = @build_alias@
build_cpu = @build_cpu@
build_os = @build_os@
build_vendor = @build_vendor@
builddir = @builddir@
datadir = @datadir@
datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
exec_prefix = @exec_prefix@
host = @host@
host_alias = @host_alias@
host_cpu = @host_cpu@
host_os = @host_os@
host_vendor = @host_vendor@
htmldir = @htmldir@
includedir = @includedir@
infodir = @infodir@
install_sh = @install_sh@
libdir = @libdir@
libexecdir = @libexecdir@
localedir = @localedir@
localstatedir = @localstatedir@
lt_ECHO = @lt_ECHO@
mandir = @mandir@
mkdir_p = @mkdir_p@
oldincludedir = @oldincludedir@
pdfdir = @pdfdir@
prefix = @prefix@
program_transform_name = @program_transform_name@
psdir = @psdir@
sbindir = @sbindir@
sharedstatedir = @sharedstatedir@
srcdir = @srcdir@
sysconfdir = @sysconfdir@
target_alias = @target_alias@
top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@

# FIXME: autodetect SPUCC
SPUCC = spu-gcc
SPUCFLAGS = -O3 -W -Wall -Winline -Wno-main -I. -I$(srcdir)	\
-I$(top_builddir) -I${top_srcdir}/kernel

DOUBLE_CODELETS = spu_n1fv_3.spuc spu_n1fv_5.spuc spu_n1fv_7.spuc		\
spu_n1fv_9.spuc spu_n1fv_11.spuc spu_n1fv_13.spuc spu_n1fv_15.spuc

SINGLE_CODELETS = spu_n2fv_2.spuc spu_n2fv_4.spuc spu_n2fv_6.spuc		\
spu_n2fv_8.spuc spu_n2fv_10.spuc spu_n2fv_12.spuc spu_n2fv_14.spuc	\
spu_n2fv_16.spuc spu_n2fv_32.spuc spu_t1fv_2.spuc spu_t1fv_3.spuc	\
spu_t1fv_4.spuc spu_t1fv_5.spuc spu_t1fv_6.spuc spu_t1fv_7.spuc		\
spu_t1fv_8.spuc spu_t1fv_9.spuc spu_t1fv_10.spuc spu_t1fv_12.spuc	\
spu_t1fv_15.spuc spu_t1fv_16.spuc spu_t1fv_32.spuc

@SINGLE_FALSE@ALL_CODELETS = $(SINGLE_CODELETS) $(DOUBLE_CODELETS)
@SINGLE_TRUE@ALL_CODELETS = $(SINGLE_CODELETS)
BUILT_SOURCES = $(SINGLE_CODELETS) $(DOUBLE_CODELETS)
HFILES = fftw-spu.h spu-double.h spu-single.h
OTHERDEPS = ${top_srcdir}/kernel/ifftw.h ${top_srcdir}/cell/fftw-cell.h	\
${top_builddir}/config.h

spufftw_SOURCES = main.spuc alloc.spuc copy.spuc dma.spuc execute.spuc	\
transpose.spuc dft.spuc $(ALL_CODELETS) $(HFILES)

spufftw_LINK = $(SPUCC) -o $@
planner_SOURCES = planner.spuc execute.spuc $(ALL_CODELETS) $(HFILES)
planner_LINK = $(SPUCC) -o $@
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) $(CODELET_OPTIM)

LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \
	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
	$(AM_CFLAGS) $(CFLAGS) $(CODELET_OPTIM)

CODLIST = codlist.c
CODELET_NAME = codelet_
@MAINTAINER_MODE_TRUE@INDENT = indent -kr -cs -i5 -l800 -fca -nfc1 -sc -sob -cli4 -TR -Tplanner -TV
@MAINTAINER_MODE_TRUE@TWOVERS = sh ${top_srcdir}/support/twovers.sh
@MAINTAINER_MODE_TRUE@GENFFTDIR = ${top_builddir}/genfft
@MAINTAINER_MODE_TRUE@GEN_NOTW = ${GENFFTDIR}/gen_notw
@MAINTAINER_MODE_TRUE@GEN_NOTW_C = ${GENFFTDIR}/gen_notw_c
@MAINTAINER_MODE_TRUE@GEN_TWIDDLE = ${GENFFTDIR}/gen_twiddle
@MAINTAINER_MODE_TRUE@GEN_TWIDDLE_C = ${GENFFTDIR}/gen_twiddle_c
@MAINTAINER_MODE_TRUE@GEN_TWIDSQ = ${GENFFTDIR}/gen_twidsq
@MAINTAINER_MODE_TRUE@GEN_TWIDSQ_C = ${GENFFTDIR}/gen_twidsq_c
@MAINTAINER_MODE_TRUE@GEN_R2CF = ${GENFFTDIR}/gen_r2cf
@MAINTAINER_MODE_TRUE@GEN_R2CB = ${GENFFTDIR}/gen_r2cb
@MAINTAINER_MODE_TRUE@GEN_HC2HC = ${GENFFTDIR}/gen_hc2hc
@MAINTAINER_MODE_TRUE@GEN_HC2C = ${GENFFTDIR}/gen_hc2c
@MAINTAINER_MODE_TRUE@GEN_HC2CDFT = ${GENFFTDIR}/gen_hc2cdft
@MAINTAINER_MODE_TRUE@GEN_HC2CDFT_C = ${GENFFTDIR}/gen_hc2cdft_c
@MAINTAINER_MODE_TRUE@GEN_R2R = ${GENFFTDIR}/gen_r2r
@MAINTAINER_MODE_TRUE@PRELUDE_DFT = ${top_srcdir}/support/codelet_prelude.dft
@MAINTAINER_MODE_TRUE@PRELUDE_RDFT = ${top_srcdir}/support/codelet_prelude.rdft
@MAINTAINER_MODE_TRUE@ADD_DATE = sed -e s/@DATE@/"`date`"/
@MAINTAINER_MODE_TRUE@COPYRIGHT = ${top_srcdir}/COPYRIGHT
@MAINTAINER_MODE_TRUE@CODELET_DEPS = $(COPYRIGHT) $(PRELUDE) 
@MAINTAINER_MODE_TRUE@PRELUDE_COMMANDS_DFT = cat $(COPYRIGHT) $(PRELUDE_DFT)
@MAINTAINER_MODE_TRUE@PRELUDE_COMMANDS_RDFT = cat $(COPYRIGHT) $(PRELUDE_RDFT)
@MAINTAINER_MODE_TRUE@FLAGS_COMMON = -compact -variables 4
@MAINTAINER_MODE_TRUE@DFT_FLAGS_COMMON = $(FLAGS_COMMON) -pipeline-latency 4
@MAINTAINER_MODE_TRUE@RDFT_FLAGS_COMMON = $(FLAGS_COMMON) -pipeline-latency 4

# special rules for regenerating codelets.
@MAINTAINER_MODE_TRUE@FLAGS_N = -standalone -fma -reorder-insns -simd -compact -variables 100000 -with-ostride 2 -include fftw-spu.h
@MAINTAINER_MODE_TRUE@FLAGS_T = -standalone -fma -reorder-insns -simd -compact -variables 100000 -include fftw-spu.h -trivial-stores
@MAINTAINER_MODE_TRUE@PRELUDE_COMMANDS = cat $(COPYRIGHT)
all: $(BUILT_SOURCES)
	$(MAKE) $(AM_MAKEFLAGS) all-am

.SUFFIXES:
.SUFFIXES: .o .spuc
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/support/Makefile.codelets $(am__configure_deps)
	@for dep in $?; do \
	  case '$(am__configure_deps)' in \
	    *$$dep*) \
	      ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
	        && { if test -f $@; then exit 0; else break; fi; }; \
	      exit 1;; \
	  esac; \
	done; \
	echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  cell/spu/Makefile'; \
	cd $(top_srcdir) && \
	  $(AUTOMAKE) --gnu  cell/spu/Makefile
.PRECIOUS: Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
	@case '$?' in \
	  *config.status*) \
	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
	  *) \
	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
	esac;

$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh

$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh

clean-noinstPROGRAMS:
	@list='$(noinst_PROGRAMS)'; for p in $$list; do \
	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
	  echo " rm -f $$p $$f"; \
	  rm -f $$p $$f ; \
	done
planner$(EXEEXT): $(planner_OBJECTS) $(planner_DEPENDENCIES) 
	@rm -f planner$(EXEEXT)
	$(planner_LINK) $(planner_OBJECTS) $(planner_LDADD) $(LIBS)
spufftw$(EXEEXT): $(spufftw_OBJECTS) $(spufftw_DEPENDENCIES) 
	@rm -f spufftw$(EXEEXT)
	$(spufftw_LINK) $(spufftw_OBJECTS) $(spufftw_LDADD) $(LIBS)

mostlyclean-compile:
	-rm -f *.$(OBJEXT)

distclean-compile:
	-rm -f *.tab.c

mostlyclean-libtool:
	-rm -f *.lo

clean-libtool:
	-rm -rf .libs _libs

ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
	unique=`for i in $$list; do \
	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
	  done | \
	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
	      END { if (nonempty) { for (i in files) print i; }; }'`; \
	mkid -fID $$unique
tags: TAGS

TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
		$(TAGS_FILES) $(LISP)
	tags=; \
	here=`pwd`; \
	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
	unique=`for i in $$list; do \
	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
	  done | \
	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
	      END { if (nonempty) { for (i in files) print i; }; }'`; \
	if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
	  test -n "$$unique" || unique=$$empty_fix; \
	  $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
	    $$tags $$unique; \
	fi
ctags: CTAGS
CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
		$(TAGS_FILES) $(LISP)
	tags=; \
	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
	unique=`for i in $$list; do \
	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
	  done | \
	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
	      END { if (nonempty) { for (i in files) print i; }; }'`; \
	test -z "$(CTAGS_ARGS)$$tags$$unique" \
	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
	     $$tags $$unique

GTAGS:
	here=`$(am__cd) $(top_builddir) && pwd` \
	  && cd $(top_srcdir) \
	  && gtags -i $(GTAGS_ARGS) $$here

distclean-tags:
	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags

distdir: $(DISTFILES)
	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
	list='$(DISTFILES)'; \
	  dist_files=`for file in $$list; do echo $$file; done | \
	  sed -e "s|^$$srcdirstrip/||;t" \
	      -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
	case $$dist_files in \
	  */*) $(MKDIR_P) `echo "$$dist_files" | \
			   sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
			   sort -u` ;; \
	esac; \
	for file in $$dist_files; do \
	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
	  if test -d $$d/$$file; then \
	    dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
	      cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
	    fi; \
	    cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
	  else \
	    test -f $(distdir)/$$file \
	    || cp -p $$d/$$file $(distdir)/$$file \
	    || exit 1; \
	  fi; \
	done
check-am: all-am
check: $(BUILT_SOURCES)
	$(MAKE) $(AM_MAKEFLAGS) check-am
all-am: Makefile $(PROGRAMS)
installdirs:
install: $(BUILT_SOURCES)
	$(MAKE) $(AM_MAKEFLAGS) install-am
install-exec: install-exec-am
install-data: install-data-am
uninstall: uninstall-am

install-am: all-am
	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am

installcheck: installcheck-am
install-strip:
	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
	  `test -z '$(STRIP)' || \
	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
mostlyclean-generic:

clean-generic:

distclean-generic:
	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)

maintainer-clean-generic:
	@echo "This command is intended for maintainers to use"
	@echo "it deletes files that may require special tools to rebuild."
	-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
clean: clean-am

clean-am: clean-generic clean-libtool clean-noinstPROGRAMS \
	mostlyclean-am

distclean: distclean-am
	-rm -f Makefile
distclean-am: clean-am distclean-compile distclean-generic \
	distclean-tags

dvi: dvi-am

dvi-am:

html: html-am

info: info-am

info-am:

install-data-am:

install-dvi: install-dvi-am

install-exec-am:

install-html: install-html-am

install-info: install-info-am

install-man:

install-pdf: install-pdf-am

install-ps: install-ps-am

installcheck-am:

maintainer-clean: maintainer-clean-am
	-rm -f Makefile
maintainer-clean-am: distclean-am maintainer-clean-generic \
	maintainer-clean-local

mostlyclean: mostlyclean-am

mostlyclean-am: mostlyclean-compile mostlyclean-generic \
	mostlyclean-libtool

pdf: pdf-am

pdf-am:

ps: ps-am

ps-am:

uninstall-am:

.MAKE: install-am install-strip

.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
	clean-libtool clean-noinstPROGRAMS ctags distclean \
	distclean-compile distclean-generic distclean-libtool \
	distclean-tags distdir dvi dvi-am html html-am info info-am \
	install install-am install-data install-data-am install-dvi \
	install-dvi-am install-exec install-exec-am install-html \
	install-html-am install-info install-info-am install-man \
	install-pdf install-pdf-am install-ps install-ps-am \
	install-strip installcheck installcheck-am installdirs \
	maintainer-clean maintainer-clean-generic \
	maintainer-clean-local mostlyclean mostlyclean-compile \
	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
	tags uninstall uninstall-am


# use the silly suffix .spuc so that automake does not get 
# confused
.spuc.o:
	$(SPUCC) -xc $(SPUCFLAGS) -c -o $@ $<
$(spufftw_OBJECTS): $(HFILES) $(OTHERDEPS)

# rule to build codlist
$(CODLIST): Makefile
	(								\
	echo "#include \"ifftw.h\"";					\
	echo;								\
	for i in $(ALL_CODELETS) NIL; do				\
	   if test "$$i" != NIL; then					\
	     j=`basename $$i | sed -e 's/[.][cS]$$//g'`;		\
             echo "extern void X($(CODELET_NAME)$$j)(planner *);";	\
           fi								\
	done;								\
	echo;								\
	echo;								\
	echo "extern const solvtab $(SOLVTAB_NAME);";		        \
	echo "const solvtab $(SOLVTAB_NAME) = {";		        \
	for i in $(ALL_CODELETS) NIL; do				\
	   if test "$$i" != NIL; then					\
	     j=`basename $$i | sed -e 's/[.][cS]$$//g'`;		\
	     echo "   SOLVTAB(X($(CODELET_NAME)$$j)),";			\
	   fi								\
	done;								\
	echo "   SOLVTAB_END";						\
	echo "};";							\
	) >$@

# only delete codlist.c in maintainer-mode, since it is included in the dist
# FIXME: is there a way to delete in 'make clean' only when builddir != srcdir?
maintainer-clean-local:
	rm -f $(CODLIST)

# cancel the hideous builtin rules that cause an infinite loop
@MAINTAINER_MODE_TRUE@%: %.o
@MAINTAINER_MODE_TRUE@%: %.s
@MAINTAINER_MODE_TRUE@%: %.c
@MAINTAINER_MODE_TRUE@%: %.S

@MAINTAINER_MODE_TRUE@spu_n1fv_%.spuc:  $(CODELET_DEPS) $(GEN_NOTW_C)
@MAINTAINER_MODE_TRUE@	($(PRELUDE_COMMANDS); $(GEN_NOTW_C) $(FLAGS_N) -n $* -name "X(spu_n2fv_$*)") | $(ADD_DATE) | $(INDENT) >$@

@MAINTAINER_MODE_TRUE@spu_n2fv_%.spuc:  $(CODELET_DEPS) $(GEN_NOTW_C)
@MAINTAINER_MODE_TRUE@	($(PRELUDE_COMMANDS); $(GEN_NOTW_C) $(FLAGS_N) -store-multiple 2 -n $* -name "X(spu_n2fv_$*)") | $(ADD_DATE) | $(INDENT) >$@

@MAINTAINER_MODE_TRUE@spu_t1fv_%.spuc:  $(CODELET_DEPS) $(GEN_TWIDDLE_C)
@MAINTAINER_MODE_TRUE@	($(PRELUDE_COMMANDS); $(GEN_TWIDDLE_C) $(FLAGS_T) -n $* -name "X(spu_t1fv_$*)") | $(ADD_DATE) | $(INDENT) >$@
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT: