summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/dri/Makefile.am
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2014-12-07 11:30:58 -0800
committerMatt Turner <[email protected]>2014-12-12 12:11:49 -0800
commitb662d5282f77bec415ff430b94a5eb925d3f74e2 (patch)
tree1e1294a8538b0c620af86f4406e2f6cf53b02053 /src/gallium/targets/dri/Makefile.am
parent8e2577f2a9289417706bf190c5f12f33d2628b68 (diff)
mesa: Add clean-local rule to remove .lib links.
Diffstat (limited to 'src/gallium/targets/dri/Makefile.am')
-rw-r--r--src/gallium/targets/dri/Makefile.am6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gallium/targets/dri/Makefile.am b/src/gallium/targets/dri/Makefile.am
index 74fb2d6171f..da1d1ed0eb5 100644
--- a/src/gallium/targets/dri/Makefile.am
+++ b/src/gallium/targets/dri/Makefile.am
@@ -121,6 +121,12 @@ all-local: $(dri_LTLIBRARIES)
ln -f .libs/gallium_dri.so \
$${link_dir}/$${i}_dri.so; \
done
+
+clean-local:
+ $(AM_V_GEN)link_dir=$(top_builddir)/$(LIB_DIR)/gallium; \
+ $(AM_V_GEN)for i in $(TARGET_DRIVERS); do \
+ $(RM) -f $${link_dir}/$${i}_dri.so; \
+ done;
endif
# hardlink each megadriver instance, but don't actually have