Blame sofort/exrules/pe-version.mk

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