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