summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/xvmc
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2014-06-12 16:59:58 +0100
committerEmil Velikov <[email protected]>2014-06-22 23:06:07 +0100
commitdf71b39f5c5cef375ec1124e32b21cbb10acb0b2 (patch)
tree347ca0c16d544179d0b4317b57553f21a3bf0a36 /src/gallium/targets/xvmc
parentdc01ca44a796ab7cc5452913c495ba90ebb648b8 (diff)
targets/r600/xvmc: convert to static/shared pipe-drivers
The r600 equivalent of previous commit. v2: Correctly include the radeon winsys/radeon_common. Cc: Christian König <[email protected]> Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Christian König <[email protected]> Tested-by: Thomas Helland <thomashelland90 at gmail.com>
Diffstat (limited to 'src/gallium/targets/xvmc')
-rw-r--r--src/gallium/targets/xvmc/Makefile.am10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/gallium/targets/xvmc/Makefile.am b/src/gallium/targets/xvmc/Makefile.am
index 44b40043e25..227fde668a7 100644
--- a/src/gallium/targets/xvmc/Makefile.am
+++ b/src/gallium/targets/xvmc/Makefile.am
@@ -47,6 +47,16 @@ STATIC_TARGET_LIB_DEPS += \
$(NOUVEAU_LIBS)
endif
+if HAVE_GALLIUM_R600
+MEGADRIVERS += r600
+STATIC_TARGET_CPPFLAGS += -DGALLIUM_R600
+STATIC_TARGET_LIB_DEPS += \
+ $(top_builddir)/src/gallium/winsys/radeon/drm/libradeonwinsys.la \
+ $(top_builddir)/src/gallium/drivers/radeon/libradeon.la \
+ $(top_builddir)/src/gallium/drivers/r600/libr600.la \
+ $(RADEON_LIBS)
+endif
+
libXvMCgallium_la_SOURCES += target.c
libXvMCgallium_la_CPPFLAGS = $(STATIC_TARGET_CPPFLAGS)
libXvMCgallium_la_LIBADD += $(STATIC_TARGET_LIB_DEPS)