diff options
author | midipix <writeonce@midipix.org> | 2021-04-11 04:11:56 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2021-04-11 04:15:27 +0000 |
commit | 166d7842dcc231edbf19e9cfb1d0b2b4b0bf316e (patch) | |
tree | 4d4c9097892887ba07b5d7d0fd76be85664eb690 /sofort/exrules/_pe | |
parent | 4f9a5d29c736533cfe785cec9a71534e9e0e4a7c (diff) | |
download | ptycon-166d7842dcc231edbf19e9cfb1d0b2b4b0bf316e.tar.bz2 ptycon-166d7842dcc231edbf19e9cfb1d0b2b4b0bf316e.tar.xz |
build system: posix make support: refactored PE library versioning rules.
Diffstat (limited to 'sofort/exrules/_pe')
-rw-r--r-- | sofort/exrules/_pe/pe_mdso_version_none.mk | 2 | ||||
-rw-r--r-- | sofort/exrules/_pe/pe_mdso_version_used.mk | 5 | ||||
-rw-r--r-- | sofort/exrules/_pe/pe_version_none.mk | 7 | ||||
-rw-r--r-- | sofort/exrules/_pe/pe_version_used.mk | 23 |
4 files changed, 37 insertions, 0 deletions
diff --git a/sofort/exrules/_pe/pe_mdso_version_none.mk b/sofort/exrules/_pe/pe_mdso_version_none.mk new file mode 100644 index 0000000..cf5e350 --- /dev/null +++ b/sofort/exrules/_pe/pe_mdso_version_none.mk @@ -0,0 +1,2 @@ +# pe_mdso_version_none.mk: PE shared library rules for targets using mdso. +# this file is covered by COPYING.SOFORT. diff --git a/sofort/exrules/_pe/pe_mdso_version_used.mk b/sofort/exrules/_pe/pe_mdso_version_used.mk new file mode 100644 index 0000000..fac0246 --- /dev/null +++ b/sofort/exrules/_pe/pe_mdso_version_used.mk @@ -0,0 +1,5 @@ +# pe_mdso_version_used.mk: PE shared library rules for targets using mdso. +# this file is covered by COPYING.SOFORT. + +$(IMPLIB_SONAME): $(IMPLIB_DEF) + $(MDSO) -m $(CC_BITS) -i $(IMPLIB_SONAME) -n $(DSO_SONAME) $(IMPLIB_DEF) diff --git a/sofort/exrules/_pe/pe_version_none.mk b/sofort/exrules/_pe/pe_version_none.mk new file mode 100644 index 0000000..df33976 --- /dev/null +++ b/sofort/exrules/_pe/pe_version_none.mk @@ -0,0 +1,7 @@ +# pe_version_none.mk: handling of PE shared library versioning schemes. +# this file is covered by COPYING.SOFORT. + +package-implib-soname: +package-implib-solink: +package-install-implib-soname: +package-install-implib-solink: diff --git a/sofort/exrules/_pe/pe_version_used.mk b/sofort/exrules/_pe/pe_version_used.mk new file mode 100644 index 0000000..8710dae --- /dev/null +++ b/sofort/exrules/_pe/pe_version_used.mk @@ -0,0 +1,23 @@ +# pe_version_used.mk: handling of PE shared library versioning schemes. +# this file is covered by COPYING.SOFORT. + +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) |