1AUTOMAKE_OPTIONS = subdir-objects
2
3AM_CPPFLAGS = \
4	$(GALLIUM_PIPE_LOADER_DEFINES) \
5	-DMESA_VERSION=\"$(MESA_VERSION)\" \
6	-DPIPE_SEARCH_DIR=\"$(OPENCL_LIB_INSTALL_DIR)\" \
7	-I$(top_srcdir)/include \
8	-I$(top_srcdir)/src/gallium/include \
9	-I$(top_srcdir)/src/gallium/drivers \
10	-I$(top_srcdir)/src/gallium/auxiliary \
11	-I$(top_srcdir)/src/gallium/winsys \
12	-I$(srcdir)
13
14noinst_LTLIBRARIES = libclover.la libcltgsi.la libclllvm.la
15
16libcltgsi_la_CXXFLAGS = \
17	-std=c++0x
18
19libcltgsi_la_SOURCES = \
20	tgsi/compiler.cpp
21
22libclllvm_la_CXXFLAGS = \
23	-std=c++98 \
24	$(LLVM_CPPFLAGS) \
25	$(DEFINES) \
26	-DLIBCLC_INCLUDEDIR=\"$(LIBCLC_INCLUDEDIR)/\" \
27	-DLIBCLC_LIBEXECDIR=\"$(LIBCLC_LIBEXECDIR)/\" \
28	-DCLANG_RESOURCE_DIR=\"$(CLANG_RESOURCE_DIR)\"
29
30libclllvm_la_SOURCES = \
31	llvm/invocation.cpp
32
33libclover_la_CXXFLAGS = \
34	-std=c++0x
35
36libclover_la_LIBADD = \
37	libcltgsi.la libclllvm.la
38
39libclover_la_SOURCES = \
40	core/base.hpp \
41	core/compat.hpp \
42	core/compiler.hpp \
43	core/geometry.hpp \
44	core/device.hpp \
45	core/device.cpp \
46	core/context.hpp \
47	core/context.cpp \
48	core/queue.hpp \
49	core/queue.cpp \
50	core/format.hpp \
51	core/format.cpp \
52	core/memory.hpp \
53	core/memory.cpp \
54	core/resource.hpp \
55	core/resource.cpp \
56	core/sampler.hpp \
57	core/sampler.cpp \
58	core/event.hpp \
59	core/event.cpp \
60	core/program.hpp \
61	core/program.cpp \
62	core/kernel.hpp \
63	core/kernel.cpp \
64	core/module.hpp \
65	core/module.cpp \
66	api/util.hpp \
67	api/platform.cpp \
68	api/device.cpp \
69	api/context.cpp \
70	api/queue.cpp \
71	api/memory.cpp \
72	api/transfer.cpp \
73	api/sampler.cpp \
74	api/event.cpp \
75	api/program.cpp \
76	api/kernel.cpp
77
78cldir = $(includedir)/CL
79cl_HEADERS = \
80	$(top_srcdir)/include/CL/cl.h \
81	$(top_srcdir)/include/CL/cl_ext.h \
82	$(top_srcdir)/include/CL/cl_gl.h \
83	$(top_srcdir)/include/CL/cl_gl_ext.h \
84	$(top_srcdir)/include/CL/cl_platform.h \
85	$(top_srcdir)/include/CL/opencl.h \
86	$(top_srcdir)/include/CL/cl.hpp
87