summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/r600/vdpau/Makefile.am
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2014-06-12 15:41:29 +0100
committerEmil Velikov <[email protected]>2014-06-22 23:05:49 +0100
commit9df2c4956b6fc4fff1497923d42011c16e777322 (patch)
tree74d4e3ed92d980e68aedde023a86df01bea2e7a7 /src/gallium/targets/r600/vdpau/Makefile.am
parent8b2e0ddf8a0e8a9b30fccf07051fbf20c1798c0d (diff)
targets/vdpau-nouveau: convert to static/shared pipe-drivers
Create a single library (for the vdpau api) thus reducing the overall size of mesa. Current commit converts vdpau-nouveau, with upcomming commits handling the rest. The library can be built with the relevant pipe-drivers statically linked in, or loaded as shared modules. Currently we default to static. Add SPLIT_TARGETS to guard the other VL targets. Note: symlink handling is rather ugly and will need an update to work with BSD and other non-linux platforms. v2: Split the conversion into per-target basis. Cc: Maarten Lankhorst <[email protected]> Cc: Ilia Mirkin <[email protected]> Signed-off-by: Emil Velikov <[email protected]> Tested-by: Thomas Helland <thomashelland90 at gmail.com>
Diffstat (limited to 'src/gallium/targets/r600/vdpau/Makefile.am')
-rw-r--r--src/gallium/targets/r600/vdpau/Makefile.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/targets/r600/vdpau/Makefile.am b/src/gallium/targets/r600/vdpau/Makefile.am
index 8125e2d61c6..1f92c560051 100644
--- a/src/gallium/targets/r600/vdpau/Makefile.am
+++ b/src/gallium/targets/r600/vdpau/Makefile.am
@@ -22,6 +22,8 @@
include $(top_srcdir)/src/gallium/Automake.inc
+AM_CPPFLAGS = \
+ -DSPLIT_TARGETS=1
AM_CFLAGS = \
$(GALLIUM_VIDEO_CFLAGS)