Blame sofort/exrules/pe-version.mk

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