09157951638 / compilers / bcparser

Forked from compilers/bcparser a year ago
Clone

Blame sofort/exrules/pe-version.mk

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