Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
5564 | serge | 1 | AUTOMAKE_OPTIONS = subdir-objects |
2 | |||
3 | include $(top_srcdir)/src/gallium/Automake.inc |
||
4 | |||
5 | lib_LTLIBRARIES = lib@OPENCL_LIBNAME@.la |
||
6 | |||
7 | lib@OPENCL_LIBNAME@_la_LDFLAGS = \ |
||
8 | $(LLVM_LDFLAGS) \ |
||
9 | -no-undefined \ |
||
10 | -version-number 1:0 \ |
||
11 | $(GC_SECTIONS) \ |
||
12 | $(LD_NO_UNDEFINED) |
||
13 | |||
14 | if HAVE_LD_VERSION_SCRIPT |
||
15 | lib@OPENCL_LIBNAME@_la_LDFLAGS += \ |
||
16 | -Wl,--version-script=$(top_srcdir)/src/gallium/targets/opencl/opencl.sym |
||
17 | endif |
||
18 | |||
19 | lib@OPENCL_LIBNAME@_la_LIBADD = \ |
||
20 | $(top_builddir)/src/gallium/auxiliary/pipe-loader/libpipe_loader_client.la \ |
||
21 | $(top_builddir)/src/gallium/state_trackers/clover/libclover.la \ |
||
22 | $(top_builddir)/src/gallium/auxiliary/libgallium.la \ |
||
23 | $(top_builddir)/src/util/libmesautil.la \ |
||
24 | $(GALLIUM_PIPE_LOADER_WINSYS_LIBS) \ |
||
25 | $(GALLIUM_PIPE_LOADER_CLIENT_LIBS) \ |
||
26 | $(ELF_LIB) \ |
||
27 | -ldl \ |
||
28 | -lclangCodeGen \ |
||
29 | -lclangFrontendTool \ |
||
30 | -lclangFrontend \ |
||
31 | -lclangDriver \ |
||
32 | -lclangSerialization \ |
||
33 | -lclangCodeGen \ |
||
34 | -lclangParse \ |
||
35 | -lclangSema \ |
||
36 | -lclangAnalysis \ |
||
37 | -lclangAST \ |
||
38 | -lclangEdit \ |
||
39 | -lclangLex \ |
||
40 | -lclangBasic \ |
||
41 | $(LLVM_LIBS) |
||
42 | |||
43 | nodist_EXTRA_lib@OPENCL_LIBNAME@_la_SOURCES = dummy.cpp |
||
44 | lib@OPENCL_LIBNAME@_la_SOURCES = |
||
45 | |||
46 | EXTRA_lib@OPENCL_LIBNAME@_la_DEPENDENCIES = opencl.sym |
||
47 | EXTRA_DIST = mesa.icd opencl.sym |
||
48 | |||
49 | if HAVE_CLOVER_ICD |
||
50 | icddir = /etc/OpenCL/vendors/ |
||
51 | icd_DATA = mesa.icd |
||
52 | endif |
||
53 | |||
54 | include $(top_srcdir)/install-gallium-links.mk |