1 AUTOMAKE_OPTIONS = subdir-objects
3 lib_LTLIBRARIES = libOpenCL.la
5 libOpenCL_la_LDFLAGS = \
9 # We are linking against libgallium.a rather than libgallium.la to work around
10 # https://bugs.freedesktop.org/show_bug.cgi?id=59334
11 libOpenCL_la_LIBADD = \
12 $(top_builddir)/src/gallium/state_trackers/clover/libclover.la \
13 $(top_builddir)/src/gallium/auxiliary/libgallium.a \
14 $(GALLIUM_PIPE_LOADER_LIBS) $(LIBUDEV_LIBS) \
20 -lclangSerialization \
32 libOpenCL_la_SOURCES =
34 # Force usage of a C++ linker
35 nodist_EXTRA_libOpenCL_la_SOURCES = dummy.cpp
37 PIPE_SRC_DIR = $(top_srcdir)/src/gallium/targets/pipe-loader
39 # Provide compatibility with scripts for the old Mesa build system for
40 # a while by putting a link to the driver into /lib of the build tree.
41 all-local: libOpenCL.la
42 @$(MAKE) -C $(PIPE_SRC_DIR)
43 $(MKDIR_P) $(top_builddir)/$(LIB_DIR)
44 ln -f .libs/libOpenCL.so* $(top_builddir)/$(LIB_DIR)/