Makefile.am 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. # StarPU --- Runtime system for heterogeneous multicore architectures.
  2. #
  3. # Copyright (C) 2011,2012 Institut National de Recherche en Informatique et Automatique
  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. if !NO_BLAS_LIB
  16. noinst_PROGRAMS = \
  17. cholesky/cholesky_implicit \
  18. app_driven_test/app_driven_test
  19. noinst_HEADERS = \
  20. cholesky/cholesky.h \
  21. sched_ctx_utils/sched_ctx_utils.h
  22. endif
  23. AM_LDFLAGS = $(top_builddir)/src/libstarpu-1.0.la
  24. LIBS = $(top_builddir)/sched_ctx_hypervisor/src/libsched_ctx_hypervisor.la
  25. AM_CPPFLAGS = \
  26. -I$(top_srcdir)/include \
  27. -I$(top_srcdir)/examples \
  28. -I$(top_builddir)/include \
  29. -I$(top_srcdir)/sched_ctx_hypervisor/include \
  30. $(STARPU_OPENCL_CPPFLAGS) $(STARPU_CUDA_CPPFLAGS)
  31. if !NO_BLAS_LIB
  32. cholesky_cholesky_implicit_SOURCES = \
  33. cholesky/cholesky_implicit.c \
  34. cholesky/cholesky_models.c \
  35. cholesky/cholesky_kernels.c \
  36. sched_ctx_utils/sched_ctx_utils.c \
  37. $(top_srcdir)/examples/common/blas.c
  38. cholesky_cholesky_implicit_LDADD = \
  39. $(top_builddir)/sched_ctx_hypervisor/src/libsched_ctx_hypervisor.la \
  40. $(STARPU_BLAS_LDFLAGS)
  41. app_driven_test_app_driven_test_SOURCES = \
  42. app_driven_test/app_driven_test.c
  43. app_driven_test_app_driven_test_LDADD = \
  44. $(top_builddir)/sched_ctx_hypervisor/src/libsched_ctx_hypervisor.la
  45. endif