diff options
author | Tom Stellard <[email protected]> | 2013-10-29 12:48:37 -0400 |
---|---|---|
committer | Tom Stellard <[email protected]> | 2013-10-30 16:40:06 -0700 |
commit | 193594a1b87e4c63cf034fdb6eadeff7b58eed12 (patch) | |
tree | b8886d428b814921b0d86fea9f184f9fade9effe /src/gallium/state_trackers/clover/Makefile.am | |
parent | 6f3465f340b5e2b1419330f2c1fcb61fbe087af7 (diff) |
clover: Don't install headers when using the icd
The ICD loader should be responsible for installing headers.
Reviewed and Tested-by: Aaron Watry <[email protected]>
Reviewed-by: Francisco Jerez <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/clover/Makefile.am')
-rw-r--r-- | src/gallium/state_trackers/clover/Makefile.am | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/src/gallium/state_trackers/clover/Makefile.am b/src/gallium/state_trackers/clover/Makefile.am index 89e76a931f5..c79fd372a8e 100644 --- a/src/gallium/state_trackers/clover/Makefile.am +++ b/src/gallium/state_trackers/clover/Makefile.am @@ -14,6 +14,17 @@ AM_CPPFLAGS = \ if HAVE_CLOVER_ICD AM_CPPFLAGS += -DHAVE_CLOVER_ICD +else +# Only install the headers if we are building a stand-alone implementation +cldir = $(includedir)/CL +cl_HEADERS = \ + $(top_srcdir)/include/CL/cl.h \ + $(top_srcdir)/include/CL/cl_ext.h \ + $(top_srcdir)/include/CL/cl_gl.h \ + $(top_srcdir)/include/CL/cl_gl_ext.h \ + $(top_srcdir)/include/CL/cl_platform.h \ + $(top_srcdir)/include/CL/opencl.h \ + $(top_srcdir)/include/CL/cl.hpp endif noinst_LTLIBRARIES = libclover.la libcltgsi.la libclllvm.la @@ -45,13 +56,3 @@ libclover_la_LIBADD = \ libcltgsi.la libclllvm.la libclover_la_SOURCES = $(CPP_SOURCES) - -cldir = $(includedir)/CL -cl_HEADERS = \ - $(top_srcdir)/include/CL/cl.h \ - $(top_srcdir)/include/CL/cl_ext.h \ - $(top_srcdir)/include/CL/cl_gl.h \ - $(top_srcdir)/include/CL/cl_gl_ext.h \ - $(top_srcdir)/include/CL/cl_platform.h \ - $(top_srcdir)/include/CL/opencl.h \ - $(top_srcdir)/include/CL/cl.hpp |