Francisco Jerez | c6db1b3 | 2012-04-20 16:56:19 +0200 | [diff] [blame] | 1 | AUTOMAKE_OPTIONS = subdir-objects |
| 2 | |
Tom Stellard | 07567c1 | 2013-09-18 00:36:55 -0700 | [diff] [blame] | 3 | lib_LTLIBRARIES = lib@OPENCL_LIBNAME@.la |
Francisco Jerez | c6db1b3 | 2012-04-20 16:56:19 +0200 | [diff] [blame] | 4 | |
Tom Stellard | 07567c1 | 2013-09-18 00:36:55 -0700 | [diff] [blame] | 5 | lib@OPENCL_LIBNAME@_la_LDFLAGS = \ |
Alexey Shvetsov | f56f034 | 2012-06-04 09:30:48 -0400 | [diff] [blame] | 6 | $(LLVM_LDFLAGS) \ |
Emil Velikov | 73b4613 | 2014-02-23 20:29:57 +0000 | [diff] [blame] | 7 | -no-undefined \ |
Emil Velikov | d187a15 | 2014-03-13 05:44:33 +0000 | [diff] [blame] | 8 | -version-number 1:0 \ |
Emil Velikov | d681b22 | 2014-03-11 17:58:08 +0000 | [diff] [blame^] | 9 | $(GC_SECTIONS) \ |
Emil Velikov | d187a15 | 2014-03-13 05:44:33 +0000 | [diff] [blame] | 10 | -Wl,--no-undefined |
| 11 | |
Francisco Jerez | c6db1b3 | 2012-04-20 16:56:19 +0200 | [diff] [blame] | 12 | |
Tom Stellard | 07567c1 | 2013-09-18 00:36:55 -0700 | [diff] [blame] | 13 | lib@OPENCL_LIBNAME@_la_LIBADD = \ |
Rob Clark | a122c75 | 2014-02-10 09:39:23 -0500 | [diff] [blame] | 14 | $(top_builddir)/src/gallium/auxiliary/pipe-loader/libpipe_loader_client.la \ |
Matt Turner | ea6caf4 | 2013-04-22 12:07:13 -0700 | [diff] [blame] | 15 | $(top_builddir)/src/gallium/winsys/sw/null/libws_null.la \ |
Francisco Jerez | c6db1b3 | 2012-04-20 16:56:19 +0200 | [diff] [blame] | 16 | $(top_builddir)/src/gallium/state_trackers/clover/libclover.la \ |
Tom Stellard | 0261b4e | 2013-01-18 16:35:28 +0000 | [diff] [blame] | 17 | $(top_builddir)/src/gallium/auxiliary/libgallium.la \ |
Rob Clark | a122c75 | 2014-02-10 09:39:23 -0500 | [diff] [blame] | 18 | $(GALLIUM_PIPE_LOADER_CLIENT_LIBS) \ |
Tom Stellard | 7a6b5d4 | 2012-05-02 11:06:13 -0400 | [diff] [blame] | 19 | -ldl \ |
| 20 | -lclangCodeGen \ |
| 21 | -lclangFrontendTool \ |
| 22 | -lclangFrontend \ |
| 23 | -lclangDriver \ |
| 24 | -lclangSerialization \ |
| 25 | -lclangCodeGen \ |
| 26 | -lclangParse \ |
| 27 | -lclangSema \ |
| 28 | -lclangAnalysis \ |
Tom Stellard | 7a6b5d4 | 2012-05-02 11:06:13 -0400 | [diff] [blame] | 29 | -lclangAST \ |
Tom Stellard | aa1c734 | 2013-02-22 19:19:14 +0100 | [diff] [blame] | 30 | -lclangEdit \ |
Tom Stellard | 7a6b5d4 | 2012-05-02 11:06:13 -0400 | [diff] [blame] | 31 | -lclangLex \ |
| 32 | -lclangBasic \ |
Tom Stellard | 7a6b5d4 | 2012-05-02 11:06:13 -0400 | [diff] [blame] | 33 | $(LLVM_LIBS) |
| 34 | |
Emil Velikov | 1ad9534 | 2014-02-24 14:20:36 +0000 | [diff] [blame] | 35 | if HAVE_DRI |
| 36 | lib@OPENCL_LIBNAME@_la_LIBADD += \ |
| 37 | $(top_builddir)/src/gallium/winsys/sw/dri/libswdri.la |
| 38 | endif |
| 39 | |
Emil Velikov | 3445e8b | 2014-02-22 16:44:14 +0000 | [diff] [blame] | 40 | if NEED_PIPE_LOADER_XLIB |
| 41 | lib@OPENCL_LIBNAME@_la_LIBADD += \ |
| 42 | $(top_builddir)/src/gallium/winsys/sw/xlib/libws_xlib.la \ |
| 43 | -lX11 -lXext -lXfixes \ |
| 44 | $(LIBDRM_LIBS) |
| 45 | endif |
| 46 | |
Emil Velikov | 0484b84 | 2014-03-11 15:24:07 +0000 | [diff] [blame] | 47 | nodist_EXTRA_lib@OPENCL_LIBNAME@_la_SOURCES = dummy.cpp |
Tom Stellard | 07567c1 | 2013-09-18 00:36:55 -0700 | [diff] [blame] | 48 | lib@OPENCL_LIBNAME@_la_SOURCES = |
Francisco Jerez | c6db1b3 | 2012-04-20 16:56:19 +0200 | [diff] [blame] | 49 | |
Francisco Jerez | c6db1b3 | 2012-04-20 16:56:19 +0200 | [diff] [blame] | 50 | |
Francisco Jerez | 6230f77 | 2013-10-06 13:52:02 -0700 | [diff] [blame] | 51 | if HAVE_CLOVER_ICD |
| 52 | icddir = /etc/OpenCL/vendors/ |
| 53 | icd_DATA = mesa.icd |
| 54 | endif |
| 55 | |
Emil Velikov | 49d7bce | 2014-03-02 21:10:57 +0000 | [diff] [blame] | 56 | include $(top_srcdir)/install-gallium-links.mk |