Blame sofort/exrules/pe-version.mk

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