1 AUTOMAKE_OPTIONS = subdir-objects
3 include Makefile.sources
6 $(GALLIUM_PIPE_LOADER_DEFINES) \
7 -DPIPE_SEARCH_DIR=\"$(libdir)/gallium-pipe\" \
8 -I$(top_srcdir)/include \
10 -I$(top_srcdir)/src/gallium/include \
11 -I$(top_srcdir)/src/gallium/drivers \
12 -I$(top_srcdir)/src/gallium/auxiliary \
13 -I$(top_srcdir)/src/gallium/winsys \
17 AM_CPPFLAGS += -DHAVE_CLOVER_ICD
19 # Only install the headers if we are building a stand-alone implementation
20 cldir = $(includedir)/CL
22 $(top_srcdir)/include/CL/cl.h \
23 $(top_srcdir)/include/CL/cl.hpp \
24 $(top_srcdir)/include/CL/cl_d3d10.h \
25 $(top_srcdir)/include/CL/cl_d3d11.h \
26 $(top_srcdir)/include/CL/cl_dx9_media_sharing.h \
27 $(top_srcdir)/include/CL/cl_egl.h \
28 $(top_srcdir)/include/CL/cl_ext.h \
29 $(top_srcdir)/include/CL/cl_gl.h \
30 $(top_srcdir)/include/CL/cl_gl_ext.h \
31 $(top_srcdir)/include/CL/cl_platform.h \
32 $(top_srcdir)/include/CL/opencl.h
35 noinst_LTLIBRARIES = libclover.la libcltgsi.la libclllvm.la
37 libcltgsi_la_CXXFLAGS = \
39 $(VISIBILITY_CXXFLAGS)
41 libcltgsi_la_SOURCES = $(TGSI_SOURCES)
43 libclllvm_la_CXXFLAGS = \
45 $(VISIBILITY_CXXFLAGS) \
48 -DLIBCLC_INCLUDEDIR=\"$(LIBCLC_INCLUDEDIR)/\" \
49 -DLIBCLC_LIBEXECDIR=\"$(LIBCLC_LIBEXECDIR)/\" \
50 -DCLANG_RESOURCE_DIR=\"$(CLANG_RESOURCE_DIR)\"
52 libclllvm_la_SOURCES = $(LLVM_SOURCES)
54 libclover_la_CXXFLAGS = \
56 $(VISIBILITY_CXXFLAGS)
58 libclover_la_LIBADD = \
59 libcltgsi.la libclllvm.la
61 libclover_la_SOURCES = $(CPP_SOURCES)