Makefile.am 7.8 KB

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