Revision d3cb93b3 subdir.mak

View differences:

subdir.mak
84 84
	install -m 644 $(addprefix $(SUBDIR),$(BUILT_HEADERS)) "$(INCINSTDIR)"
85 85
endif
86 86
	install -m 644 $(BUILD_ROOT)/lib$(NAME)/lib$(NAME).pc "$(LIBDIR)/pkgconfig"
87

  
88
uninstall-libs::
89
	-rm -f "$(SHLIBDIR)/$(SLIBNAME_WITH_MAJOR)" \
90
	       "$(SHLIBDIR)/$(SLIBNAME)"            \
91
	       "$(SHLIBDIR)/$(SLIBNAME_WITH_VERSION)"
92
	-$(SLIB_UNINSTALL_EXTRA_CMD)
93
	-rm -f "$(LIBDIR)/$(LIBNAME)"
94

  
95
uninstall-headers::
96
	rm -f $(addprefix "$(INCINSTDIR)/",$(HEADERS))
97
	rm -f "$(LIBDIR)/pkgconfig/lib$(NAME).pc"
98
	-rmdir "$(INCDIR)"
87 99
endef
88 100

  
89 101
$(eval $(RULES))

Also available in: Unified diff