Makefile.am 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215
  1. # StarPU --- Runtime system for heterogeneous multicore architectures.
  2. #
  3. # Copyright (C) 2009, 2010, 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. SUBDIRS =
  17. CLEANFILES = *.gcno *.gcda *.linkinfo
  18. EXTRA_DIST = dolib.c
  19. ldflags =
  20. if STARPU_HAVE_WINDOWS
  21. LC_MESSAGES=C
  22. export LC_MESSAGES
  23. ldflags += -Xlinker --output-def -Xlinker .libs/libstarpu.def
  24. if STARPU_HAVE_MS_LIB
  25. .libs/libstarpu.lib: libstarpu.la dolib
  26. ./dolib "$(STARPU_MS_LIB)" X86 .libs/libstarpu.def libstarpu-0 .libs/libstarpu.lib
  27. all-local: .libs/libstarpu.lib
  28. endif STARPU_HAVE_MS_LIB
  29. install-exec-hook:
  30. $(INSTALL) .libs/libstarpu.def $(DESTDIR)$(libdir)
  31. if STARPU_HAVE_MS_LIB
  32. $(INSTALL) .libs/libstarpu.lib $(DESTDIR)$(libdir)
  33. $(INSTALL) .libs/libstarpu.exp $(DESTDIR)$(libdir)
  34. endif STARPU_HAVE_MS_LIB
  35. endif STARPU_HAVE_WINDOWS
  36. lib_LTLIBRARIES = libstarpu.la
  37. libstarpu_la_CPPFLAGS = -I$(top_srcdir)/include/
  38. libstarpu_la_CFLAGS = -W -Wall -Wextra $(HWLOC_CFLAGS)
  39. libstarpu_la_LIBADD = -lm $(HWLOC_LIBS)
  40. libstarpu_la_LDFLAGS = $(ldflags) -version-number 0:0:0 -no-undefined
  41. noinst_HEADERS = \
  42. core/dependencies/data_concurrency.h \
  43. core/dependencies/cg.h \
  44. core/dependencies/tags.h \
  45. core/dependencies/htable.h \
  46. core/dependencies/implicit_data_deps.h \
  47. core/sched_policy.h \
  48. core/perfmodel/perfmodel.h \
  49. core/perfmodel/regression.h \
  50. core/jobs.h \
  51. core/task.h \
  52. core/workers.h \
  53. core/topology.h \
  54. core/debug.h \
  55. core/errorcheck.h \
  56. sched_policies/fifo_queues.h \
  57. sched_policies/deque_queues.h \
  58. sched_policies/stack_queues.h \
  59. datawizard/footprint.h \
  60. datawizard/datawizard.h \
  61. datawizard/data_request.h \
  62. datawizard/filters.h \
  63. datawizard/write_back.h \
  64. datawizard/datastats.h \
  65. datawizard/memalloc.h \
  66. datawizard/copy_driver.h \
  67. datawizard/coherency.h \
  68. datawizard/sort_data_handles.h \
  69. datawizard/memory_nodes.h \
  70. datawizard/interfaces/data_interface.h \
  71. common/barrier.h \
  72. common/hash.h \
  73. common/timing.h \
  74. common/htable32.h \
  75. common/list.h \
  76. common/rwlock.h \
  77. common/starpu_spinlock.h \
  78. common/fxt.h \
  79. common/utils.h \
  80. common/barrier.h \
  81. drivers/driver_common/driver_common.h \
  82. drivers/cpu/driver_cpu.h \
  83. drivers/gordon/driver_gordon.h \
  84. drivers/gordon/gordon_interface.h \
  85. drivers/cuda/driver_cuda.h \
  86. drivers/opencl/driver_opencl.h \
  87. drivers/opencl/driver_opencl_utils.h \
  88. debug/starpu_debug_helpers.h \
  89. debug/traces/starpu_fxt.h \
  90. profiling/bound.h \
  91. profiling/profiling.h \
  92. util/starpu_insert_task_utils.h \
  93. starpu_parameters.h
  94. libstarpu_la_SOURCES = \
  95. common/barrier.c \
  96. common/hash.c \
  97. common/htable32.c \
  98. common/rwlock.c \
  99. common/starpu_spinlock.c \
  100. common/timing.c \
  101. common/fxt.c \
  102. common/utils.c \
  103. core/jobs.c \
  104. core/task.c \
  105. core/task_bundle.c \
  106. core/workers.c \
  107. core/combined_workers.c \
  108. core/topology.c \
  109. core/debug.c \
  110. core/errorcheck.c \
  111. core/progress_hook.c \
  112. core/dependencies/cg.c \
  113. core/dependencies/dependencies.c \
  114. core/dependencies/implicit_data_deps.c \
  115. core/dependencies/tags.c \
  116. core/dependencies/task_deps.c \
  117. core/dependencies/htable.c \
  118. core/dependencies/data_concurrency.c \
  119. core/perfmodel/perfmodel_history.c \
  120. core/perfmodel/perfmodel_bus.c \
  121. core/perfmodel/perfmodel.c \
  122. core/perfmodel/regression.c \
  123. core/sched_policy.c \
  124. core/priorities.c \
  125. core/parallel_task.c \
  126. sched_policies/eager_central_policy.c \
  127. sched_policies/eager_central_priority_policy.c \
  128. sched_policies/work_stealing_policy.c \
  129. sched_policies/deque_modeling_policy_data_aware.c \
  130. sched_policies/heft.c \
  131. sched_policies/random_policy.c \
  132. sched_policies/stack_queues.c \
  133. sched_policies/deque_queues.c \
  134. sched_policies/fifo_queues.c \
  135. sched_policies/detect_combined_workers.c \
  136. sched_policies/parallel_heft.c \
  137. sched_policies/parallel_greedy.c \
  138. drivers/driver_common/driver_common.c \
  139. datawizard/memory_nodes.c \
  140. datawizard/write_back.c \
  141. datawizard/coherency.c \
  142. datawizard/data_request.c \
  143. datawizard/progress.c \
  144. datawizard/copy_driver.c \
  145. datawizard/filters.c \
  146. datawizard/sort_data_handles.c \
  147. datawizard/memalloc.c \
  148. datawizard/footprint.c \
  149. datawizard/datastats.c \
  150. datawizard/user_interactions.c \
  151. datawizard/reduction.c \
  152. datawizard/interfaces/data_interface.c \
  153. datawizard/interfaces/bcsr_interface.c \
  154. datawizard/interfaces/csr_interface.c \
  155. datawizard/interfaces/matrix_filters.c \
  156. datawizard/interfaces/matrix_interface.c \
  157. datawizard/interfaces/block_filters.c \
  158. datawizard/interfaces/block_interface.c \
  159. datawizard/interfaces/vector_interface.c \
  160. datawizard/interfaces/bcsr_filters.c \
  161. datawizard/interfaces/csr_filters.c \
  162. datawizard/interfaces/vector_filters.c \
  163. datawizard/interfaces/variable_interface.c \
  164. datawizard/interfaces/void_interface.c \
  165. util/malloc.c \
  166. util/execute_on_all.c \
  167. util/starpu_create_sync_task.c \
  168. util/starpu_cublas.c \
  169. util/file.c \
  170. util/starpu_data_cpy.c \
  171. util/starpu_insert_task.c \
  172. util/starpu_insert_task_utils.c \
  173. util/starpu_task_list.c \
  174. debug/traces/starpu_fxt.c \
  175. debug/traces/starpu_fxt_mpi.c \
  176. debug/traces/starpu_fxt_dag.c \
  177. debug/traces/starpu_paje.c \
  178. debug/latency.c \
  179. debug/structures_size.c \
  180. profiling/profiling.c \
  181. profiling/bound.c \
  182. profiling/profiling_helpers.c
  183. if STARPU_USE_CPU
  184. libstarpu_la_SOURCES += drivers/cpu/driver_cpu.c
  185. endif
  186. if STARPU_USE_CUDA
  187. libstarpu_la_SOURCES += drivers/cuda/driver_cuda.c
  188. endif
  189. if STARPU_USE_GORDON
  190. libstarpu_la_SOURCES += drivers/gordon/driver_gordon.c
  191. endif
  192. if STARPU_USE_OPENCL
  193. libstarpu_la_SOURCES += drivers/opencl/driver_opencl.c
  194. libstarpu_la_SOURCES += drivers/opencl/driver_opencl_utils.c
  195. endif