summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/vdpau
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2014-12-17 12:39:59 -0800
committerMatt Turner <[email protected]>2014-12-17 17:54:33 -0800
commitadc2922f9c9f0d9a74e06fb85d20a5bef54e0501 (patch)
treeac0e213cc68b8303acdbfd28ae0375f991cea31b /src/gallium/targets/vdpau
parent06890c444a893a96b6ec1cfb36f77915ec9acda8 (diff)
targets/vdpau: Add clean-local rule to remove .lib links.
Diffstat (limited to 'src/gallium/targets/vdpau')
-rw-r--r--src/gallium/targets/vdpau/Makefile.am6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gallium/targets/vdpau/Makefile.am b/src/gallium/targets/vdpau/Makefile.am
index f9a8d236f39..6ac4905de0a 100644
--- a/src/gallium/targets/vdpau/Makefile.am
+++ b/src/gallium/targets/vdpau/Makefile.am
@@ -93,6 +93,12 @@ all-local: $(vdpau_LTLIBRARIES)
ln -sf $${l} \
$${link_dir}/$${k}; \
done
+
+clean-local:
+ $(AM_V_GEN)link_dir=$(top_builddir)/$(LIB_DIR)/gallium; \
+ $(AM_V_GEN)for i in $(TARGET_DRIVERS); do \
+ $(RM) $${link_dir}/libvdpau_$${i}.so{,.$(VDPAU_MAJOR){,.$(VDPAU_MINOR){,.0}}}; \
+ done;
endif
# hardlink each megadriver instance, but don't actually have