32ed04f6a2c663a7cd9d6e7eca62f7b450a19158
[mesa.git] / src / gallium / state_trackers / clover / Makefile.am
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
12 if HAVE_CLOVER_ICD
13 AM_CPPFLAGS += -DHAVE_CLOVER_ICD
14 else
15 # Only install the headers if we are building a stand-alone implementation
16 cldir = $(includedir)/CL
17 cl_HEADERS = \
18 $(top_srcdir)/include/CL/cl.h \
19 $(top_srcdir)/include/CL/cl.hpp \
20 $(top_srcdir)/include/CL/cl2.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_dx9_media_sharing_intel.h \
25 $(top_srcdir)/include/CL/cl_egl.h \
26 $(top_srcdir)/include/CL/cl_ext.h \
27 $(top_srcdir)/include/CL/cl_ext_intel.h \
28 $(top_srcdir)/include/CL/cl_gl.h \
29 $(top_srcdir)/include/CL/cl_gl_ext.h \
30 $(top_srcdir)/include/CL/cl_platform.h \
31 $(top_srcdir)/include/CL/cl_va_api_media_sharing_intel.h \
32 $(top_srcdir)/include/CL/cl_version.h \
33 $(top_srcdir)/include/CL/opencl.h
34 endif
35
36 noinst_LTLIBRARIES = libclover.la libclllvm.la
37
38 libclllvm_la_CXXFLAGS = \
39 $(CXX11_CXXFLAGS) \
40 $(VISIBILITY_CXXFLAGS) \
41 $(LLVM_CXXFLAGS) \
42 $(CLOVER_STD_OVERRIDE) \
43 $(DEFINES) \
44 $(LIBELF_CFLAGS) \
45 -DLIBCLC_INCLUDEDIR=\"$(LIBCLC_INCLUDEDIR)/\" \
46 -DLIBCLC_LIBEXECDIR=\"$(LIBCLC_LIBEXECDIR)/\" \
47 -DCLANG_RESOURCE_DIR=\"$(CLANG_RESOURCE_DIR)\"
48
49 libclllvm_la_SOURCES = $(LLVM_SOURCES)
50
51 libclover_la_CXXFLAGS = \
52 $(CXX11_CXXFLAGS) \
53 $(CLOVER_STD_OVERRIDE) \
54 $(VISIBILITY_CXXFLAGS)
55
56 libclover_la_LIBADD = \
57 libclllvm.la
58
59 libclover_la_SOURCES = $(CPP_SOURCES)
60
61 EXTRA_DIST = Doxyfile meson.build