Makefile.am 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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. AM_CFLAGS = -Wall $(STARPU_CUDA_CPPFLAGS) $(STARPU_OPENCL_CPPFLAGS) $(FXT_CFLAGS) $(MAGMA_CFLAGS) $(HWLOC_CFLAGS) $(GLOBAL_AM_CFLAGS)
  16. LIBS = $(top_builddir)/src/@LIBSTARPU_LINK@ @LIBS@ $(top_builddir)/sched_ctx_hypervisor/src/libsched_ctx_hypervisor.la
  17. AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/examples -I$(top_builddir)/include -I$(top_srcdir)/sched_ctx_hypervisor/include -I$(top_srcdir)/sched_ctx_hypervisor/examples
  18. AM_LDFLAGS = $(STARPU_OPENCL_LDFLAGS) $(STARPU_CUDA_LDFLAGS) $(STARPU_GLPK_LDFLAGS)
  19. if !NO_BLAS_LIB
  20. noinst_PROGRAMS = \
  21. cholesky/cholesky_implicit \
  22. app_driven_test/app_driven_test
  23. noinst_HEADERS = \
  24. cholesky/cholesky.h \
  25. sched_ctx_utils/sched_ctx_utils.h
  26. endif
  27. if !NO_BLAS_LIB
  28. cholesky_cholesky_implicit_SOURCES = \
  29. cholesky/cholesky_implicit.c \
  30. cholesky/cholesky_models.c \
  31. cholesky/cholesky_kernels.c \
  32. sched_ctx_utils/sched_ctx_utils.c \
  33. $(top_srcdir)/examples/common/blas.c
  34. cholesky_cholesky_implicit_LDADD = \
  35. $(top_builddir)/sched_ctx_hypervisor/src/libsched_ctx_hypervisor.la \
  36. $(STARPU_BLAS_LDFLAGS)
  37. app_driven_test_app_driven_test_SOURCES = \
  38. app_driven_test/app_driven_test.c
  39. app_driven_test_app_driven_test_LDADD = \
  40. $(top_builddir)/sched_ctx_hypervisor/src/libsched_ctx_hypervisor.la
  41. endif
  42. showcheck:
  43. -cat $(TEST_LOGS) /dev/null