Makefile.am 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. # StarPU --- Runtime system for heterogeneous multicore architectures.
  2. #
  3. # Copyright (C) 2017-2020 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_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/src -I$(top_builddir)/src -I$(top_builddir)/include
  20. AM_CPPFLAGS += -I$(top_srcdir)/starpurm/include -I$(top_srcdir)/starpurm/src -I$(top_builddir)/starpurm/src -I$(top_builddir)/starpurm/include
  21. AM_CFLAGS = -Wall -g $(HWLOC_CFLAGS) $(DLB_CFLAGS) $(GLOBAL_AM_CFLAGS)
  22. LIBS += $(top_builddir)/starpurm/src/libstarpurm-@STARPU_EFFECTIVE_VERSION@.la $(top_builddir)/src/@LIBSTARPU_LINK@ $(HWLOC_LIBS) $(DLB_LIBS)
  23. examplebindir = $(libdir)/starpu/examples/starpurm
  24. examplebin_PROGRAMS =
  25. examplebin_PROGRAMS += 01_init_exit
  26. examplebin_PROGRAMS += 02_list_units
  27. examplebin_PROGRAMS += 03_cpusets
  28. examplebin_PROGRAMS += 04_drs_enable
  29. examplebin_PROGRAMS += 05_vector_scale
  30. examplebin_PROGRAMS += 06_spawn
  31. examplebin_PROGRAMS += 07_async_spawn
  32. 01_init_exit_SOURCES = 01_init_exit.c
  33. 02_list_units_SOURCES = 02_list_units.c
  34. 03_cpusets_SOURCES = 03_cpusets.c
  35. 04_drs_enable_SOURCES = 04_drs_enable.c
  36. 05_vector_scale_SOURCES = 05_vector_scale.c
  37. 06_spawn_SOURCES = 06_spawn.c
  38. 07_async_spawn_SOURCES = 07_async_spawn.c