1 AUTOMAKE_OPTIONS = subdir-objects
3 lib_LTLIBRARIES = lib@OPENCL_LIBNAME@.la
5 lib@OPENCL_LIBNAME@_la_LDFLAGS = \
9 lib@OPENCL_LIBNAME@_la_LIBADD = \
10 $(top_builddir)/src/gallium/auxiliary/pipe-loader/libpipe_loader_client.la \
11 $(top_builddir)/src/gallium/winsys/sw/null/libws_null.la \
12 $(top_builddir)/src/gallium/state_trackers/clover/libclover.la \
13 $(top_builddir)/src/gallium/auxiliary/libgallium.la \
14 $(GALLIUM_PIPE_LOADER_CLIENT_LIBS) \
20 -lclangSerialization \
32 lib@OPENCL_LIBNAME@_la_LIBADD += \
33 $(top_builddir)/src/gallium/winsys/sw/dri/libswdri.la
36 if NEED_PIPE_LOADER_XLIB
37 lib@OPENCL_LIBNAME@_la_LIBADD += \
38 $(top_builddir)/src/gallium/winsys/sw/xlib/libws_xlib.la \
39 -lX11 -lXext -lXfixes \
43 lib@OPENCL_LIBNAME@_la_SOURCES =
45 # Force usage of a C++ linker
46 nodist_EXTRA_lib@OPENCL_LIBNAME@_la_SOURCES = dummy.cpp
49 icddir = /etc/OpenCL/vendors/
53 # Provide compatibility with scripts for the old Mesa build system for
54 # a while by putting a link to the driver into /lib of the build tree.
55 all-local: lib@OPENCL_LIBNAME@.la
56 $(MKDIR_P) $(top_builddir)/$(LIB_DIR)
57 ln -f .libs/lib@OPENCL_LIBNAME@.so* $(top_builddir)/$(LIB_DIR)/