Makefile.am 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. # StarPU --- Runtime system for heterogeneous multicore architectures.
  2. #
  3. # Copyright (C) 2009, 2010-2011 Université de Bordeaux 1
  4. # Copyright (C) 2010, 2011, 2012 Centre National de la Recherche Scientifique
  5. #
  6. # StarPU is free software; you can redistribute it and/or modify
  7. # it under the terms of the GNU Lesser General Public License as published by
  8. # the Free Software Foundation; either version 2.1 of the License, or (at
  9. # your option) any later version.
  10. #
  11. # StarPU is distributed in the hope that it will be useful, but
  12. # WITHOUT ANY WARRANTY; without even the implied warranty of
  13. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  14. #
  15. # See the GNU Lesser General Public License in COPYING.LGPL for more details.
  16. AM_CFLAGS = $(MAGMA_CFLAGS) $(HWLOC_CFLAGS) -Wall $(STARPU_CUDA_CPPFLAGS) $(STARPU_OPENCL_CPPFLAGS)
  17. LIBS = $(top_builddir)/socl/src/libsocl.la
  18. AM_CPPFLAGS = -I$(top_srcdir)/socl/include/
  19. AM_LDFLAGS = $(STARPU_CUDA_LDFLAGS) $(STARPU_OPENCL_LDFLAGS)
  20. SOCL_EXAMPLES =
  21. TESTS = $(SOCL_EXAMPLES)
  22. check_PROGRAMS = $(STARPU_EXAMPLES)
  23. examplebindir = $(libdir)/starpu/examples/socl/
  24. examplebin_PROGRAMS =
  25. examplebin_PROGRAMS += \
  26. basic/basic \
  27. clinfo/clinfo
  28. # mandelbrot/mandelbrot
  29. SOCL_EXAMPLES += \
  30. basic/basic \
  31. clinfo/clinfo
  32. # mandelbrot/mandelbrot
  33. basic_basic_SOURCES = basic/basic.c
  34. clinfo_clinfo_SOURCES = clinfo/clinfo.c
  35. #mandelbrot_mandelbrot_SOURCES = mandelbrot/mandelbrot.c
  36. #mandelbrot_mandelbrot_CPPFLAGS = $(AM_CPPFLAGS) $(AM_CFLAGS)
  37. #if HAVE_X11
  38. #mandelbrot_mandelbrot_CPPFLAGS += $(X_CFLAGS)
  39. #mandelbrot_mandelbrot_LDADD = $(X_PRE_LIBS) -lX11 $(X_LIBS) $(X_EXTRA_LIBS)
  40. #endif