summaryrefslogtreecommitdiffstats
path: root/src/mapi/es1api
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2014-01-29 11:40:25 -0800
committerKristian Høgsberg <krh@bitplanet.net>2014-01-29 12:58:13 -0800
commitcbecd958a7e36736a4447ebe65e5017e5c0ea4a0 (patch)
treef826f9f122063736ae1f1524a74f6796f451ae38 /src/mapi/es1api
parent7965908976cdd1476db0ee7258d182292f975800 (diff)
downloadexternal_mesa3d-cbecd958a7e36736a4447ebe65e5017e5c0ea4a0.zip
external_mesa3d-cbecd958a7e36736a4447ebe65e5017e5c0ea4a0.tar.gz
external_mesa3d-cbecd958a7e36736a4447ebe65e5017e5c0ea4a0.tar.bz2
build: Share the all-local rule for linking libraries into the build dir
This consolidates how we link the libraries into the build directory. It works for lib_LTLIBRARIES but not custom shared libraries like DRI drivers or gallium state trackers which needs special casing (cf dri mega drivers, for example) Signed-off-by: Kristian Høgsberg <krh@bitplanet.net> Reviewed-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'src/mapi/es1api')
-rw-r--r--src/mapi/es1api/Makefile.am8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/mapi/es1api/Makefile.am b/src/mapi/es1api/Makefile.am
index eb98f16..b61f9cb 100644
--- a/src/mapi/es1api/Makefile.am
+++ b/src/mapi/es1api/Makefile.am
@@ -57,10 +57,4 @@ glapi_mapi_tmp.h: ../glapi/gen/gl_and_es_API.xml $(glapi_gen_mapi_deps)
BUILT_SOURCES = glapi_mapi_tmp.h
CLEANFILES = $(BUILT_SOURCES)
-# 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: libGLESv1_CM.la
- $(MKDIR_P) $(top_builddir)/$(LIB_DIR);
- ln -f .libs/libGLESv1_CM.so $(top_builddir)/$(LIB_DIR)/libGLESv1_CM.so
- ln -f .libs/libGLESv1_CM.so.1 $(top_builddir)/$(LIB_DIR)/libGLESv1_CM.so.1
- ln -f .libs/libGLESv1_CM.so.1.1.0 $(top_builddir)/$(LIB_DIR)/libGLESv1_CM.so.1.1.0
+include $(top_srcdir)/install-lib-links.mk