Blame sofort/exrules/pe-version.mk

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