Makefile.am 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. # StarPU --- Runtime system for heterogeneous multicore architectures.
  2. #
  3. # Copyright (C) 2009-2021 Université de Bordeaux, CNRS (LaBRI UMR 5800), Inria
  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. #
  16. include $(top_srcdir)/starpu-notests.mk
  17. CC=$(MPICC)
  18. CCLD=$(MPICC)
  19. BUILT_SOURCES =
  20. SUBDIRS =
  21. CLEANFILES = *.gcno *.gcda *.linkinfo
  22. AM_CFLAGS += $(FXT_CFLAGS) $(NMAD_CFLAGS)
  23. AM_CPPFLAGS = -I$(top_srcdir)/include/ -I$(top_srcdir)/src/ -I$(top_builddir)/src -I$(top_builddir)/include -I$(top_srcdir)/mpi/include -I$(top_srcdir)/mpi/src $(STARPU_H_CPPFLAGS)
  24. LIBS += $(top_builddir)/src/@LIBSTARPU_LINK@ $(STARPU_EXPORTED_LIBS)
  25. LIBS += $(FXT_LDFLAGS) $(FXT_LIBS)
  26. LIBS += $(NMAD_LDFLAGS) $(NMAD_LIBS)
  27. LIBS += $(MPICC_LDFLAGS)
  28. ldflags =
  29. if STARPU_HAVE_WINDOWS
  30. LC_MESSAGES=C
  31. export LC_MESSAGES
  32. ldflags += -Xlinker --output-def -Xlinker .libs/libstarpumpi-@STARPU_EFFECTIVE_VERSION@.def
  33. if STARPU_HAVE_MS_LIB
  34. .libs/libstarpumpi-@STARPU_EFFECTIVE_VERSION@.lib: libstarpumpi-@STARPU_EFFECTIVE_VERSION@.la dolib
  35. ./dolib "$(STARPU_MS_LIB)" $(STARPU_MS_LIB_ARCH) .libs/libstarpumpi-@STARPU_EFFECTIVE_VERSION@.def @STARPU_EFFECTIVE_VERSION@ $(libstarpumpi_so_version) .libs/libstarpumpi-@STARPU_EFFECTIVE_VERSION@.lib
  36. all-local: .libs/libstarpumpi-@STARPU_EFFECTIVE_VERSION@.lib
  37. endif STARPU_HAVE_MS_LIB
  38. install-exec-hook:
  39. $(INSTALL) .libs/libstarpumpi-@STARPU_EFFECTIVE_VERSION@.def $(DESTDIR)$(libdir)
  40. if STARPU_HAVE_MS_LIB
  41. $(INSTALL) .libs/libstarpumpi-@STARPU_EFFECTIVE_VERSION@.lib $(DESTDIR)$(libdir)
  42. $(INSTALL) .libs/libstarpumpi-@STARPU_EFFECTIVE_VERSION@.exp $(DESTDIR)$(libdir)
  43. endif STARPU_HAVE_MS_LIB
  44. endif STARPU_HAVE_WINDOWS
  45. lib_LTLIBRARIES = libstarpumpi-@STARPU_EFFECTIVE_VERSION@.la
  46. libstarpumpi_@STARPU_EFFECTIVE_VERSION@_la_LDFLAGS = $(ldflags) -no-undefined \
  47. -version-info $(LIBSTARPUMPI_INTERFACE_CURRENT):$(LIBSTARPUMPI_INTERFACE_REVISION):$(LIBSTARPUMPI_INTERFACE_AGE)
  48. noinst_HEADERS = \
  49. starpu_mpi_private.h \
  50. starpu_mpi_fxt.h \
  51. starpu_mpi_stats.h \
  52. starpu_mpi_datatype.h \
  53. starpu_mpi_cache.h \
  54. starpu_mpi_select_node.h \
  55. starpu_mpi_cache_stats.h \
  56. starpu_mpi_task_insert.h \
  57. starpu_mpi_init.h \
  58. mpi/starpu_mpi_mpi.h \
  59. mpi/starpu_mpi_early_data.h \
  60. mpi/starpu_mpi_early_request.h \
  61. mpi/starpu_mpi_sync_data.h \
  62. mpi/starpu_mpi_comm.h \
  63. mpi/starpu_mpi_tag.h \
  64. mpi/starpu_mpi_driver.h \
  65. mpi/starpu_mpi_mpi_backend.h \
  66. nmad/starpu_mpi_nmad_backend.h \
  67. nmad/starpu_mpi_nmad_unknown_datatype.h \
  68. nmad/starpu_mpi_nmad.h \
  69. load_balancer/policy/data_movements_interface.h \
  70. load_balancer/policy/load_data_interface.h \
  71. load_balancer/policy/load_balancer_policy.h
  72. libstarpumpi_@STARPU_EFFECTIVE_VERSION@_la_SOURCES = \
  73. starpu_mpi.c \
  74. starpu_mpi_req.c \
  75. starpu_mpi_coop_sends.c \
  76. starpu_mpi_helper.c \
  77. starpu_mpi_datatype.c \
  78. starpu_mpi_task_insert.c \
  79. starpu_mpi_collective.c \
  80. starpu_mpi_stats.c \
  81. starpu_mpi_private.c \
  82. starpu_mpi_cache.c \
  83. starpu_mpi_select_node.c \
  84. starpu_mpi_cache_stats.c \
  85. starpu_mpi_fortran.c \
  86. starpu_mpi_task_insert_fortran.c \
  87. starpu_mpi_init.c \
  88. nmad/starpu_mpi_nmad_unknown_datatype.c \
  89. nmad/starpu_mpi_nmad.c \
  90. nmad/starpu_mpi_nmad_backend.c \
  91. mpi/starpu_mpi_mpi.c \
  92. mpi/starpu_mpi_mpi_backend.c \
  93. mpi/starpu_mpi_early_data.c \
  94. mpi/starpu_mpi_early_request.c \
  95. mpi/starpu_mpi_sync_data.c \
  96. mpi/starpu_mpi_comm.c \
  97. mpi/starpu_mpi_tag.c \
  98. load_balancer/policy/data_movements_interface.c \
  99. load_balancer/policy/load_data_interface.c \
  100. load_balancer/policy/load_heat_propagation.c \
  101. load_balancer/load_balancer.c