Blame sofort/exrules/pe-version.mk

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