Makefile.am 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. # StarPU --- Runtime system for heterogeneous multicore architectures.
  2. #
  3. # Copyright (C) 2011, 2012 Institut National de Recherche en Informatique et Automatique
  4. #
  5. # StarPU is free software; you can redistribute it and/or modify
  6. # it under the terms of the GNU Lesser General Public License as published by
  7. # the Free Software Foundation; either version 2.1 of the License, or (at
  8. # your option) any later version.
  9. #
  10. # StarPU is distributed in the hope that it will be useful, but
  11. # WITHOUT ANY WARRANTY; without even the implied warranty of
  12. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  13. #
  14. # See the GNU Lesser General Public License in COPYING.LGPL for more details.
  15. SUBDIRS = src tests
  16. if BUILD_EXAMPLES
  17. SUBDIRS += examples
  18. endif
  19. EXTRA_DIST = \
  20. COPYING \
  21. README \
  22. ChangeLog
  23. noinst_HEADERS = \
  24. include/starpu-gcc/opencl.h \
  25. include/starpu-gcc/tasks.h \
  26. include/starpu-gcc/utils.h \
  27. include/starpu-gcc/warn-unregistered.h
  28. showcheck:
  29. for i in $(SUBDIRS) ; do \
  30. make -C $$i showcheck ; \
  31. done
  32. # Generate a GNU-style ChangeLog for inclusion in the tarball.
  33. # It requires network access and may be slow.
  34. gen-ChangeLog:
  35. if test "x$$CHANGELOG" = "xno"; then \
  36. echo "ChangeLog not built, per user request" >&2; \
  37. elif ! xsltproc --version > /dev/null 2>&1; then \
  38. echo "xsltproc not found, ChangeLog not generated" >&2; \
  39. elif ! test -d "$(srcdir)/.svn"; then \
  40. echo "Subversion meta-data not found, ChangeLog not generated" >&2; \
  41. elif ! svn --version > /dev/null 2>&1; then \
  42. echo "Subversion not found, ChangeLog not generated" >&2; \
  43. else \
  44. ( cd "$(srcdir)"; \
  45. svn log --xml --verbose ) | \
  46. xsltproc "$(top_srcdir)/build-aux/svn2cl.xsl" - > "ChangeLog.tmp"; \
  47. mv "ChangeLog.tmp" "$(distdir)/ChangeLog"; \
  48. fi
  49. dist-hook: gen-ChangeLog
  50. .PHONY: showcheck dist-hook gen-ChangeLog