| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586 | # StarPU --- Runtime system for heterogeneous multicore architectures.## Copyright (C) 2009-2013, 2015  Université de Bordeaux# Copyright (C) 2010, 2011, 2012, 2013, 2014, 2015  CNRS## StarPU is free software; you can redistribute it and/or modify# it under the terms of the GNU Lesser General Public License as published by# the Free Software Foundation; either version 2.1 of the License, or (at# your option) any later version.## StarPU is distributed in the hope that it will be useful, but# WITHOUT ANY WARRANTY; without even the implied warranty of# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.## See the GNU Lesser General Public License in COPYING.LGPL for more details.#CLEANFILES = starpu_idle_microsec.logexamplebindir = $(libdir)/starpu/examples/starpufftEXTRA_DIST =		\	testx.c		\	testx_threads.c	\	testf_threads.c	\	test_threads.cif STARPU_HAVE_WINDOWScheck_PROGRAMS	=	$(STARPU_FFT_EXAMPLES)elsecheck_PROGRAMS	=	$(LOADER) $(STARPU_FFT_EXAMPLES)endifif !STARPU_HAVE_WINDOWS## test loader programLOADER			=	loaderloader_CPPFLAGS 	=  	$(AM_CFLAGS) $(AM_CPPFLAGS) -I$(top_builddir)/src/LOADER_BIN		=	$(abs_top_builddir)/starpufft/tests/$(LOADER)loader_SOURCES		=	../../tests/loader.cif STARPU_HAVE_AM111TESTS_ENVIRONMENT	=	top_builddir="$(abs_top_builddir)" top_srcdir="$(abs_top_srcdir)"LOG_COMPILER		=	$(LOADER_BIN)elseTESTS_ENVIRONMENT	=	top_builddir="$(abs_top_builddir)" top_srcdir="$(abs_top_srcdir)" $(LOADER_BIN)endifendifAM_CFLAGS = -Wall $(STARPU_CUDA_CPPFLAGS) $(STARPU_OPENCL_CPPFLAGS) $(FXT_CFLAGS) $(MAGMA_CFLAGS) $(HWLOC_CFLAGS) $(GLOBAL_AM_CFLAGS) -Wno-unusedLIBS = $(top_builddir)/src/@LIBSTARPU_LINK@ @LIBS@ $(FXT_LIBS) $(MAGMA_LIBS)AM_CPPFLAGS = -I$(top_srcdir)/include/ -I$(top_builddir)/include -I$(top_srcdir)/starpufft/include -I$(top_srcdir)/starpufft/srcAM_LDFLAGS = $(STARPU_OPENCL_LDFLAGS) $(STARPU_CUDA_LDFLAGS) $(FXT_LDFLAGS) $(STARPU_COI_LDFLAGS) $(STARPU_SCIF_LDFLAGS)examplebin_PROGRAMS =if BUILD_EXAMPLESexamplebin_PROGRAMS +=	\	testf 		\	testendifSTARPU_FFT_EXAMPLES = testftestf_LDADD = ../src/libstarpufft-@STARPU_EFFECTIVE_VERSION@.la $(top_builddir)/src/libstarpu-@STARPU_EFFECTIVE_VERSION@.la $(FFTWF_LIBS)# If we don't have CUDA, we assume that we have fftw available in double# precision anyway, we just want to make sure that if CUFFT is used, it also# supports double precision.if !STARPU_USE_CUDASTARPU_FFT_EXAMPLES += testelseif STARPU_HAVE_CUFFTDOUBLECOMPLEXSTARPU_FFT_EXAMPLES += testendifendiftest_LDADD = ../src/libstarpufft-@STARPU_EFFECTIVE_VERSION@.la $(top_builddir)/src/libstarpu-@STARPU_EFFECTIVE_VERSION@.la $(FFTW_LIBS)TESTS = $(STARPU_FFT_EXAMPLES)#check_PROGRAMS += examples/test_threads examples/testf_threads#examples_test_threads_LDADD = libstarpufft-@STARPU_EFFECTIVE_VERSION@.la $(top_builddir)/src/libstarpu.la -lfftw3_threads#examples_testf_threads_LDADD = libstarpufft-@STARPU_EFFECTIVE_VERSION@.la $(top_builddir)/src/libstarpu.la -lfftw3f_threadsshowcheck:	-cat $(TEST_LOGS) /dev/null	! grep -q " runtime error: " $(TEST_LOGS) /dev/null
 |