VirtualBox

source: vbox/trunk/src/VBox/Additions/3D/mesa/mesa-17.3.9/install-gallium-links.mk@ 95281

最後變更 在這個檔案從95281是 75443,由 vboxsync 提交於 6 年 前

Exported Mesa related code to OSE.

  • 屬性 svn:eol-style 設為 LF
檔案大小: 1.2 KB
 
1# Provide compatibility with scripts for the old Mesa build system for
2# a while by putting a link to the driver into /lib of the build tree.
3
4if BUILD_SHARED
5if HAVE_COMPAT_SYMLINKS
6all-local : .install-gallium-links
7
8.install-gallium-links : $(dri_LTLIBRARIES) $(egl_LTLIBRARIES) $(lib_LTLIBRARIES)
9 $(AM_V_GEN)$(MKDIR_P) $(top_builddir)/$(LIB_DIR); \
10 link_dir=$(top_builddir)/$(LIB_DIR)/gallium; \
11 if test x$(egl_LTLIBRARIES) != x; then \
12 link_dir=$(top_builddir)/$(LIB_DIR)/egl; \
13 fi; \
14 $(MKDIR_P) $$link_dir; \
15 file_list="$(dri_LTLIBRARIES:%.la=.libs/%.so)"; \
16 file_list="$$file_list$(egl_LTLIBRARIES:%.la=.libs/%.$(LIB_EXT)*)"; \
17 file_list="$$file_list$(lib_LTLIBRARIES:%.la=.libs/%.$(LIB_EXT)*)"; \
18 for f in $$file_list; do \
19 if test -h .libs/$$f; then \
20 cp -d $$f $$link_dir; \
21 else \
22 ln -f $$f $$link_dir; \
23 fi; \
24 done && touch $@
25endif
26
27clean-local:
28 for f in $(notdir $(dri_LTLIBRARIES:%.la=.libs/%.$(LIB_EXT)*)) \
29 $(notdir $(egl_LTLIBRARIES:%.la=.libs/%.$(LIB_EXT)*)) \
30 $(notdir $(lib_LTLIBRARIES:%.la=.libs/%.$(LIB_EXT)*)); do \
31 echo $$f; \
32 $(RM) $(top_builddir)/$(LIB_DIR)/gallium/$$f; \
33 done;
34 rmdir $(top_builddir)/$(LIB_DIR)/gallium || true
35 $(RM) .install-gallium-links
36
37endif
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette