1include Makefile.sources 2 3AM_CPPFLAGS = \ 4 -I$(top_srcdir)/include \ 5 -I$(top_builddir)/src \ 6 -I$(top_srcdir)/src \ 7 -I$(top_srcdir)/src/gallium/include \ 8 -I$(top_srcdir)/src/gallium/drivers \ 9 -I$(top_srcdir)/src/gallium/auxiliary \ 10 -I$(top_srcdir)/src/gallium/winsys 11 12if HAVE_CLOVER_ICD 13AM_CPPFLAGS += -DHAVE_CLOVER_ICD 14else 15# Only install the headers if we are building a stand-alone implementation 16cldir = $(includedir)/CL 17cl_HEADERS = \ 18 $(top_srcdir)/include/CL/cl.h \ 19 $(top_srcdir)/include/CL/cl.hpp \ 20 $(top_srcdir)/include/CL/cl_d3d10.h \ 21 $(top_srcdir)/include/CL/cl_d3d11.h \ 22 $(top_srcdir)/include/CL/cl_dx9_media_sharing.h \ 23 $(top_srcdir)/include/CL/cl_egl.h \ 24 $(top_srcdir)/include/CL/cl_ext.h \ 25 $(top_srcdir)/include/CL/cl_gl.h \ 26 $(top_srcdir)/include/CL/cl_gl_ext.h \ 27 $(top_srcdir)/include/CL/cl_platform.h \ 28 $(top_srcdir)/include/CL/opencl.h 29endif 30 31noinst_LTLIBRARIES = libclover.la libcltgsi.la libclllvm.la 32 33libcltgsi_la_CXXFLAGS = \ 34 $(CXX11_CXXFLAGS) \ 35 $(CLOVER_STD_OVERRIDE) \ 36 $(VISIBILITY_CXXFLAGS) 37 38libcltgsi_la_SOURCES = $(TGSI_SOURCES) 39 40libclllvm_la_CXXFLAGS = \ 41 $(CXX11_CXXFLAGS) \ 42 $(VISIBILITY_CXXFLAGS) \ 43 $(LLVM_CXXFLAGS) \ 44 $(CLOVER_STD_OVERRIDE) \ 45 $(DEFINES) \ 46 $(LIBELF_CFLAGS) \ 47 -DLIBCLC_INCLUDEDIR=\"$(LIBCLC_INCLUDEDIR)/\" \ 48 -DLIBCLC_LIBEXECDIR=\"$(LIBCLC_LIBEXECDIR)/\" \ 49 -DCLANG_RESOURCE_DIR=\"$(CLANG_RESOURCE_DIR)\" 50 51libclllvm_la_SOURCES = $(LLVM_SOURCES) 52 53libclover_la_CXXFLAGS = \ 54 $(CXX11_CXXFLAGS) \ 55 $(CLOVER_STD_OVERRIDE) \ 56 $(VISIBILITY_CXXFLAGS) 57 58libclover_la_LIBADD = \ 59 libcltgsi.la libclllvm.la 60 61libclover_la_SOURCES = $(CPP_SOURCES) 62 63EXTRA_DIST = Doxyfile meson.build 64