# 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 = doxygen PDFLATEX = pdflatex MAKEINDEX = makeindex DOX_DIR = $(top_builddir)/doc/doxygen DOX_CONFIG = $(top_srcdir)/doc/doxygen/doxygen.cfg DOX_HTML_DIR = html DOX_LATEX_DIR = latex DOX_PDF = starpu.pdf DOX_TAG = starpu.tag chapters = \ 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/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/hello_pragma2.c \ chapters/hello_pragma.c \ chapters/vector_scal_c.c \ chapters/vector_scal_cpu.c \ chapters/vector_scal_cuda.cu \ chapters/vector_scal_opencl.c \ chapters/vector_scal_opencl_codelet.cl \ 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/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/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.doxy 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 ;\ done #chapters/version.html: $(chapters) EXTRA_DIST = \ $(chapters) \ chapters/version.sty \ doxygen.cfg \ refman.tex dox_inputs = $(DOX_CONFIG) \ $(chapters) \ chapters/version.sty \ $(top_srcdir)/include/starpu.h \ $(top_srcdir)/include/starpu_data_filters.h \ $(top_srcdir)/include/starpu_data_interfaces.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 $(DOX_TAG): $(dox_inputs) rm -fr $(DOX_HTML_DIR) $(DOX_LATEX_DIR) $(DOXYGEN) $(DOX_CONFIG) dist_pdf_DATA = $(DOX_PDF) $(DOX_PDF): $(DOX_TAG) refman.tex cp $(top_srcdir)/doc/doxygen/chapters/version.sty $(DOX_DIR) cd $(DOX_LATEX_DIR); \ rm -f *.aux *.toc *.idx *.ind *.ilg *.log *.out; \ sed -i -e 's/__env__/\\_Environment Variables!/' -e 's/\\-\\_\\-\\-\\_\\-env\\-\\_\\-\\-\\_\\-//' EnvironmentVariables.tex ;\ sed -i -e 's/__configure__/\\_Configure Options!/' -e 's/\\-\\_\\-\\-\\_\\-configure\\-\\_\\-\\-\\_\\-//' ConfigureOptions.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) showcheck: -cat /dev/null