Makefile.am 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. # StarPU --- Runtime system for heterogeneous multicore architectures.
  2. #
  3. # Copyright (C) 2009-2020 Université de Bordeaux, CNRS (LaBRI UMR 5800), Inria
  4. # Copyright (C) 2013 Joris Pablo
  5. # Copyright (C) 2013 Thibaut Lambert
  6. # Copyright (C) 2017 Erwan Leria
  7. #
  8. # StarPU is free software; you can redistribute it and/or modify
  9. # it under the terms of the GNU Lesser General Public License as published by
  10. # the Free Software Foundation; either version 2.1 of the License, or (at
  11. # your option) any later version.
  12. #
  13. # StarPU is distributed in the hope that it will be useful, but
  14. # WITHOUT ANY WARRANTY; without even the implied warranty of
  15. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  16. #
  17. # See the GNU Lesser General Public License in COPYING.LGPL for more details.
  18. #
  19. include $(top_srcdir)/starpu-notests.mk
  20. SUBDIRS =
  21. AM_CFLAGS = $(HWLOC_CFLAGS) $(STARPU_CUDA_CPPFLAGS) $(STARPU_OPENCL_CPPFLAGS) $(STARPU_COI_CPPFLAGS) $(GLOBAL_AM_CFLAGS)
  22. AM_CPPFLAGS = -I$(top_srcdir)/include/ -I$(top_srcdir)/tools/ -I$(top_srcdir)/mpi/ -I$(top_srcdir)/mpi/include -I$(top_builddir)/src -I$(top_srcdir)/src -DSTARPU_REPLAY_MPI
  23. AM_LDFLAGS = @STARPU_EXPORT_DYNAMIC@
  24. LIBS += $(top_builddir)/src/@LIBSTARPU_LINK@ $(top_builddir)/mpi/src/libstarpumpi-@STARPU_EFFECTIVE_VERSION@.la $(FXT_LIBS)
  25. LIBS += $(STARPU_COI_LDFLAGS) $(STARPU_SCIF_LDFLAGS)
  26. CC=$(CC_OR_MPICC)
  27. CCLD=$(CC_OR_MPICC)
  28. starpu_replay.c starpu_replay_sched.c:
  29. $(V_ln) $(LN_S) $(top_srcdir)/tools/$(notdir $@) $@
  30. if STARPU_SIMGRID
  31. bin_PROGRAMS = starpu_replay_mpi
  32. starpu_replay_mpi_SOURCES = \
  33. starpu_replay.c \
  34. starpu_replay_sched.c
  35. endif