diff options
Diffstat (limited to 'src/gallium/targets/dri/Makefile.am')
-rw-r--r-- | src/gallium/targets/dri/Makefile.am | 6 |
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 |