Francisco Jerez | c6db1b3 | 2012-04-20 16:56:19 +0200 | [diff] [blame] | 1 | AUTOMAKE_OPTIONS = subdir-objects |
| 2 | |
| 3 | lib_LTLIBRARIES = libOpenCL.la |
| 4 | |
| 5 | libOpenCL_la_LDFLAGS = \ |
Alexey Shvetsov | f56f034 | 2012-06-04 09:30:48 -0400 | [diff] [blame] | 6 | $(LLVM_LDFLAGS) \ |
Francisco Jerez | c6db1b3 | 2012-04-20 16:56:19 +0200 | [diff] [blame] | 7 | -version-number 1:0 |
| 8 | |
| 9 | libOpenCL_la_LIBADD = \ |
| 10 | $(top_builddir)/src/gallium/state_trackers/clover/libclover.la \ |
Tom Stellard | 0261b4e | 2013-01-18 16:35:28 +0000 | [diff] [blame^] | 11 | $(top_builddir)/src/gallium/auxiliary/libgallium.la \ |
Francisco Jerez | c6db1b3 | 2012-04-20 16:56:19 +0200 | [diff] [blame] | 12 | $(GALLIUM_PIPE_LOADER_LIBS) $(LIBUDEV_LIBS) \ |
Tom Stellard | 7a6b5d4 | 2012-05-02 11:06:13 -0400 | [diff] [blame] | 13 | -ldl \ |
| 14 | -lclangCodeGen \ |
| 15 | -lclangFrontendTool \ |
| 16 | -lclangFrontend \ |
| 17 | -lclangDriver \ |
| 18 | -lclangSerialization \ |
| 19 | -lclangCodeGen \ |
| 20 | -lclangParse \ |
| 21 | -lclangSema \ |
| 22 | -lclangAnalysis \ |
Tom Stellard | 7a6b5d4 | 2012-05-02 11:06:13 -0400 | [diff] [blame] | 23 | -lclangAST \ |
| 24 | -lclangLex \ |
| 25 | -lclangBasic \ |
| 26 | -lclangEdit \ |
| 27 | $(LLVM_LIBS) |
| 28 | |
Francisco Jerez | c6db1b3 | 2012-04-20 16:56:19 +0200 | [diff] [blame] | 29 | |
| 30 | libOpenCL_la_SOURCES = |
| 31 | |
| 32 | # Force usage of a C++ linker |
| 33 | nodist_EXTRA_libOpenCL_la_SOURCES = dummy.cpp |
| 34 | |
| 35 | PIPE_SRC_DIR = $(top_srcdir)/src/gallium/targets/pipe-loader |
| 36 | |
| 37 | # Provide compatibility with scripts for the old Mesa build system for |
| 38 | # a while by putting a link to the driver into /lib of the build tree. |
| 39 | all-local: libOpenCL.la |
| 40 | @$(MAKE) -C $(PIPE_SRC_DIR) |
| 41 | $(MKDIR_P) $(top_builddir)/$(LIB_DIR) |
| 42 | ln -f .libs/libOpenCL.so* $(top_builddir)/$(LIB_DIR)/ |