Blame sofort/exrules/_pe/pe_version_used.mk

68b9fe
# pe_version_used.mk: handling of PE shared library versioning schemes.
68b9fe
# this file is covered by COPYING.SOFORT.
68b9fe
68b9fe
package-implib-soname:		implib-soname
68b9fe
package-implib-solink:		implib-solink
68b9fe
package-install-implib-soname:	install-implib-soname
68b9fe
package-install-implib-solink:	install-implib-solink
68b9fe
68b9fe
68b9fe
$(IMPLIB_SOLINK):	$(IMPLIB_SONAME)
68b9fe
			rm -f $(IMPLIB_SOLINK).tmp
68b9fe
			ln -s $(IMP_SONAME) $(IMPLIB_SOLINK).tmp
68b9fe
			mv $(IMPLIB_SOLINK).tmp $(IMPLIB_SOLINK)
68b9fe
68b9fe
install-implib-soname:	implib-soname
68b9fe
			mkdir -p $(DESTDIR)$(LIBDIR)
68b9fe
			cp $(IMPLIB_SONAME) $(DESTDIR)$(LIBDIR)
68b9fe
68b9fe
install-implib-solink:	implib-soname
68b9fe
			mkdir -p $(DESTDIR)$(LIBDIR)
68b9fe
			rm -f $(IMPLIB_SOLINK).tmp
68b9fe
			ln -s $(IMP_SONAME) $(IMPLIB_SOLINK).tmp
68b9fe
			mv $(IMPLIB_SOLINK).tmp $(DESTDIR)$(LIBDIR)/$(IMP_SOLINK)