Uninstall DLL and import lib

This commit is contained in:
Vincent Torri 2018-11-21 09:07:26 +01:00
parent 8e8b658bde
commit bd2b259760

View File

@ -204,9 +204,14 @@ endif
uninstall: uninstall:
$(Q)$(RM) $(DESTDIR)$(pkgconfigdir)/liblz4.pc $(Q)$(RM) $(DESTDIR)$(pkgconfigdir)/liblz4.pc
ifneq (,$(filter Windows%,$(OS)))
$(Q)$(RM) $(DESTDIR)$(bindir)/$(LIBLZ4).dll
$(Q)$(RM) $(DESTDIR)$(libdir)/liblz4.lib
else
$(Q)$(RM) $(DESTDIR)$(libdir)/liblz4.$(SHARED_EXT) $(Q)$(RM) $(DESTDIR)$(libdir)/liblz4.$(SHARED_EXT)
$(Q)$(RM) $(DESTDIR)$(libdir)/liblz4.$(SHARED_EXT_MAJOR) $(Q)$(RM) $(DESTDIR)$(libdir)/liblz4.$(SHARED_EXT_MAJOR)
$(Q)$(RM) $(DESTDIR)$(libdir)/liblz4.$(SHARED_EXT_VER) $(Q)$(RM) $(DESTDIR)$(libdir)/liblz4.$(SHARED_EXT_VER)
endif
$(Q)$(RM) $(DESTDIR)$(libdir)/liblz4.a $(Q)$(RM) $(DESTDIR)$(libdir)/liblz4.a
$(Q)$(RM) $(DESTDIR)$(includedir)/lz4.h $(Q)$(RM) $(DESTDIR)$(includedir)/lz4.h
$(Q)$(RM) $(DESTDIR)$(includedir)/lz4hc.h $(Q)$(RM) $(DESTDIR)$(includedir)/lz4hc.h