build: Share the all-local rule for linking libraries into the build dir
authorKristian Høgsberg <krh@bitplanet.net>
Wed, 29 Jan 2014 19:40:25 +0000 (11:40 -0800)
committerKristian Høgsberg <krh@bitplanet.net>
Wed, 29 Jan 2014 20:58:13 +0000 (12:58 -0800)
commitcbecd958a7e36736a4447ebe65e5017e5c0ea4a0
treef826f9f122063736ae1f1524a74f6796f451ae38
parent7965908976cdd1476db0ee7258d182292f975800
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>
install-lib-links.mk [new file with mode: 0644]
src/egl/main/Makefile.am
src/gbm/Makefile.am
src/glx/Makefile.am
src/mapi/es1api/Makefile.am
src/mapi/es2api/Makefile.am
src/mapi/shared-glapi/Makefile.am
src/mapi/vgapi/Makefile.am