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