Blame sofort/exrules/pe-version.mk

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