VirtualBox

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

Last change on this file since 78397 was 75443, checked in by vboxsync, 6 years ago

Exported Mesa related code to OSE.

  • Property svn:eol-style set to LF
File size: 765 bytes
Line 
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-mesa-links
7
8.install-mesa-links : $(lib_LTLIBRARIES)
9 $(AM_V_GEN)$(MKDIR_P) $(top_builddir)/$(LIB_DIR); \
10 for f in $(join $(addsuffix .libs/,$(dir $(lib_LTLIBRARIES))),$(notdir $(lib_LTLIBRARIES:%.la=%.$(LIB_EXT)*))); do \
11 if test -h .libs/$$f; then \
12 cp -d $$f $(top_builddir)/$(LIB_DIR); \
13 else \
14 ln -f $$f $(top_builddir)/$(LIB_DIR); \
15 fi; \
16 done && touch $@
17
18clean-local:
19 for f in $(notdir $(lib_LTLIBRARIES:%.la=.libs/%.$(LIB_EXT)*)); do \
20 $(RM) $(top_builddir)/$(LIB_DIR)/$$f; \
21 done;
22 $(RM) .install-mesa-links
23
24endif
25endif
Note: See TracBrowser for help on using the repository browser.

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