Blame sofort/exrules/pe-version.mk

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