diff options
author | midipix <writeonce@midipix.org> | 2018-12-26 08:48:48 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2018-12-31 21:36:45 -0500 |
commit | f7f887d5191514f5cd61db8f9e4cb9676c296abf (patch) | |
tree | e625a8482ac45336aae39c05ae51976f71674e1c /sofort/exrules/pe-version.mk | |
parent | eb9c1bcf86daeb0dab4164ce59c68f2008f3d774 (diff) | |
download | slibtool-f7f887d5191514f5cd61db8f9e4cb9676c296abf.tar.bz2 slibtool-f7f887d5191514f5cd61db8f9e4cb9676c296abf.tar.xz |
build system: major overhaul: removed sysinfo, integrated ccenv.
Diffstat (limited to 'sofort/exrules/pe-version.mk')
-rw-r--r-- | sofort/exrules/pe-version.mk | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/sofort/exrules/pe-version.mk b/sofort/exrules/pe-version.mk new file mode 100644 index 0000000..38714b4 --- /dev/null +++ b/sofort/exrules/pe-version.mk @@ -0,0 +1,31 @@ +ifeq ($(AVOID_VERSION),yes) + +package-implib-soname: +package-implib-solink: +package-install-implib-soname: +package-install-implib-solink: + +else + +package-implib-soname: implib-soname +package-implib-solink: implib-solink +package-install-implib-soname: install-implib-soname +package-install-implib-solink: install-implib-solink + + +$(IMPLIB_SOLINK): $(IMPLIB_SONAME) + rm -f $(IMPLIB_SOLINK).tmp + ln -s $(IMP_SONAME) $(IMPLIB_SOLINK).tmp + mv $(IMPLIB_SOLINK).tmp $(IMPLIB_SOLINK) + +install-implib-soname: implib-soname + mkdir -p $(DESTDIR)$(LIBDIR) + cp $(IMPLIB_SONAME) $(DESTDIR)$(LIBDIR) + +install-implib-solink: implib-soname + mkdir -p $(DESTDIR)$(LIBDIR) + rm -f $(IMPLIB_SOLINK).tmp + ln -s $(IMP_SONAME) $(IMPLIB_SOLINK).tmp + mv $(IMPLIB_SOLINK).tmp $(DESTDIR)$(LIBDIR)/$(IMP_SOLINK) + +endif |