Clone of mesa.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

install-lib-links.mk 556B

123456789101112131415161718
  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. if BUILD_SHARED
  4. if HAVE_COMPAT_SYMLINKS
  5. all-local : .libs/install-mesa-links
  6. .libs/install-mesa-links : $(lib_LTLIBRARIES)
  7. $(AM_V_GEN)$(MKDIR_P) $(top_builddir)/$(LIB_DIR); \
  8. for f in $(lib_LTLIBRARIES:%.la=.libs/%.$(LIB_EXT)*); do \
  9. if test -h .libs/$$f; then \
  10. cp -d $$f $(top_builddir)/$(LIB_DIR); \
  11. else \
  12. ln -f $$f $(top_builddir)/$(LIB_DIR); \
  13. fi; \
  14. done && touch $@
  15. endif
  16. endif