Makefile.am 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. # StarPU --- Runtime system for heterogeneous multicore architectures.
  2. #
  3. # Copyright (C) 2011-2014 Inria
  4. # Copyright (C) 2012-2015,2017 CNRS
  5. # Copyright (C) 2015,2016 Université de Bordeaux
  6. #
  7. # StarPU is free software; you can redistribute it and/or modify
  8. # it under the terms of the GNU Lesser General Public License as published by
  9. # the Free Software Foundation; either version 2.1 of the License, or (at
  10. # your option) any later version.
  11. #
  12. # StarPU is distributed in the hope that it will be useful, but
  13. # WITHOUT ANY WARRANTY; without even the implied warranty of
  14. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  15. #
  16. # See the GNU Lesser General Public License in COPYING.LGPL for more details.
  17. #
  18. include $(top_srcdir)/starpu.mk
  19. AM_CFLAGS = -Wall $(STARPU_CUDA_CPPFLAGS) $(STARPU_OPENCL_CPPFLAGS) $(FXT_CFLAGS) $(MAGMA_CFLAGS) $(HWLOC_CFLAGS) $(GLOBAL_AM_CFLAGS)
  20. LIBS = $(top_builddir)/src/@LIBSTARPU_LINK@ @LIBS@ $(top_builddir)/sc_hypervisor/src/libsc_hypervisor.la
  21. 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
  22. AM_LDFLAGS = $(STARPU_OPENCL_LDFLAGS) $(STARPU_CUDA_LDFLAGS) $(STARPU_GLPK_LDFLAGS) $(STARPU_COI_LDFLAGS) $(STARPU_SCIF_LDFLAGS)
  23. noinst_PROGRAMS = \
  24. app_driven_test/app_driven_test \
  25. lp_test/lp_test \
  26. lp_test/lp_resize_test \
  27. hierarchical_ctxs/resize_hierarchical_ctxs
  28. if !NO_BLAS_LIB
  29. noinst_PROGRAMS += \
  30. cholesky/cholesky_implicit
  31. noinst_HEADERS = \
  32. cholesky/cholesky.h \
  33. sched_ctx_utils/sched_ctx_utils.h
  34. endif
  35. if !NO_BLAS_LIB
  36. cholesky_cholesky_implicit_SOURCES = \
  37. cholesky/cholesky_implicit.c \
  38. cholesky/cholesky_models.c \
  39. cholesky/cholesky_kernels.c \
  40. sched_ctx_utils/sched_ctx_utils.c \
  41. ../../examples/common/blas.c
  42. cholesky_cholesky_implicit_LDADD = \
  43. $(top_builddir)/sc_hypervisor/src/libsc_hypervisor.la \
  44. $(STARPU_BLAS_LDFLAGS)
  45. endif
  46. app_driven_test_app_driven_test_SOURCES = \
  47. app_driven_test/app_driven_test.c
  48. app_driven_test_app_driven_test_LDADD = \
  49. $(top_builddir)/sc_hypervisor/src/libsc_hypervisor.la