Blame sofort/exrules/pe-version.mk

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