[PATCH] makefiles: use configured name for -ldrm* where possible
authorMaarten Lankhorst <maarten.lankhorst@canonical.com>
Fri, 16 Nov 2012 17:50:57 +0000 (18:50 +0100)
committerMaarten Lankhorst <maarten.lankhorst@canonical.com>
Fri, 16 Nov 2012 17:50:57 +0000 (18:50 +0100)
commit4f0537e645f9c34e305f2808c70eafbbc1c7689c
tree3251e18ec93257bd4f1d6bf60459b71aa129abc1
parent6346214f055126d421a20c40056e3abe8ce1f9f3
[PATCH] makefiles: use configured name for -ldrm* where possible

For precise lts support I had to do some magic with the library names, which works fine
as long as the libraries from pkg-config are used.

The parts with src/gallium/targets/va-*/Makefile will not apply on the master branch,
but do apply to the 9.0 branch.

NOTE: This is a candidate for the 9.0 branch.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>
Acked-by: Matt Turner <mattst88@gmail.com>
13 files changed:
configs/current.in
src/gallium/targets/dri-i915/Makefile
src/gallium/targets/dri-r300/Makefile
src/gallium/targets/dri-r600/Makefile
src/gallium/targets/dri-radeonsi/Makefile
src/gallium/targets/egl-static/Makefile
src/gallium/targets/gbm/Makefile
src/gallium/targets/pipe-loader/Makefile
src/gallium/targets/vdpau-r300/Makefile
src/gallium/targets/vdpau-r600/Makefile
src/gallium/targets/vdpau-radeonsi/Makefile
src/gallium/targets/xvmc-r300/Makefile
src/gallium/targets/xvmc-r600/Makefile