targets/radeonsi: move drm_target.c to a common folder
authorEmil Velikov <emil.l.velikov@gmail.com>
Sat, 9 Nov 2013 22:46:20 +0000 (22:46 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Sat, 16 Nov 2013 14:02:52 +0000 (14:02 +0000)
... and symlink to each target.
Make automake's subdir-objects work for radeonsi.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
src/gallium/targets/radeonsi/common/drm_target.c [moved from src/gallium/targets/radeonsi/drm_target.c with 100% similarity]
src/gallium/targets/radeonsi/dri/Makefile.am
src/gallium/targets/radeonsi/dri/drm_target.c [new symlink]
src/gallium/targets/radeonsi/vdpau/Makefile.am
src/gallium/targets/radeonsi/vdpau/drm_target.c [new symlink]

index 8a78f1b..9eb21cd 100644 (file)
@@ -42,7 +42,7 @@ dri_LTLIBRARIES = radeonsi_dri.la
 
 nodist_EXTRA_radeonsi_dri_la_SOURCES = dummy.cpp
 radeonsi_dri_la_SOURCES = \
-       ../drm_target.c
+       drm_target.c
 
 radeonsi_dri_la_LDFLAGS = $(DRI_DRIVER_LDFLAGS)
 
diff --git a/src/gallium/targets/radeonsi/dri/drm_target.c b/src/gallium/targets/radeonsi/dri/drm_target.c
new file mode 120000 (symlink)
index 0000000..6955421
--- /dev/null
@@ -0,0 +1 @@
+../common/drm_target.c
\ No newline at end of file
index f21b340..a4d97fe 100644 (file)
@@ -38,7 +38,7 @@ EXPORTS = '^(vdp_imp_device_create_x11|radeon_drm_winsys_create)$$'
 
 nodist_EXTRA_libvdpau_radeonsi_la_SOURCES = dummy.cpp
 libvdpau_radeonsi_la_SOURCES = \
-       ../drm_target.c \
+       drm_target.c \
        $(top_srcdir)/src/gallium/auxiliary/vl/vl_winsys_dri.c
 
 libvdpau_radeonsi_la_LDFLAGS = \
diff --git a/src/gallium/targets/radeonsi/vdpau/drm_target.c b/src/gallium/targets/radeonsi/vdpau/drm_target.c
new file mode 120000 (symlink)
index 0000000..6955421
--- /dev/null
@@ -0,0 +1 @@
+../common/drm_target.c
\ No newline at end of file