build: Remove libws_null.la from GALLIUM_PIPE_LOADER_LIBS.
[mesa.git] / src / gallium / targets / opencl / Makefile.am
1 AUTOMAKE_OPTIONS = subdir-objects
2
3 lib_LTLIBRARIES = libOpenCL.la
4
5 libOpenCL_la_LDFLAGS = \
6 $(LLVM_LDFLAGS) \
7 -version-number 1:0
8
9 libOpenCL_la_LIBADD = \
10 $(top_builddir)/src/gallium/winsys/sw/null/libws_null.la \
11 $(top_builddir)/src/gallium/state_trackers/clover/libclover.la \
12 $(top_builddir)/src/gallium/auxiliary/libgallium.la \
13 $(GALLIUM_PIPE_LOADER_LIBS) $(LIBUDEV_LIBS) \
14 -ldl \
15 -lclangCodeGen \
16 -lclangFrontendTool \
17 -lclangFrontend \
18 -lclangDriver \
19 -lclangSerialization \
20 -lclangCodeGen \
21 -lclangParse \
22 -lclangSema \
23 -lclangAnalysis \
24 -lclangAST \
25 -lclangEdit \
26 -lclangLex \
27 -lclangBasic \
28 $(LLVM_LIBS)
29
30
31 libOpenCL_la_SOURCES =
32
33 # Force usage of a C++ linker
34 nodist_EXTRA_libOpenCL_la_SOURCES = dummy.cpp
35
36 # Provide compatibility with scripts for the old Mesa build system for
37 # a while by putting a link to the driver into /lib of the build tree.
38 all-local: libOpenCL.la
39 $(MKDIR_P) $(top_builddir)/$(LIB_DIR)
40 ln -f .libs/libOpenCL.so* $(top_builddir)/$(LIB_DIR)/