# Makefile.in generated automatically by automake 1.4 from Makefile.am

# Copyright (C) 1994, 1995-8, 1999 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.

# The threads stuff is only compiled if FFTW was configured with
# the --enable-threads option.  This requires us to use the combination
# of foo_* and EXTRA_* variables below.


SHELL = @SHELL@

srcdir = @srcdir@
top_srcdir = @top_srcdir@
VPATH = @srcdir@
prefix = @prefix@
exec_prefix = @exec_prefix@

bindir = @bindir@
sbindir = @sbindir@
libexecdir = @libexecdir@
datadir = @datadir@
sysconfdir = @sysconfdir@
sharedstatedir = @sharedstatedir@
localstatedir = @localstatedir@
libdir = @libdir@
infodir = @infodir@
mandir = @mandir@
includedir = @includedir@
oldincludedir = /usr/include

DESTDIR =

pkgdatadir = $(datadir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@

top_builddir = ..

ACLOCAL = @ACLOCAL@
AUTOCONF = @AUTOCONF@
AUTOMAKE = @AUTOMAKE@

INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
INSTALL_DATA = @INSTALL_DATA@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
transform = @program_transform_name@

NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
host_alias = @host_alias@
host_triplet = @host@
AS = @AS@
CC = @CC@
CCthreads = @CCthreads@
DLLTOOL = @DLLTOOL@
F77 = @F77@
FFTW_MPI_INCLUDELIST = @FFTW_MPI_INCLUDELIST@
FFTW_MPI_LIBLIST = @FFTW_MPI_LIBLIST@
FFTW_MPI_PROGLIST = @FFTW_MPI_PROGLIST@
FFTW_PREFIX = @FFTW_PREFIX@
FFTW_THREADS_INCLUDELIST = @FFTW_THREADS_INCLUDELIST@
FFTW_THREADS_LIBLIST = @FFTW_THREADS_LIBLIST@
FFTW_THREADS_PROGLIST = @FFTW_THREADS_PROGLIST@
FLIBS = @FLIBS@
LD = @LD@
LIBTOOL = @LIBTOOL@
LN_S = @LN_S@
MAKEINFO = @MAKEINFO@
MPICC = @MPICC@
MPILIBS = @MPILIBS@
NM = @NM@
OBJDUMP = @OBJDUMP@
PACKAGE = @PACKAGE@
PERL = @PERL@
RANLIB = @RANLIB@
SHARED_VERSION = @SHARED_VERSION@
SHARED_VERSION_INFO = @SHARED_VERSION_INFO@
THREADLIBS = @THREADLIBS@
VERSION = @VERSION@

lib_LTLIBRARIES = @FFTW_THREADS_LIBLIST@
include_HEADERS = @FFTW_THREADS_INCLUDELIST@
noinst_PROGRAMS = @FFTW_THREADS_PROGLIST@

EXTRA_LTLIBRARIES = libXXX_FFTW_PREFIX_XXXfftw_threads.la                     libXXX_FFTW_PREFIX_XXXrfftw_threads.la

EXTRA_HEADERS = XXX_FFTW_PREFIX_XXXfftw_threads.h                 XXX_FFTW_PREFIX_XXXrfftw_threads.h

EXTRA_PROGRAMS = fftw_threads_test rfftw_threads_test

FFTWDIR = ../fftw
RFFTWDIR = ../rfftw
INCLUDES = -I$(srcdir)/../tests            -I$(srcdir)/$(FFTWDIR) -I$(srcdir)/$(RFFTWDIR) -I$(srcdir)


libXXX_FFTW_PREFIX_XXXfftw_threads_la_SOURCES =                               executor_threads.c fftw_threads.c                              fftwnd_threads.c                              fftw_f77_threads.c 	                     XXX_FFTW_PREFIX_XXXfftw_threads.h                              fftw_threads-int.h

libXXX_FFTW_PREFIX_XXXfftw_threads_la_LDFLAGS =                               -version-info @SHARED_VERSION_INFO@                              -rpath $(libdir)


fftw_threads_test_SOURCES = fftw_threads_test.c
fftw_threads_test_LDADD = ../tests/test_main.o 	                  libXXX_FFTW_PREFIX_XXXfftw_threads.la                           $(FFTWDIR)/libXXX_FFTW_PREFIX_XXXfftw.la 	 		  @THREADLIBS@


libXXX_FFTW_PREFIX_XXXrfftw_threads_la_SOURCES =                                rexec_threads.c rexec2_threads.c     	                      rfftwnd_threads.c                               rfftw_f77_threads.c 	                      XXX_FFTW_PREFIX_XXXfftw_threads.h                               fftw_threads-int.h                               XXX_FFTW_PREFIX_XXXrfftw_threads.h

libXXX_FFTW_PREFIX_XXXrfftw_threads_la_LDFLAGS =                                -version-info @SHARED_VERSION_INFO@                               -rpath $(libdir)


CLEANFILES = XXX_FFTW_PREFIX1_XXXfftw_threads.h              XXX_FFTW_PREFIX1_XXXrfftw_threads.h


rfftw_threads_test_SOURCES = rfftw_threads_test.c
rfftw_threads_test_LDADD = ../tests/test_main.o 	                  libXXX_FFTW_PREFIX_XXXrfftw_threads.la                           libXXX_FFTW_PREFIX_XXXfftw_threads.la                           $(RFFTWDIR)/libXXX_FFTW_PREFIX_XXXrfftw.la                           $(FFTWDIR)/libXXX_FFTW_PREFIX_XXXfftw.la 			  @THREADLIBS@


# for some reason, automake tries to use autoheader in order to
# generate config.h.in, and fails because config.h.in is GNU-lly
# incorrect.  Just disable autoheader
AUTOHEADER = echo
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_HEADER = ../fftw/config.h ../fftw/fftw.h
CONFIG_CLEAN_FILES = 
LTLIBRARIES =  $(lib_LTLIBRARIES)


DEFS = @DEFS@ -I. -I$(srcdir) -I../fftw -I../fftw
CPPFLAGS = @CPPFLAGS@
LDFLAGS = @LDFLAGS@
LIBS = @LIBS@
libXXX_FFTW_PREFIX_XXXfftw_threads_la_LIBADD = 
libXXX_FFTW_PREFIX_XXXfftw_threads_la_OBJECTS =  executor_threads.lo \
fftw_threads.lo fftwnd_threads.lo fftw_f77_threads.lo
libXXX_FFTW_PREFIX_XXXrfftw_threads_la_LIBADD = 
libXXX_FFTW_PREFIX_XXXrfftw_threads_la_OBJECTS =  rexec_threads.lo \
rexec2_threads.lo rfftwnd_threads.lo rfftw_f77_threads.lo
PROGRAMS =  $(noinst_PROGRAMS)

fftw_threads_test_OBJECTS =  fftw_threads_test.o
fftw_threads_test_DEPENDENCIES =  ../tests/test_main.o \
libXXX_FFTW_PREFIX_XXXfftw_threads.la \
$(FFTWDIR)/libXXX_FFTW_PREFIX_XXXfftw.la
fftw_threads_test_LDFLAGS = 
rfftw_threads_test_OBJECTS =  rfftw_threads_test.o
rfftw_threads_test_DEPENDENCIES =  ../tests/test_main.o \
libXXX_FFTW_PREFIX_XXXrfftw_threads.la \
libXXX_FFTW_PREFIX_XXXfftw_threads.la \
$(RFFTWDIR)/libXXX_FFTW_PREFIX_XXXrfftw.la \
$(FFTWDIR)/libXXX_FFTW_PREFIX_XXXfftw.la
rfftw_threads_test_LDFLAGS = 
CFLAGS = @CFLAGS@
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
CCLD = $(CC)
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
HEADERS =  $(include_HEADERS)

DIST_COMMON =  Makefile.am Makefile.in


DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)

