Makefile.am 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. # StarPU --- Runtime system for heterogeneous multicore architectures.
  2. #
  3. # Copyright (C) 2009-2012 Université de Bordeaux 1
  4. # Copyright (C) 2010, 2011, 2012 Centre National de la Recherche Scientifique
  5. #
  6. # StarPU is free software; you can redistribute it and/or modify
  7. # it under the terms of the GNU Lesser General Public License as published by
  8. # the Free Software Foundation; either version 2.1 of the License, or (at
  9. # your option) any later version.
  10. #
  11. # StarPU is distributed in the hope that it will be useful, but
  12. # WITHOUT ANY WARRANTY; without even the implied warranty of
  13. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  14. #
  15. # See the GNU Lesser General Public License in COPYING.LGPL for more details.
  16. ACLOCAL_AMFLAGS=-I m4
  17. CLEANFILES = *.gcno *.gcda *.linkinfo
  18. SUBDIRS = src
  19. SUBDIRS += tools tests doc
  20. if USE_MPI
  21. SUBDIRS += mpi
  22. endif
  23. if BUILD_SOCL
  24. SUBDIRS += socl
  25. endif
  26. SUBDIRS += examples
  27. if BUILD_GCC_PLUGIN
  28. SUBDIRS += gcc-plugin
  29. endif
  30. if BUILD_STARPUFFT
  31. SUBDIRS += starpufft
  32. endif
  33. pkgconfigdir = $(libdir)/pkgconfig
  34. pkgconfig_DATA = libstarpu.pc starpu-1.0.pc
  35. versincludedir = $(includedir)/starpu/$(STARPU_EFFECTIVE_VERSION)
  36. versinclude_HEADERS = \
  37. include/starpu.h \
  38. include/starpu_data_filters.h \
  39. include/starpu_data_interfaces.h \
  40. include/starpu_task.h \
  41. include/starpu_task_bundle.h \
  42. include/starpu_task_list.h \
  43. include/starpu_data.h \
  44. include/starpu_perfmodel.h \
  45. include/starpu_util.h \
  46. include/starpu_fxt.h \
  47. include/starpu_cuda.h \
  48. include/starpu_opencl.h \
  49. include/starpu_expert.h \
  50. include/starpu_profiling.h \
  51. include/starpu_bound.h \
  52. include/starpu_scheduler.h \
  53. include/starpu_top.h \
  54. include/starpu_deprecated_api.h \
  55. include/starpu_hash.h \
  56. include/starpu_rand.h
  57. nodist_versinclude_HEADERS = \
  58. include/starpu_config.h
  59. noinst_HEADERS = \
  60. include/pthread_win32/pthread.h \
  61. include/pthread_win32/semaphore.h
  62. if BUILD_STARPU_TOP
  63. starpu-top/starpu_top$(EXEEXT): all-local
  64. all-local:
  65. cd starpu-top ; $(QMAKE) ; $(MAKE)
  66. clean-local:
  67. cd starpu-top ; $(QMAKE) ; $(MAKE) clean ; $(RM) Makefile
  68. $(RM) starpu_top.1 starpu-top/starpu_top
  69. # TODO: resources
  70. install-exec-local:
  71. $(MKDIR_P) $(DESTDIR)$(bindir)
  72. $(INSTALL_STRIP_PROGRAM) starpu-top/starpu_top $(DESTDIR)$(bindir)
  73. uninstall-local:
  74. $(RM) $(DESTDIR)$(bindir)/starpu_top
  75. $(RM) starpu-top/starpu_top
  76. $(RM) starpu-top/Makefile
  77. if STARPU_HAVE_HELP2MAN
  78. starpu_top.1: starpu-top/starpu_top$(EXEEXT)
  79. help2man --no-discard-stderr -N --output=$@ starpu-top/starpu_top$(EXEEXT)
  80. dist_man1_MANS =\
  81. starpu_top.1
  82. endif
  83. endif
  84. if STARPU_HAVE_WINDOWS
  85. txtdir = ${prefix}
  86. else
  87. txtdir = ${docdir}
  88. endif
  89. txt_DATA = AUTHORS COPYING.LGPL README
  90. EXTRA_DIST = AUTHORS COPYING.LGPL README STARPU-VERSION
  91. include starpu-top/extradist
  92. showcheck:
  93. for i in $(SUBDIRS) ; do \
  94. make -C $$i showcheck ; \
  95. done