Blame sofort/exrules/pe-version.mk

b0d9d6
# pe-version.mk: handling of PE shared library versioning schemes.
b0d9d6
# this file is covered by COPYING.SOFORT.
b0d9d6
b0d9d6
ifeq ($(AVOID_VERSION),yes)
b0d9d6
b0d9d6
package-implib-soname:
b0d9d6
package-implib-solink:
b0d9d6
package-install-implib-soname:
b0d9d6
package-install-implib-solink:
b0d9d6
b0d9d6
else
b0d9d6
b0d9d6
package-implib-soname:		implib-soname
b0d9d6
package-implib-solink:		implib-solink
b0d9d6
package-install-implib-soname:	install-implib-soname
b0d9d6
package-install-implib-solink:	install-implib-solink
b0d9d6
b0d9d6
b0d9d6
$(IMPLIB_SOLINK):	$(IMPLIB_SONAME)
b0d9d6
			rm -f $(IMPLIB_SOLINK).tmp
b0d9d6
			ln -s $(IMP_SONAME) $(IMPLIB_SOLINK).tmp
b0d9d6
			mv $(IMPLIB_SOLINK).tmp $(IMPLIB_SOLINK)
b0d9d6
b0d9d6
install-implib-soname:	implib-soname
b0d9d6
			mkdir -p $(DESTDIR)$(LIBDIR)
b0d9d6
			cp $(IMPLIB_SONAME) $(DESTDIR)$(LIBDIR)
b0d9d6
b0d9d6
install-implib-solink:	implib-soname
b0d9d6
			mkdir -p $(DESTDIR)$(LIBDIR)
b0d9d6
			rm -f $(IMPLIB_SOLINK).tmp
b0d9d6
			ln -s $(IMP_SONAME) $(IMPLIB_SOLINK).tmp
b0d9d6
			mv $(IMPLIB_SOLINK).tmp $(DESTDIR)$(LIBDIR)/$(IMP_SOLINK)
b0d9d6
b0d9d6
endif