Blame sofort/exrules/_pe/pe_version_used.mk

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