TAR = gtar
GZIP_ENV = --best
SOURCES = $(libXXX_FFTW_PREFIX_XXXfftw_threads_la_SOURCES) $(libXXX_FFTW_PREFIX_XXXrfftw_threads_la_SOURCES) $(fftw_threads_test_SOURCES) $(rfftw_threads_test_SOURCES)
OBJECTS = $(libXXX_FFTW_PREFIX_XXXfftw_threads_la_OBJECTS) $(libXXX_FFTW_PREFIX_XXXrfftw_threads_la_OBJECTS) $(fftw_threads_test_OBJECTS) $(rfftw_threads_test_OBJECTS)

all: all-redirect
.SUFFIXES:
.SUFFIXES: .S .c .lo .o .s
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
	cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps threads/Makefile

Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
	cd $(top_builddir) \
	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status


mostlyclean-libLTLIBRARIES:

clean-libLTLIBRARIES:
	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)

distclean-libLTLIBRARIES:

maintainer-clean-libLTLIBRARIES:

install-libLTLIBRARIES: $(lib_LTLIBRARIES)
	@$(NORMAL_INSTALL)
	$(mkinstalldirs) $(DESTDIR)$(libdir)
	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
	  if test -f $$p; then \
	    echo "$(LIBTOOL)  --mode=install $(INSTALL) $$p $(DESTDIR)$(libdir)/$$p"; \
	    $(LIBTOOL)  --mode=install $(INSTALL) $$p $(DESTDIR)$(libdir)/$$p; \
	  else :; fi; \
	done

