Module: Mesa
Branch: master
Commit: adc2922f9c9f0d9a74e06fb85d20a5bef54e0501
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=adc2922f9c9f0d9a74e06fb85d20a5bef54e0501

Author: Matt Turner <[email protected]>
Date:   Wed Dec 17 12:39:59 2014 -0800

targets/vdpau: Add clean-local rule to remove .lib links.

---

 src/gallium/targets/vdpau/Makefile.am |    6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/gallium/targets/vdpau/Makefile.am 
b/src/gallium/targets/vdpau/Makefile.am
index f9a8d23..6ac4905 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

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to