| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229 | # StarPU --- Runtime system for heterogeneous multicore architectures.## Copyright (C) 2009, 2011  Université de Bordeaux 1# Copyright (C) 2010, 2011, 2012, 2013  Centre National de la Recherche Scientifique## Permission is granted to copy, distribute and/or modify this document# under the terms of the GNU Free Documentation License, Version 1.3# or any later version published by the Free Software Foundation;# with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.## See the GNU Free Documentation License in COPYING.GFDL for more details.DOXYGEN = doxygenPDFLATEX = pdflatexMAKEINDEX = makeindexDOX_DIR = $(top_builddir)/doc/doxygenDOX_CONFIG = $(top_srcdir)/doc/doxygen/doxygen.cfgDOX_HTML_DIR = htmlDOX_LATEX_DIR = latexDOX_PDF = starpu.pdfDOX_TAG = starpu.tagchapters =	\	chapters/advanced_examples.doxy \	chapters/basic_examples.doxy \	chapters/building.doxy \	chapters/c_extensions.doxy \	chapters/fft_support.doxy \	chapters/introduction.doxy \	chapters/mpi_support.doxy \	chapters/optimize_performance.doxy \	chapters/performance_feedback.doxy \	chapters/scheduling_context_hypervisor.doxy \	chapters/scheduling_contexts.doxy \	chapters/out_of_core.doxy \	chapters/socl_opencl_extensions.doxy \	chapters/tips_and_tricks.doxy \	chapters/environment_variables.doxy \	chapters/configure_options.doxy \	chapters/fdl-1.3.doxy \	chapters/scaling-vector-example.doxy \	chapters/mic_scc_support.doxy \	chapters/files.doxy \	chapters/code/hello_pragma2.c \	chapters/code/hello_pragma.c \	chapters/code/scal_pragma.cu \	chapters/code/matmul_pragma.c \	chapters/code/matmul_pragma2.c \	chapters/code/cholesky_pragma.c \	chapters/code/forkmode.c \	chapters/code/multiformat.c \	chapters/code/complex.c \	chapters/code/simgrid.c \	chapters/code/vector_scal_c.c \	chapters/code/vector_scal_cpu.c \	chapters/code/vector_scal_cuda.cu \	chapters/code/vector_scal_opencl.c \	chapters/code/vector_scal_opencl_codelet.cl \	chapters/code/disk_copy.c \	chapters/api/codelet_and_tasks.doxy \	chapters/api/cuda_extensions.doxy \	chapters/api/data_interfaces.doxy \	chapters/api/data_management.doxy \	chapters/api/data_partition.doxy \	chapters/api/data_out_of_core.doxy \	chapters/api/expert_mode.doxy \	chapters/api/explicit_dependencies.doxy \	chapters/api/fft_support.doxy \	chapters/api/fxt_support.doxy \	chapters/api/implicit_dependencies.doxy \	chapters/api/initialization.doxy \	chapters/api/insert_task.doxy \	chapters/api/lower_bound.doxy \	chapters/api/misc_helpers.doxy \	chapters/api/mpi.doxy \	chapters/api/multiformat_data_interface.doxy \	chapters/api/opencl_extensions.doxy \	chapters/api/mic_extensions.doxy \	chapters/api/scc_extensions.doxy \	chapters/api/parallel_tasks.doxy \	chapters/api/performance_model.doxy \	chapters/api/profiling.doxy \	chapters/api/running_driver.doxy \	chapters/api/scheduling_context_hypervisor.doxy \	chapters/api/scheduling_contexts.doxy \	chapters/api/scheduling_policy.doxy \	chapters/api/standard_memory_library.doxy \	chapters/api/task_bundles.doxy \	chapters/api/task_lists.doxy \	chapters/api/top.doxy \	chapters/api/versioning.doxy \	chapters/api/workers.doxystarpu_config.h: $(top_srcdir)/include/starpu_config.h.in	sed 's/#undef \(.*\)/#define \1 1/' $< > $@chapters/version.sty: $(chapters)	@-for f in $(chapters) ; do \                if test -f $(top_srcdir)/doc/doxygen/$$f ; then stat --format=%Y $(top_srcdir)/doc/doxygen/$$f 2>/dev/null ; fi \        done | sort -r | head -1 > timestamp	@if test -s timestamp ; then \		LC_ALL=C date --date=@`cat timestamp` +"%d %B %Y" > timestamp_updated 2>/dev/null;\		LC_ALL=C date --date=@`cat timestamp` +"%B %Y" > timestamp_updated_month 2>/dev/null;\	fi	@if test -s timestamp_updated ; then \		echo "\newcommand{\STARPUUPDATED}{"`cat timestamp_updated`"}" > $(top_srcdir)/doc/doxygen/chapters/version.sty;\	else \		echo "\newcommand{\STARPUUPDATED}{unknown_date}" > $(top_srcdir)/doc/doxygen/chapters/version.sty;\	fi	@echo "\newcommand{\STARPUVERSION}{$(VERSION)}" >> $(top_srcdir)/doc/doxygen/chapters/version.sty	@-for f in timestamp timestamp_updated timestamp_updated_month ; do \		if test -f $$f ; then $(RM) $$f ; fi ;\	donechapters/version.html: $(chapters)	@-for f in $(chapters) ; do \                if test -f $(top_srcdir)/doc/doxygen/$$f ; then stat --format=%Y $(top_srcdir)/doc/doxygen/$$f 2>/dev/null ; fi \        done | sort -r | head -1 > timestamp	@if test -s timestamp ; then \		LC_ALL=C date --date=@`cat timestamp` +"%d %B %Y" > timestamp_updated 2>/dev/null;\		LC_ALL=C date --date=@`cat timestamp` +"%B %Y" > timestamp_updated_month 2>/dev/null;\	fi	@echo "This manual documents the usage of StarPU version $(VERSION)." > $(top_srcdir)/doc/doxygen/chapters/version.html	@if test -s timestamp_updated ; then \		echo "Its contents was last updated on "`cat timestamp_updated`"." >> $(top_srcdir)/doc/doxygen/chapters/version.html;\	else \		echo "Its contents was last updated on <em>unknown_date</em>." >> $(top_srcdir)/doc/doxygen/chapters/version.html;\	fi	@-for f in timestamp timestamp_updated timestamp_updated_month ; do \		if test -f $$f ; then $(RM) $$f ; fi ;\	doneEXTRA_DIST	= 		\	$(chapters) 		\	chapters/version.sty	\	chapters/version.html	\	doxygen.cfg 		\	refman.texdox_inputs = $(DOX_CONFIG) 				\	$(chapters) 					\	starpu_config.h					\	chapters/version.sty				\	chapters/version.html				\	$(top_srcdir)/include/starpu.h			\	$(top_srcdir)/include/starpu_data_filters.h	\	$(top_srcdir)/include/starpu_data_interfaces.h	\	$(top_srcdir)/include/starpu_disk.h		\	$(top_srcdir)/include/starpu_worker.h		\	$(top_srcdir)/include/starpu_task.h		\	$(top_srcdir)/include/starpu_task_bundle.h	\	$(top_srcdir)/include/starpu_task_list.h	\	$(top_srcdir)/include/starpu_task_util.h	\	$(top_srcdir)/include/starpu_data.h		\	$(top_srcdir)/include/starpu_perfmodel.h	\	$(top_srcdir)/include/starpu_util.h		\	$(top_srcdir)/include/starpu_fxt.h		\	$(top_srcdir)/include/starpu_cuda.h		\	$(top_srcdir)/include/starpu_opencl.h		\	$(top_srcdir)/include/starpu_sink.h		\	$(top_srcdir)/include/starpu_mic.h		\	$(top_srcdir)/include/starpu_scc.h		\	$(top_srcdir)/include/starpu_expert.h		\	$(top_srcdir)/include/starpu_profiling.h	\	$(top_srcdir)/include/starpu_bound.h		\	$(top_srcdir)/include/starpu_scheduler.h	\	$(top_srcdir)/include/starpu_sched_ctx.h	\	$(top_srcdir)/include/starpu_top.h		\	$(top_srcdir)/include/starpu_hash.h		\	$(top_srcdir)/include/starpu_rand.h		\	$(top_srcdir)/include/starpu_cublas.h		\	$(top_srcdir)/include/starpu_driver.h		\	$(top_srcdir)/include/starpu_stdlib.h		\	$(top_srcdir)/include/starpu_thread.h		\	$(top_srcdir)/include/starpu_thread_util.h	\	$(top_srcdir)/mpi/include/starpu_mpi.h 		\	$(top_srcdir)/sc_hypervisor/include/sc_hypervisor.h 		\	$(top_srcdir)/sc_hypervisor/include/sc_hypervisor_config.h 	\	$(top_srcdir)/sc_hypervisor/include/sc_hypervisor_lp.h		\	$(top_srcdir)/sc_hypervisor/include/sc_hypervisor_monitoring.h	\	$(top_srcdir)/sc_hypervisor/include/sc_hypervisor_policy.h$(DOX_TAG): $(dox_inputs)	rm -fr $(DOX_HTML_DIR) $(DOX_LATEX_DIR)	$(DOXYGEN) $(DOX_CONFIG)	sed -i 's/ModuleDocumentation <\/li>/<a class="el" href="modules.html">Modules<\/a>/' html/index.html	sed -i 's/FileDocumentation <\/li>/<a class="el" href="files.html">Files<\/a>/' html/index.htmldist_pdf_DATA = $(DOX_PDF)$(DOX_PDF): $(DOX_TAG) refman.tex	cp $(top_srcdir)/doc/doxygen/chapters/version.sty $(DOX_LATEX_DIR)	cd $(DOX_LATEX_DIR); \	rm -f *.aux *.toc *.idx *.ind *.ilg *.log *.out; \	sed -i -e 's/__env__/\\_Environment Variables!/' -e 's/\\-\\_\\-\\-\\_\\-env\\-\\_\\-\\-\\_\\-//' ExecutionConfigurationThroughEnvironmentVariables.tex ;\	sed -i -e 's/__configure__/\\_Configure Options!/' -e 's/\\-\\_\\-\\-\\_\\-configure\\-\\_\\-\\-\\_\\-//' CompilationConfiguration.tex ;\	sed -i s'/\\item Module\\-Documentation/\\item \\hyperlink{ModuleDocumentation}{Module Documentation}/' index.tex ;\	sed -i s'/\\item File\\-Documentation/\\item \\hyperlink{FileDocumentation}{File Documentation}/' index.tex ;\	$(PDFLATEX) refman.tex; \	$(MAKEINDEX) refman.idx;\	$(PDFLATEX) refman.tex; \	done=0; repeat=5; \	while test $$done = 0 -a $$repeat -gt 0; do \           if $(EGREP) 'Rerun (LaTeX|to get cross-references right)' refman.log > /dev/null 2>&1; then \	       $(PDFLATEX) refman.tex; \	       repeat=`expr $$repeat - 1`; \	   else \	       done=1; \	   fi; \	done; \	mv refman.pdf ../$(DOX_PDF)CLEANFILES = $(DOX_TAG) starpu_config.h \    -r \    $(DOX_HTML_DIR) \    $(DOX_LATEX_DIR) \    $(DOX_PDF)# Rule to update documentation on web server. Should only be used locally.PUBLISHHOST	?= syncupdate-web: $(DOX_PDF)	scp -pr starpu.pdf html $(PUBLISHHOST):/web/runtime/html/StarPU/docshowcheck:	-cat /dev/null
 |