targets/vdpau: use install-gallium-links.mk
authorEmil Velikov <emil.l.velikov@gmail.com>
Sat, 8 Mar 2014 19:04:22 +0000 (19:04 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Tue, 11 Mar 2014 12:50:42 +0000 (12:50 +0000)
Drop the duplication across all vdpau targets.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
src/gallium/targets/r600/vdpau/Makefile.am
src/gallium/targets/radeonsi/vdpau/Makefile.am
src/gallium/targets/vdpau-nouveau/Makefile.am

index 8d2e70137ee1d6fd8215900c1d7d210821b1cc3d..d71bcc52842b1f21eb575cd97bc51ddf63d04e9a 100644 (file)
@@ -53,8 +53,4 @@ libvdpau_r600_la_LDFLAGS += $(LLVM_LDFLAGS)
 libvdpau_r600_la_LIBADD += $(LLVM_LIBS)
 endif
 
-# Provide compatibility with scripts for the old Mesa build system for
-# a while by putting a link to the driver into /lib of the build tree.
-all-local: libvdpau_r600.la
-       $(MKDIR_P) $(top_builddir)/$(LIB_DIR)/gallium
-       ln -f .libs/libvdpau_r600.so* $(top_builddir)/$(LIB_DIR)/gallium/
+include $(top_srcdir)/install-gallium-links.mk
index 8e2761368422ee5319706e67640360465b6756e9..fc21e4b8cbd93d2bcb3aac6d9b3935069cec9046 100644 (file)
@@ -51,8 +51,4 @@ libvdpau_radeonsi_la_LDFLAGS += $(LLVM_LDFLAGS)
 libvdpau_radeonsi_la_LIBADD += $(LLVM_LIBS)
 endif
 
-# Provide compatibility with scripts for the old Mesa build system for
-# a while by putting a link to the driver into /lib of the build tree.
-all-local: libvdpau_radeonsi.la
-       $(MKDIR_P) $(top_builddir)/$(LIB_DIR)/gallium
-       ln -f .libs/libvdpau_radeonsi.so* $(top_builddir)/$(LIB_DIR)/gallium/
+include $(top_srcdir)/install-gallium-links.mk
index 66738f1d4121e2d145a2086a10fba4da82c18beb..7ed06994dea64c39387170d45cdd7777e8aebef8 100644 (file)
@@ -50,8 +50,4 @@ libvdpau_nouveau_la_LDFLAGS += $(LLVM_LDFLAGS)
 libvdpau_nouveau_la_LIBADD += $(LLVM_LIBS)
 endif
 
-# Provide compatibility with scripts for the old Mesa build system for
-# a while by putting a link to the driver into /lib of the build tree.
-all-local: libvdpau_nouveau.la
-       $(MKDIR_P) $(top_builddir)/$(LIB_DIR)/gallium
-       ln -f .libs/libvdpau_nouveau.so* $(top_builddir)/$(LIB_DIR)/gallium/
+include $(top_srcdir)/install-gallium-links.mk