[Mesa-dev] [PATCH 18/37] targets/xvmc: symlink vl_winsys_{dri, xsp}.c for each target

Emil Velikov emil.l.velikov at gmail.com
Sat Nov 2 12:00:48 PDT 2013


Make automake's subdir-objects work.

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
---
 src/gallium/targets/r300/xvmc/Makefile.am         | 2 +-
 src/gallium/targets/r300/xvmc/vl_winsys_dri.c     | 1 +
 src/gallium/targets/r600/xvmc/Makefile.am         | 2 +-
 src/gallium/targets/r600/xvmc/vl_winsys_dri.c     | 1 +
 src/gallium/targets/xvmc-nouveau/Makefile.am      | 2 +-
 src/gallium/targets/xvmc-nouveau/vl_winsys_dri.c  | 1 +
 src/gallium/targets/xvmc-softpipe/Makefile.am     | 2 +-
 src/gallium/targets/xvmc-softpipe/vl_winsys_xsp.c | 1 +
 8 files changed, 8 insertions(+), 4 deletions(-)
 create mode 120000 src/gallium/targets/r300/xvmc/vl_winsys_dri.c
 create mode 120000 src/gallium/targets/r600/xvmc/vl_winsys_dri.c
 create mode 120000 src/gallium/targets/xvmc-nouveau/vl_winsys_dri.c
 create mode 120000 src/gallium/targets/xvmc-softpipe/vl_winsys_xsp.c

diff --git a/src/gallium/targets/r300/xvmc/Makefile.am b/src/gallium/targets/r300/xvmc/Makefile.am
index 079a0eb..93aac0b 100644
--- a/src/gallium/targets/r300/xvmc/Makefile.am
+++ b/src/gallium/targets/r300/xvmc/Makefile.am
@@ -37,7 +37,7 @@ xvmc_LTLIBRARIES = libXvMCr300.la
 nodist_EXTRA_libXvMCr300_la_SOURCES = dummy.cpp
 libXvMCr300_la_SOURCES = \
 	../drm_target.c \
-	$(top_srcdir)/src/gallium/auxiliary/vl/vl_winsys_dri.c
+	vl_winsys_dri.c
 
 libXvMCr300_la_LDFLAGS = \
 	-module \
diff --git a/src/gallium/targets/r300/xvmc/vl_winsys_dri.c b/src/gallium/targets/r300/xvmc/vl_winsys_dri.c
new file mode 120000
index 0000000..f132503
--- /dev/null
+++ b/src/gallium/targets/r300/xvmc/vl_winsys_dri.c
@@ -0,0 +1 @@
+../../../auxiliary/vl/vl_winsys_dri.c
\ No newline at end of file
diff --git a/src/gallium/targets/r600/xvmc/Makefile.am b/src/gallium/targets/r600/xvmc/Makefile.am
index 2083b87..8ca4cee 100644
--- a/src/gallium/targets/r600/xvmc/Makefile.am
+++ b/src/gallium/targets/r600/xvmc/Makefile.am
@@ -36,7 +36,7 @@ xvmc_LTLIBRARIES = libXvMCr600.la
 
 libXvMCr600_la_SOURCES = \
 	../drm_target.c \
-	$(top_srcdir)/src/gallium/auxiliary/vl/vl_winsys_dri.c
+	vl_winsys_dri.c
 
 libXvMCr600_la_LDFLAGS = \
 	-module \
diff --git a/src/gallium/targets/r600/xvmc/vl_winsys_dri.c b/src/gallium/targets/r600/xvmc/vl_winsys_dri.c
new file mode 120000
index 0000000..f132503
--- /dev/null
+++ b/src/gallium/targets/r600/xvmc/vl_winsys_dri.c
@@ -0,0 +1 @@
+../../../auxiliary/vl/vl_winsys_dri.c
\ No newline at end of file
diff --git a/src/gallium/targets/xvmc-nouveau/Makefile.am b/src/gallium/targets/xvmc-nouveau/Makefile.am
index f3d6b1e..c7b31e5 100644
--- a/src/gallium/targets/xvmc-nouveau/Makefile.am
+++ b/src/gallium/targets/xvmc-nouveau/Makefile.am
@@ -36,7 +36,7 @@ xvmc_LTLIBRARIES = libXvMCnouveau.la
 nodist_EXTRA_libXvMCnouveau_la_SOURCES = dummy.cpp
 libXvMCnouveau_la_SOURCES = \
 	target.c \
-	$(top_srcdir)/src/gallium/auxiliary/vl/vl_winsys_dri.c
+	vl_winsys_dri.c
 
 libXvMCnouveau_la_LDFLAGS = \
 	-module \
diff --git a/src/gallium/targets/xvmc-nouveau/vl_winsys_dri.c b/src/gallium/targets/xvmc-nouveau/vl_winsys_dri.c
new file mode 120000
index 0000000..be81d8a
--- /dev/null
+++ b/src/gallium/targets/xvmc-nouveau/vl_winsys_dri.c
@@ -0,0 +1 @@
+../../auxiliary/vl/vl_winsys_dri.c
\ No newline at end of file
diff --git a/src/gallium/targets/xvmc-softpipe/Makefile.am b/src/gallium/targets/xvmc-softpipe/Makefile.am
index eea6700..1cf2254 100644
--- a/src/gallium/targets/xvmc-softpipe/Makefile.am
+++ b/src/gallium/targets/xvmc-softpipe/Makefile.am
@@ -35,7 +35,7 @@ xvmcdir = $(XVMC_LIB_INSTALL_DIR)
 xvmc_LTLIBRARIES = libXvMCsoftpipe.la
 
 libXvMCsoftpipe_la_SOURCES = \
-	$(top_srcdir)/src/gallium/auxiliary/vl/vl_winsys_xsp.c
+	vl_winsys_xsp.c
 
 libXvMCsoftpipe_la_LDFLAGS = \
 	-module \
diff --git a/src/gallium/targets/xvmc-softpipe/vl_winsys_xsp.c b/src/gallium/targets/xvmc-softpipe/vl_winsys_xsp.c
new file mode 120000
index 0000000..7f5ff53
--- /dev/null
+++ b/src/gallium/targets/xvmc-softpipe/vl_winsys_xsp.c
@@ -0,0 +1 @@
+../../auxiliary/vl/vl_winsys_xsp.c
\ No newline at end of file
-- 
1.8.4.2



More information about the mesa-dev mailing list