uninstall-libLTLIBRARIES:
	@$(NORMAL_UNINSTALL)
	list='$(lib_LTLIBRARIES)'; for p in $$list; do \
	  $(LIBTOOL)  --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
	done

.c.o:
	$(COMPILE) -c $<

.s.o:
	$(COMPILE) -c $<

.S.o:
	$(COMPILE) -c $<

mostlyclean-compile:
	-rm -f *.o core *.core

clean-compile:

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

maintainer-clean-compile:

.c.lo:
	$(LIBTOOL) --mode=compile $(COMPILE) -c $<

.s.lo:
	$(LIBTOOL) --mode=compile $(COMPILE) -c $<

.S.lo:
	$(LIBTOOL) --mode=compile $(COMPILE) -c $<

mostlyclean-libtool:
	-rm -f *.lo

clean-libtool:
	-rm -rf .libs _libs

distclean-libtool:

maintainer-clean-libtool:

libXXX_FFTW_PREFIX_XXXfftw_threads.la: $(libXXX_FFTW_PREFIX_XXXfftw_threads_la_OBJECTS) $(libXXX_FFTW_PREFIX_XXXfftw_threads_la_DEPENDENCIES)
	$(LINK)  $(libXXX_FFTW_PREFIX_XXXfftw_threads_la_LDFLAGS) $(libXXX_FFTW_PREFIX_XXXfftw_threads_la_OBJECTS) $(libXXX_FFTW_PREFIX_XXXfftw_threads_la_LIBADD) $(LIBS)

libXXX_FFTW_PREFIX_XXXrfftw_threads.la: $(libXXX_FFTW_PREFIX_XXXrfftw_threads_la_OBJECTS) $(libXXX_FFTW_PREFIX_XXXrfftw_threads_la_DEPENDENCIES)
	$(LINK)  $(libXXX_FFTW_PREFIX_XXXrfftw_threads_la_LDFLAGS) $(libXXX_FFTW_PREFIX_XXXrfftw_threads_la_OBJECTS) $(libXXX_FFTW_PREFIX_XXXrfftw_threads_la_LIBADD) $(LIBS)

mostlyclean-noinstPROGRAMS:

clean-noinstPROGRAMS:
	-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)

distclean-noinstPROGRAMS:

