Makefile.am 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. # StarPU --- Runtime system for heterogeneous multicore architectures.
  2. #
  3. # Copyright (C) 2017-2020 Université de Bordeaux, CNRS (LaBRI UMR 5800), Inria
  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. #
  16. include $(top_srcdir)/starpu-notests.mk
  17. SUBDIRS =
  18. CLEANFILES = *.gcno *.gcda *.linkinfo
  19. AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/src -I$(top_builddir)/src -I$(top_builddir)/include
  20. AM_CPPFLAGS += -I$(top_srcdir)/starpurm/include -I$(top_srcdir)/starpurm/src -I$(top_builddir)/starpurm/src -I$(top_builddir)/starpurm/include $(STARPU_H_CPPFLAGS)
  21. LIBS += $(top_builddir)/src/@LIBSTARPU_LINK@ $(STARPU_EXPORTED_LIBS)
  22. libstarpurm_so_version = $(LIBSTARPURM_INTERFACE_CURRENT):$(LIBSTARPURM_INTERFACE_REVISION):$(LIBSTARPURM_INTERFACE_AGE)
  23. lib_LTLIBRARIES = libstarpurm-@STARPU_EFFECTIVE_VERSION@.la
  24. libstarpurm_@STARPU_EFFECTIVE_VERSION@_la_LDFLAGS = $(ldflags) -no-undefined -version-info $(libstarpurm_so_version)
  25. libstarpurm_@STARPU_EFFECTIVE_VERSION@_la_SOURCES = \
  26. starpurm.c
  27. if STARPURM_HAVE_DLB
  28. libstarpurm_@STARPU_EFFECTIVE_VERSION@_la_SOURCES += \
  29. starpurm_dlb.c
  30. endif
  31. noinst_HEADERS = \
  32. starpurm_private.h