automake: rework VL dependency tracking
authorEmil Velikov <emil.l.velikov@gmail.com>
Sun, 9 Nov 2014 04:44:14 +0000 (04:44 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Wed, 26 Nov 2014 20:08:40 +0000 (20:08 +0000)
commit2dbaedaf109aad822d72bd0e761c506efbb29ec4
treead6561ed3a4c0caee123a9b0e7ba6076222f4560
parent303bc3609a64c8f9b141d54c32edb1170df443d3
automake: rework VL dependency tracking

Set a single VL_{CFLAG,LIBS} for xcb and friends, and let each target
check for it's relevant library alone. Required as with follow up
commits we'll build aux/vl into a separate module, which needs VL_CFLAGS

Cleanup add a couple of explicit LIBDRM_LIBS linking, as aux/vl itself
requires libdrm, despite that LIBDRM_{RADEON,NOUVEAU...} may provide it
as well.

v2: Rebase. Make sure st/xvmc programs work.

Cc: Christian König <christian.koenig@amd.com>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
configure.ac
src/gallium/state_trackers/omx/Makefile.am
src/gallium/state_trackers/va/Makefile.am
src/gallium/state_trackers/vdpau/Makefile.am
src/gallium/state_trackers/xvmc/Makefile.am
src/gallium/targets/omx/Makefile.am
src/gallium/targets/va/Makefile.am
src/gallium/targets/vdpau/Makefile.am
src/gallium/targets/xvmc/Makefile.am