Makefile.am 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. # StarPU --- Runtime system for heterogeneous multicore architectures.
  2. #
  3. # Copyright (C) 2009-2012 Université de Bordeaux
  4. # Copyright (C) 2010, 2011, 2012, 2013, 2014 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. CC=$(MPICC)
  17. CCLD=$(MPICC)
  18. BUILT_SOURCES =
  19. CLEANFILES = *.gcno *.gcda *.linkinfo
  20. AM_CFLAGS = -Wall $(STARPU_CUDA_CPPFLAGS) $(STARPU_OPENCL_CPPFLAGS) $(FXT_CFLAGS) $(MAGMA_CFLAGS) $(HWLOC_CFLAGS) $(GLOBAL_AM_CFLAGS)
  21. LIBS = $(top_builddir)/src/@LIBSTARPU_LINK@ @LIBS@ $(FXT_LIBS) $(MAGMA_LIBS)
  22. 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
  23. AM_LDFLAGS = $(STARPU_OPENCL_LDFLAGS) $(STARPU_CUDA_LDFLAGS)
  24. lib_LTLIBRARIES = libstarpumpi-@STARPU_EFFECTIVE_VERSION@.la
  25. libstarpumpi_@STARPU_EFFECTIVE_VERSION@_la_LIBADD = $(top_builddir)/src/libstarpu-@STARPU_EFFECTIVE_VERSION@.la
  26. libstarpumpi_@STARPU_EFFECTIVE_VERSION@_la_LDFLAGS = $(ldflags) -no-undefined \
  27. -version-info $(LIBSTARPUMPI_INTERFACE_CURRENT):$(LIBSTARPUMPI_INTERFACE_REVISION):$(LIBSTARPUMPI_INTERFACE_AGE) \
  28. $(MPICC_LDFLAGS) $(FXT_LDFLAGS)
  29. noinst_HEADERS = \
  30. starpu_mpi_private.h \
  31. starpu_mpi_fxt.h \
  32. starpu_mpi_stats.h \
  33. starpu_mpi_task_insert.h \
  34. starpu_mpi_datatype.h \
  35. starpu_mpi_cache.h \
  36. starpu_mpi_cache_stats.h \
  37. starpu_mpi_early_data.h \
  38. starpu_mpi_early_request.h
  39. libstarpumpi_@STARPU_EFFECTIVE_VERSION@_la_SOURCES = \
  40. starpu_mpi.c \
  41. starpu_mpi_helper.c \
  42. starpu_mpi_datatype.c \
  43. starpu_mpi_task_insert.c \
  44. starpu_mpi_collective.c \
  45. starpu_mpi_stats.c \
  46. starpu_mpi_private.c \
  47. starpu_mpi_cache.c \
  48. starpu_mpi_cache_stats.c \
  49. starpu_mpi_early_data.c \
  50. starpu_mpi_early_request.c
  51. showcheck:
  52. -cat /dev/null