Commit b662d528 authored by Matt Turner's avatar Matt Turner

mesa: Add clean-local rule to remove .lib links.

parent 8e2577f2
......@@ -14,5 +14,11 @@ all-local : .libs/install-mesa-links
ln -f $$f $(top_builddir)/$(LIB_DIR); \
fi; \
done && touch $@
clean-local:
for f in $(notdir $(lib_LTLIBRARIES:%.la=.libs/%.$(LIB_EXT)*)); do \
$(RM) $(top_builddir)/$(LIB_DIR)/$$f; \
done;
endif
endif
......@@ -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
......
......@@ -77,6 +77,12 @@ all-local: mesa_dri_drivers.la
ln -f $(top_builddir)/$(LIB_DIR)/mesa_dri_drivers.so \
$(top_builddir)/$(LIB_DIR)/$$i; \
done;
clean-local:
$(AM_V_GEN)$(RM) $(top_builddir)/$(LIB_DIR)/mesa_dri_drivers.so;
$(AM_V_GEN)for i in $(MEGADRIVERS); do \
$(RM) -f $(top_builddir)/$(LIB_DIR)/$$i; \
done;
endif
# hardlink each megadriver instance, but don't actually have
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment