Blame sofort/exrules/pe-version.mk

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