summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/osmesa/Makefile.am8
-rw-r--r--src/mesa/drivers/x11/Makefile.am7
2 files changed, 2 insertions, 13 deletions
diff --git a/src/mesa/drivers/osmesa/Makefile.am b/src/mesa/drivers/osmesa/Makefile.am
index 4935335e291..2fdd6fd6be9 100644
--- a/src/mesa/drivers/osmesa/Makefile.am
+++ b/src/mesa/drivers/osmesa/Makefile.am
@@ -48,13 +48,7 @@ lib@OSMESA_LIB@_la_LIBADD = \
$(OSMESA_LIB_DEPS)
if BUILD_SHARED
-# Provide compatibility with scripts for the old Mesa build system for
-# a while by putting a link to the driver into /lib of the build tree.
-all-local: lib@[email protected]
- $(MKDIR_P) $(top_builddir)/$(LIB_DIR);
- ln -f .libs/lib@[email protected] $(top_builddir)/$(LIB_DIR)/lib@[email protected];
- ln -f .libs/lib@[email protected].@OSMESA_VERSION@ $(top_builddir)/$(LIB_DIR)/lib@[email protected].@OSMESA_VERSION@;
- ln -f .libs/lib@[email protected].@[email protected] $(top_builddir)/$(LIB_DIR)/
+include $(top_srcdir)/install-lib-links.mk
endif
pkgconfigdir = $(libdir)/pkgconfig
diff --git a/src/mesa/drivers/x11/Makefile.am b/src/mesa/drivers/x11/Makefile.am
index 32bd385ec86..3f3a24b4eab 100644
--- a/src/mesa/drivers/x11/Makefile.am
+++ b/src/mesa/drivers/x11/Makefile.am
@@ -65,10 +65,5 @@ lib@GL_LIB@_la_LDFLAGS = \
$(GL_LIB_DEPS)
if BUILD_SHARED
-# Provide compatibility with scripts for the old Mesa build system for
-# a while by putting a link to the driver into /lib of the build tree.
-all-local: lib@[email protected]
- $(MKDIR_P) $(top_builddir)/$(LIB_DIR);
- ln -f .libs/lib@[email protected].$(GL_MAJOR).$(GL_MINOR).$(GL_PATCH) $(top_builddir)/$(LIB_DIR)/lib@[email protected].$(GL_MAJOR)
- ln -sf lib@[email protected].$(GL_MAJOR) $(top_builddir)/$(LIB_DIR)/lib@[email protected]
+include $(top_srcdir)/install-lib-links.mk
endif