Makefile.am 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. # StarPU --- Runtime system for heterogeneous multicore architectures.
  2. #
  3. # Copyright (C) 2017-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.mk
  17. SUBDIRS =
  18. CLEANFILES = *.gcno *.gcda *.linkinfo
  19. AM_CFLAGS += $(DLB_CFLAGS)
  20. AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/src -I$(top_builddir)/src -I$(top_builddir)/include
  21. AM_CPPFLAGS += -I$(top_srcdir)/starpurm/include -I$(top_srcdir)/starpurm/src -I$(top_builddir)/starpurm/src -I$(top_builddir)/starpurm/include $(STARPU_H_CPPFLAGS)
  22. AM_LDFLAGS = @STARPU_EXPORT_DYNAMIC@
  23. LIBS += $(top_builddir)/starpurm/src/libstarpurm-@STARPU_EFFECTIVE_VERSION@.la $(top_builddir)/src/@LIBSTARPU_LINK@ $(STARPU_EXPORTED_LIBS)
  24. LIBS += $(HWLOC_LIBS) $(DLB_LIBS)
  25. examplebindir = $(libdir)/starpu/examples/starpurm
  26. examplebin_PROGRAMS =
  27. examplebin_PROGRAMS += 01_init_exit
  28. examplebin_PROGRAMS += 02_list_units
  29. examplebin_PROGRAMS += 03_cpusets
  30. examplebin_PROGRAMS += 04_drs_enable
  31. examplebin_PROGRAMS += 05_vector_scale
  32. examplebin_PROGRAMS += 06_spawn
  33. examplebin_PROGRAMS += 07_async_spawn
  34. 01_init_exit_SOURCES = 01_init_exit.c
  35. 02_list_units_SOURCES = 02_list_units.c
  36. 03_cpusets_SOURCES = 03_cpusets.c
  37. 04_drs_enable_SOURCES = 04_drs_enable.c
  38. 05_vector_scale_SOURCES = 05_vector_scale.c
  39. 06_spawn_SOURCES = 06_spawn.c
  40. 07_async_spawn_SOURCES = 07_async_spawn.c