Blame sofort/exrules/_pe/pe_version_used.mk

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