maintainer-clean-noinstPROGRAMS:

fftw_threads_test: $(fftw_threads_test_OBJECTS) $(fftw_threads_test_DEPENDENCIES)
	@rm -f fftw_threads_test
	$(LINK) $(fftw_threads_test_LDFLAGS) $(fftw_threads_test_OBJECTS) $(fftw_threads_test_LDADD) $(LIBS)

rfftw_threads_test: $(rfftw_threads_test_OBJECTS) $(rfftw_threads_test_DEPENDENCIES)
	@rm -f rfftw_threads_test
	$(LINK) $(rfftw_threads_test_LDFLAGS) $(rfftw_threads_test_OBJECTS) $(rfftw_threads_test_LDADD) $(LIBS)

install-includeHEADERS: $(include_HEADERS)
	@$(NORMAL_INSTALL)
	$(mkinstalldirs) $(DESTDIR)$(includedir)
	@list='$(include_HEADERS)'; for p in $$list; do \
	  if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
	  echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$p"; \
	  $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$p; \
	done

uninstall-includeHEADERS:
	@$(NORMAL_UNINSTALL)
	list='$(include_HEADERS)'; for p in $$list; do \
	  rm -f $(DESTDIR)$(includedir)/$$p; \
	done

tags: TAGS

ID: $(HEADERS) $(SOURCES) $(LISP)
	list='$(SOURCES) $(HEADERS)'; \
	unique=`for i in $$list; do echo $$i; done | \
	  awk '    { files[$$0] = 1; } \
	       END { for (i in files) print i; }'`; \
	here=`pwd` && cd $(srcdir) \
	  && mkid -f$$here/ID $$unique $(LISP)

TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) $(LISP)
	tags=; \
	here=`pwd`; \
	list='$(SOURCES) $(HEADERS)'; \
	unique=`for i in $$list; do echo $$i; done | \
	  awk '    { files[$$0] = 1; } \
	       END { for (i in files) print i; }'`; \
	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
	  || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags  $$unique $(LISP) -o $$here/TAGS)

mostlyclean-tags:

clean-tags:

distclean-tags:
	-rm -f TAGS ID

maintainer-clean-tags:

distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)

subdir = threads

distdir: $(DISTFILES)
	@for file in $(DISTFILES); do \
	  d=$(srcdir); \
	  if test -d $$d/$$file; then \
	    cp -pr $$/$$file $(distdir)/$$file; \
	  else \
	    test -f $(distdir)/$$file \
	    || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
	    || cp -p $$d/$$file $(distdir)/$$file || :; \
	  fi; \
	done

info-am:
info: info-am
dvi-am:
dvi: dvi-am
check-am: all-am
check: check-am
installcheck-am:
installcheck: installcheck-am
install-exec-am: install-libLTLIBRARIES
install-exec: install-exec-am

install-data-am: install-includeHEADERS
install-data: install-data-am

install-am: all-am
	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
install: install-am
uninstall-am: uninstall-libLTLIBRARIES uninstall-includeHEADERS
uninstall: uninstall-am
all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(HEADERS)
all-redirect: all-am
install-strip:
	$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
installdirs:
	$(mkinstalldirs)  $(DESTDIR)$(libdir) $(DESTDIR)$(includedir)


mostlyclean-generic:

clean-generic:
	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)

distclean-generic:
	-rm -f Makefile $(CONFIG_CLEAN_FILES)
	-rm -f config.cache config.log stamp-h stamp-h[0-9]*

maintainer-clean-generic:
mostlyclean-am:  mostlyclean-libLTLIBRARIES mostlyclean-compile \
		mostlyclean-libtool mostlyclean-noinstPROGRAMS \
		mostlyclean-tags mostlyclean-generic

mostlyclean: mostlyclean-am

clean-am:  clean-libLTLIBRARIES clean-compile clean-libtool \
		clean-noinstPROGRAMS clean-tags clean-generic \
		mostlyclean-am

