gallium: remove library_path argument from pipe_loader_create_screen()
[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_srcdir)/src \
6 -I$(top_srcdir)/src/gallium/include \
7 -I$(top_srcdir)/src/gallium/drivers \
8 -I$(top_srcdir)/src/gallium/auxiliary \
9 -I$(top_srcdir)/src/gallium/winsys \
10 -I$(srcdir)
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/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
29 endif
30
31 noinst_LTLIBRARIES = libclover.la libcltgsi.la libclllvm.la
32
33 libcltgsi_la_CXXFLAGS = \
34 -std=c++11 \
35 $(VISIBILITY_CXXFLAGS)
36
37 libcltgsi_la_SOURCES = $(TGSI_SOURCES)
38
39 libclllvm_la_CXXFLAGS = \
40 -std=c++11 \
41 $(VISIBILITY_CXXFLAGS) \
42 $(LLVM_CXXFLAGS) \
43 $(DEFINES) \
44 -DLIBCLC_INCLUDEDIR=\"$(LIBCLC_INCLUDEDIR)/\" \
45 -DLIBCLC_LIBEXECDIR=\"$(LIBCLC_LIBEXECDIR)/\" \
46 -DCLANG_RESOURCE_DIR=\"$(CLANG_RESOURCE_DIR)\"
47
48 libclllvm_la_SOURCES = $(LLVM_SOURCES)
49
50 libclover_la_CXXFLAGS = \
51 -std=c++11 \
52 $(VISIBILITY_CXXFLAGS)
53
54 libclover_la_LIBADD = \
55 libcltgsi.la libclllvm.la
56
57 libclover_la_SOURCES = $(CPP_SOURCES)
58
59 EXTRA_DIST = Doxyfile