Makefile.am 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. # StarPU --- Runtime system for heterogeneous multicore architectures.
  2. #
  3. # Copyright (C) 2011-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. AM_CFLAGS += $(MAGMA_CFLAGS)
  18. AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/examples -I$(top_builddir)/include -I$(top_srcdir)/sc_hypervisor/include -I$(top_srcdir)/sc_hypervisor/examples $(STARPU_H_CPPFLAGS)
  19. AM_LDFLAGS = @STARPU_EXPORT_DYNAMIC@
  20. LIBS += $(top_builddir)/src/@LIBSTARPU_LINK@ $(top_builddir)/sc_hypervisor/src/libsc_hypervisor.la $(STARPU_EXPORTED_LIBS)
  21. LIBS += $(STARPU_CUDA_LDFLAGS)
  22. noinst_PROGRAMS = \
  23. app_driven_test/app_driven_test \
  24. lp_test/lp_test \
  25. lp_test/lp_resize_test \
  26. hierarchical_ctxs/resize_hierarchical_ctxs
  27. if !STARPU_NO_BLAS_LIB
  28. noinst_PROGRAMS += \
  29. cholesky/cholesky_implicit
  30. noinst_HEADERS = \
  31. cholesky/cholesky.h \
  32. sched_ctx_utils/sched_ctx_utils.h
  33. endif
  34. if !STARPU_NO_BLAS_LIB
  35. cholesky_cholesky_implicit_SOURCES = \
  36. cholesky/cholesky_implicit.c \
  37. cholesky/cholesky_models.c \
  38. cholesky/cholesky_kernels.c \
  39. sched_ctx_utils/sched_ctx_utils.c \
  40. ../../examples/common/blas.c
  41. cholesky_cholesky_implicit_LDADD = \
  42. $(top_builddir)/sc_hypervisor/src/libsc_hypervisor.la \
  43. $(STARPU_BLAS_LDFLAGS)
  44. endif
  45. app_driven_test_app_driven_test_SOURCES = \
  46. app_driven_test/app_driven_test.c
  47. app_driven_test_app_driven_test_LDADD = \
  48. $(top_builddir)/sc_hypervisor/src/libsc_hypervisor.la