summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/dri/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/targets/dri/Makefile.am')
-rw-r--r--src/gallium/targets/dri/Makefile.am5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/targets/dri/Makefile.am b/src/gallium/targets/dri/Makefile.am
index 009153594a9..74fb2d6171f 100644
--- a/src/gallium/targets/dri/Makefile.am
+++ b/src/gallium/targets/dri/Makefile.am
@@ -131,3 +131,8 @@ install-data-hook:
$(DESTDIR)$(dridir)/$${i}_dri.so; \
done; \
$(RM) -f $(DESTDIR)$(dridir)/gallium_dri.*
+
+uninstall-hook:
+ for i in $(TARGET_DRIVERS); do \
+ $(RM) -f $(DESTDIR)$(dridir)/$${i}_dri.so; \
+ done;