Makefile.am 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. # StarPU --- Runtime system for heterogeneous multicore architectures.
  2. #
  3. # Copyright (C) 2009-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. SUBDIRS =
  17. AM_CFLAGS = $(HWLOC_CFLAGS) $(STARPU_CUDA_CPPFLAGS) $(STARPU_OPENCL_CPPFLAGS)
  18. LIBS = $(top_builddir)/src/libstarpu-@STARPU_EFFECTIVE_VERSION@.la @LIBS@
  19. AM_CPPFLAGS = -I$(top_srcdir)/include/ -I$(top_srcdir)/tools/ -I$(top_srcdir)/mpi/ -I$(top_builddir)/src -I$(top_srcdir)/src
  20. bin_PROGRAMS =
  21. dist_bin_SCRIPTS =
  22. dist_pkgdata_DATA = gdbinit
  23. CLEANFILES = *.gcno *.gcda *.linkinfo
  24. bin_PROGRAMS += starpu_calibrate_bus
  25. if STARPU_USE_FXT
  26. bin_PROGRAMS += starpu_fxt_tool starpu_fxt_stats
  27. starpu_fxt_tool_CPPFLAGS = $(AM_CFLAGS) $(AM_CPPFLAGS) $(FXT_CFLAGS)
  28. starpu_fxt_tool_LDADD = $(FXT_LIBS)
  29. starpu_fxt_stats_CPPFLAGS = $(AM_CFLAGS) $(AM_CPPFLAGS) $(FXT_CFLAGS)
  30. starpu_fxt_stats_LDADD = $(FXT_LIBS)
  31. endif
  32. bin_PROGRAMS += \
  33. starpu_perfmodel_display \
  34. starpu_perfmodel_plot \
  35. starpu_machine_display
  36. noinst_PROGRAMS = cbc2paje lp2paje
  37. dist_bin_SCRIPTS += \
  38. starpu_top
  39. if STARPU_HAVE_HELP2MAN
  40. starpu_calibrate_bus.1: starpu_calibrate_bus.c $(top_srcdir)/configure.ac
  41. $(MAKE) $(AM_MAKEFLAGS) $*$(EXEEXT)
  42. help2man --no-discard-stderr -N --output=$@ ./$*$(EXEEXT)
  43. starpu_machine_display.1: starpu_machine_display.c $(top_srcdir)/configure.ac
  44. $(MAKE) $(AM_MAKEFLAGS) $*$(EXEEXT)
  45. help2man --no-discard-stderr -N --output=$@ ./$*$(EXEEXT)
  46. starpu_perfmodel_display.1: starpu_perfmodel_display.c $(top_srcdir)/configure.ac
  47. $(MAKE) $(AM_MAKEFLAGS) $*$(EXEEXT)
  48. help2man --no-discard-stderr -N --output=$@ ./$*$(EXEEXT)
  49. starpu_perfmodel_plot.1: starpu_perfmodel_plot.c $(top_srcdir)/configure.ac
  50. $(MAKE) $(AM_MAKEFLAGS) $*$(EXEEXT)
  51. help2man --no-discard-stderr -N --output=$@ ./$*$(EXEEXT)
  52. endif
  53. dist_man1_MANS =\
  54. starpu_calibrate_bus.1 \
  55. starpu_machine_display.1 \
  56. starpu_perfmodel_display.1 \
  57. starpu_perfmodel_plot.1