clean: clean-am

distclean-am:  distclean-libLTLIBRARIES distclean-compile \
		distclean-libtool distclean-noinstPROGRAMS \
		distclean-tags distclean-generic clean-am
	-rm -f libtool

distclean: distclean-am

maintainer-clean-am:  maintainer-clean-libLTLIBRARIES \
		maintainer-clean-compile maintainer-clean-libtool \
		maintainer-clean-noinstPROGRAMS maintainer-clean-tags \
		maintainer-clean-generic distclean-am
	@echo "This command is intended for maintainers to use;"
	@echo "it deletes files that may require special tools to rebuild."

maintainer-clean: maintainer-clean-am

.PHONY: mostlyclean-libLTLIBRARIES distclean-libLTLIBRARIES \
clean-libLTLIBRARIES maintainer-clean-libLTLIBRARIES \
uninstall-libLTLIBRARIES install-libLTLIBRARIES mostlyclean-compile \
distclean-compile clean-compile maintainer-clean-compile \
mostlyclean-libtool distclean-libtool clean-libtool \
maintainer-clean-libtool mostlyclean-noinstPROGRAMS \
distclean-noinstPROGRAMS clean-noinstPROGRAMS \
maintainer-clean-noinstPROGRAMS uninstall-includeHEADERS \
install-includeHEADERS tags mostlyclean-tags distclean-tags clean-tags \
maintainer-clean-tags distdir info-am info dvi-am dvi check check-am \
installcheck-am installcheck install-exec-am install-exec \
install-data-am install-data install-am install uninstall-am uninstall \
all-redirect all-am all installdirs mostlyclean-generic \
distclean-generic clean-generic maintainer-clean-generic clean \
mostlyclean distclean maintainer-clean


XXX_FFTW_PREFIX1_XXXfftw_threads.h: fftw_threads.h
	rm -f XXX_FFTW_PREFIX_XXXfftw_threads.h
	sed 's/<fftw/<XXX_FFTW_PREFIX_XXXfftw/g;s/<rfftw/<XXX_FFTW_PREFIX_XXXrfftw/g' fftw_threads.h > XXX_FFTW_PREFIX_XXXfftw_threads.h

XXX_FFTW_PREFIX1_XXXrfftw_threads.h: rfftw_threads.h
	rm -f XXX_FFTW_PREFIX_XXXrfftw_threads.h
	sed 's/<fftw/<XXX_FFTW_PREFIX_XXXfftw/g;s/<rfftw/<XXX_FFTW_PREFIX_XXXrfftw/g' rfftw_threads.h > XXX_FFTW_PREFIX_XXXrfftw_threads.h

check: @FFTW_THREADS_PROGLIST@
	@set fnord $(MAKEFLAGS); amf=$$2; \
        list='@FFTW_THREADS_PROGLIST@'; for prog in $$list; do \
          target="$$prog""-check"; \
          echo "Making $$target"; \
          ($(MAKE) $$target) \
           || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
        done && test -z "$$fail"

fftw_threads_test-check: fftw_threads_test
	./fftw_threads_test 1 -x 100 -r 0
	./fftw_threads_test 2 -x 100 -r 0
	./fftw_threads_test 3 -x 100 -r 0
	./fftw_threads_test 10 -x 100 -r 0
	@echo "--------------------------------------------------------------"
	@echo "    FFTW complex-complex threads transforms passed tests!"
	@echo "--------------------------------------------------------------"

rfftw_threads_test-check: rfftw_threads_test
	./rfftw_threads_test 1 -x 100 -r 0
	./rfftw_threads_test 2 -x 100 -r 0
	./rfftw_threads_test 3 -x 100 -r 0
	./rfftw_threads_test 10 -x 100 -r 0
	@echo "--------------------------------------------------------------"
	@echo "     RFFTW real-complex threads transforms passed tests!"
	@echo "--------------------------------------------------------------"

# 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:
