| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202 | # StarPU --- Runtime system for heterogeneous multicore architectures.## Copyright (C) 2009-2014  Université de Bordeaux 1# Copyright (C) 2010, 2011, 2012, 2013, 2014  Centre National de la Recherche Scientifique## 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.SUBDIRS =AM_CFLAGS = $(HWLOC_CFLAGS) $(STARPU_CUDA_CPPFLAGS) $(STARPU_OPENCL_CPPFLAGS) $(STARPU_COI_CPPFLAGS) $(GLOBAL_AM_CFLAGS)LIBS = $(top_builddir)/src/@LIBSTARPU_LINK@ @LIBS@AM_CPPFLAGS = -I$(top_srcdir)/include/ -I$(top_srcdir)/tools/ -I$(top_srcdir)/mpi/ -I$(top_builddir)/src -I$(top_srcdir)/srcAM_LDFLAGS = $(STARPU_COI_LDFLAGS) $(STARPU_SCIF_LDFLAGS)bin_PROGRAMS =dist_bin_SCRIPTS =dist_pkgdata_DATA = gdbinitEXTRA_DIST =				\	dev/rename.sed			\	dev/rename.sh			\	msvc/starpu_clean.bat		\	msvc/starpu_open.bat		\	msvc/starpu_exec.bat		\	msvc/starpu_var.bat		\	msvc/starpu.sln			\	msvc/starpu/starpu.vcxprojCLEANFILES = *.gcno *.gcda *.linkinfo starpu_idle_microsec.log###################################### What to install and what to check ######################################STARPU_TOOLS	=TESTS		= $(STARPU_TOOLS)if STARPU_HAVE_WINDOWScheck_PROGRAMS	=	$(STARPU_TOOLS)elsecheck_PROGRAMS	=	$(LOADER) $(STARPU_TOOLS)endifif !STARPU_HAVE_WINDOWS## test loader programif !STARPU_CROSS_COMPILINGLOADER			=	loaderloader_CPPFLAGS =  $(AM_CFLAGS) $(AM_CPPFLAGS) -I$(top_builddir)/src/LOADER_BIN		=	$(abs_top_builddir)/tools/$(LOADER)loader_SOURCES		=	../tests/loader.celseLOADER			=LOADER_BIN		=	$(top_builddir)/tests/loader-cross.shendifif 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)endifendifif STARPU_USE_FXTbin_PROGRAMS += 			\	starpu_fxt_tool			\	starpu_fxt_stats		\	starpu_fxt_data_traceSTARPU_TOOLS += 			\	starpu_fxt_tool			\	starpu_fxt_stats		\	starpu_fxt_data_tracestarpu_fxt_tool_CPPFLAGS = $(AM_CFLAGS) $(AM_CPPFLAGS) $(FXT_CFLAGS)starpu_fxt_tool_LDADD = $(FXT_LIBS)starpu_fxt_tool_LDFLAGS = $(FXT_LDFLAGS)starpu_fxt_stats_CPPFLAGS = $(AM_CFLAGS) $(AM_CPPFLAGS) $(FXT_CFLAGS)starpu_fxt_stats_LDADD = $(FXT_LIBS)starpu_fxt_stats_LDFLAGS = $(FXT_LDFLAGS)starpu_fxt_data_trace_CPPFLAGS = $(AM_CFLAGS) $(AM_CPPFLAGS) $(FXT_CFLAGS)starpu_fxt_data_trace_LDADD = $(FXT_LIBS)starpu_fxt_data_trace_LDFLAGS = $(FXT_LDFLAGS)endifbin_PROGRAMS += 			\	starpu_perfmodel_display	\	starpu_perfmodel_plot 		\	starpu_calibrate_bus		\	starpu_machine_display		\	starpu_lp2pajestarpu_perfmodel_plot_CPPFLAGS = $(AM_CFLAGS) $(AM_CPPFLAGS) $(FXT_CFLAGS)if STARPU_LONG_CHECKSTARPU_TOOLS	+=			\	starpu_calibrate_busendifSTARPU_TOOLS	+=			\	starpu_machine_displayif !STARPU_HAVE_WINDOWSSTARPU_TOOLS	+=			\	starpu_perfmodel_display	\	starpu_perfmodel_plotendifdist_bin_SCRIPTS +=			\	starpu_workers_activity		\	starpu_codelet_histo_profile	\	starpu_codelet_profile		\	starpu_paje_draw_histogram	\	starpu_paje_state_statsif STARPU_HAVE_WINDOWSSTARPU_MSVC_dir		 =	$(bindir)nobase_STARPU_MSVC__DATA =		\	msvc/starpu_clean.bat		\	msvc/starpu_open.bat		\	msvc/starpu_exec.bat		\	msvc/starpu_var.bat		\	msvc/starpu.sln			\	msvc/starpu/starpu.vcxprojendifif STARPU_HAVE_HELP2MANstarpu_calibrate_bus.1: starpu_calibrate_bus$(EXEEXT)	help2man --no-discard-stderr -N --output=$@ ./$<starpu_machine_display.1: starpu_machine_display$(EXEEXT)	help2man --no-discard-stderr -N --output=$@ ./$<starpu_perfmodel_display.1: starpu_perfmodel_display$(EXEEXT)	help2man --no-discard-stderr -N --output=$@ ./$<starpu_perfmodel_plot.1: starpu_perfmodel_plot$(EXEEXT)	help2man --no-discard-stderr -N --output=$@ ./$<starpu_lp2paje.1: starpu_lp2paje$(EXEEXT)	help2man --no-discard-stderr -N --output=$@ ./$<starpu_workers_activity.1: starpu_workers_activity	chmod +x $<	help2man --no-discard-stderr -N --output=$@ ./$<starpu_codelet_profile.1: starpu_codelet_profile	chmod +x $<	help2man --no-discard-stderr -N --output=$@ ./$<starpu_codelet_histo_profile.1: starpu_codelet_histo_profile	chmod +x $<	help2man --no-discard-stderr -N --output=$@ ./$<starpu_paje_draw_histogram.1: starpu_paje_draw_histogram	chmod +x $<	help2man --no-discard-stderr -N --output=$@ ./$<starpu_paje_state_stats.1: starpu_paje_state_stats	chmod +x $<	help2man --no-discard-stderr -N --output=$@ ./$<if STARPU_USE_FXTstarpu_fxt_tool.1: starpu_fxt_tool$(EXEEXT)	help2man --no-discard-stderr -N --output=$@ ./$<starpu_fxt_stats.1: starpu_fxt_stats$(EXEEXT)	help2man --no-discard-stderr -N --output=$@ ./$<starpu_fxt_data_trace.1: starpu_fxt_data_trace$(EXEEXT)	help2man --no-discard-stderr -N --output=$@ ./$<endifdist_man1_MANS =\	starpu_calibrate_bus.1 \	starpu_machine_display.1 \	starpu_perfmodel_display.1 \	starpu_perfmodel_plot.1	\	starpu_lp2paje.1	\	starpu_workers_activity.1 \	starpu_codelet_profile.1 \	starpu_codelet_histo_profile.1 \	starpu_paje_draw_histogram.1 \	starpu_paje_state_stats.1if STARPU_USE_FXTdist_man1_MANS +=\	starpu_fxt_tool.1 \	starpu_fxt_stats.1 \	starpu_fxt_data_trace.1endifclean-local:	$(RM) $(dist_man1_MANS)endifshowcheck:	-cat $(TEST_LOGS) /dev/null
 |