Makefile.am 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. # StarPU --- Runtime system for heterogeneous multicore architectures.
  2. #
  3. # Copyright (C) 2009-2011 Université de Bordeaux 1
  4. # Copyright (C) 2010, 2011 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 COND_OPT
  28. SUBDIRS += tests/opt examples/opt
  29. endif
  30. if BUILD_GCC_PLUGIN
  31. SUBDIRS += gcc-plugin
  32. endif
  33. pkgconfigdir = $(libdir)/pkgconfig
  34. pkgconfig_DATA = libstarpu.pc
  35. if USE_MPI
  36. pkgconfig_DATA += libstarpumpi.pc
  37. endif
  38. versincludedir = $(includedir)/$(STARPU_EFFECTIVE_VERSION)
  39. versinclude_HEADERS = \
  40. include/starpu.h \
  41. include/starpu_data_filters.h \
  42. include/starpu_data_interfaces.h \
  43. include/starpu_task.h \
  44. include/starpu_task_bundle.h \
  45. include/starpu_task_list.h \
  46. include/starpu_data.h \
  47. include/starpu_perfmodel.h \
  48. include/starpu_util.h \
  49. include/starpu_cuda.h \
  50. include/starpu_opencl.h \
  51. include/starpu_expert.h \
  52. include/starpu_profiling.h \
  53. include/starpu_bound.h \
  54. include/starpu_scheduler.h \
  55. include/starpu_top.h \
  56. include/starpu_deprecated_api.h
  57. nodist_versinclude_HEADERS = \
  58. include/starpu_config.h
  59. if BUILD_STARPU_TOP
  60. all-local:
  61. cd starpu-top ; $(QMAKE) ; $(MAKE)
  62. clean-local:
  63. cd starpu-top ; $(QMAKE) ; $(MAKE) clean ; $(RM) Makefile
  64. # TODO: resources
  65. install-exec-local:
  66. $(MKDIR_P) $(DESTDIR)$(bindir)
  67. $(INSTALL_STRIP_PROGRAM) starpu-top/StarPU-Top $(DESTDIR)$(bindir)
  68. uninstall-local:
  69. $(RM) $(DESTDIR)$(bindir)/StarPU-Top
  70. $(RM) starpu-top/StarPU-Top
  71. $(RM) starpu-top/Makefile
  72. endif
  73. if STARPU_HAVE_WINDOWS
  74. txtdir = ${prefix}
  75. else
  76. txtdir = ${docdir}
  77. endif
  78. txt_DATA = AUTHORS COPYING.LGPL README
  79. EXTRA_DIST = AUTHORS COPYING.LGPL README STARPU-VERSION
  80. include starpu-top/extradist