Blame sofort/exrules/pe-version.mk

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