Blame sofort/exrules/pe-version.mk

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