Makefile.am 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. # StarPU --- Runtime system for heterogeneous multicore architectures.
  2. #
  3. # Copyright (C) 2011 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. AUTOMAKE_OPTIONS = subdir-objects
  16. if !NO_BLAS_LIB
  17. noinst_PROGRAMS = \
  18. cholesky_2ctxs/cholesky_2ctxs \
  19. cholesky/cholesky_implicit
  20. noinst_HEADERS = \
  21. cholesky/cholesky.h \
  22. sched_ctx_utils/sched_ctx_utils.h
  23. endif
  24. AM_LDFLAGS = $(top_builddir)/src/libstarpu.la
  25. LIBS = $(top_srcdir)/sched_ctx_hypervisor/src/libsched_ctx_hypervisor.la
  26. AM_CPPFLAGS = \
  27. -I$(top_srcdir)/include \
  28. -I$(top_srcdir)/examples \
  29. -I$(top_builddir)/include \
  30. -I$(top_srcdir)/sched_ctx_hypervisor/include \
  31. $(STARPU_OPENCL_CPPFLAGS) $(STARPU_CUDA_CPPFLAGS)
  32. if !NO_BLAS_LIB
  33. cholesky_2ctxs_cholesky_2ctxs_SOURCES = \
  34. cholesky_2ctxs/cholesky_2ctxs.c \
  35. cholesky_2ctxs/cholesky/cholesky_implicit.c \
  36. cholesky_2ctxs/cholesky/cholesky_models.c \
  37. cholesky_2ctxs/cholesky/cholesky_kernels.c \
  38. $(top_srcdir)/examples/common/blas.c
  39. cholesky_2ctxs_cholesky_2ctxs_LDADD = \
  40. $(top_srcdir)/sched_ctx_hypervisor/src/libsched_ctx_hypervisor.la
  41. $(STARPU_BLAS_LDFLAGS)
  42. cholesky_cholesky_implicit_SOURCES = \
  43. cholesky/cholesky_implicit.c \
  44. cholesky/cholesky_models.c \
  45. cholesky/cholesky_kernels.c \
  46. sched_ctx_utils/sched_ctx_utils.c \
  47. $(top_srcdir)/examples/common/blas.c
  48. cholesky_cholesky_implicit_LDADD = \
  49. $(top_srcdir)/sched_ctx_hypervisor/src/libsched_ctx_hypervisor.la
  50. $(STARPU_BLAS_LDFLAGS)
  51. endif