From 9df2c4956b6fc4fff1497923d42011c16e777322 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Thu, 12 Jun 2014 15:41:29 +0100 Subject: 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 Cc: Ilia Mirkin Signed-off-by: Emil Velikov Tested-by: Thomas Helland --- src/gallium/targets/omx-nouveau/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gallium/targets/omx-nouveau') diff --git a/src/gallium/targets/omx-nouveau/Makefile.am b/src/gallium/targets/omx-nouveau/Makefile.am index 40ae06ca859..3b2a1a52e13 100644 --- a/src/gallium/targets/omx-nouveau/Makefile.am +++ b/src/gallium/targets/omx-nouveau/Makefile.am @@ -22,6 +22,8 @@ include $(top_srcdir)/src/gallium/Automake.inc +AM_CPPFLAGS = \ + -DSPLIT_TARGETS=1 AM_CFLAGS = \ $(GALLIUM_VIDEO_CFLAGS) -- cgit v1.2.3