-clean::
- rm -f *.o *.d *~ *.a *.lib *.so *.so.* *.dylib *.dll \
- *.lib *.def *.dll.a *.exp
-
-distclean: clean
- rm -f .depend
-
-ifeq ($(BUILD_SHARED),yes)
-INSTLIBTARGETS += install-lib-shared
-endif
-ifeq ($(BUILD_STATIC),yes)
-INSTLIBTARGETS += install-lib-static
-endif
-
-install: install-libs install-headers
-
-install-libs: $(INSTLIBTARGETS)
-
-install-lib-shared: $(SLIBNAME)
- install -d "$(shlibdir)"
- install $(INSTALLSTRIP) -m 755 $(SLIBNAME) \
- "$(shlibdir)/$(SLIBNAME_WITH_VERSION)"
- cd "$(shlibdir)" && \
- ln -sf $(SLIBNAME_WITH_VERSION) $(SLIBNAME_WITH_MAJOR)
- cd "$(shlibdir)" && \
- ln -sf $(SLIBNAME_WITH_VERSION) $(SLIBNAME)