diff options
author | midipix <writeonce@midipix.org> | 2018-11-25 05:05:44 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2018-11-25 09:20:48 -0500 |
commit | 85d2132038ff3261c7adb64202f486aa27781437 (patch) | |
tree | 01f701f1974cde39610a117594b1ce626113e37f /project/osforce.mk | |
parent | 478dbda45ce373c7967e98d682397efdb8680b70 (diff) | |
download | ntapi-85d2132038ff3261c7adb64202f486aa27781437.tar.bz2 ntapi-85d2132038ff3261c7adb64202f486aa27781437.tar.xz |
build system: PE, ELF: defined DSO_REF_VER, DSO_REF_SONAME, DSO_REF_SOLINK.
These definitions come in handy when a project generates alongside
its ``primary shared library'' one or more ``extension libraries''
that depend on it. When the rules for generating extension
libraries use the $^ directive, the above dependency must
be declared in a target-aware manner.
In most cases, one would want to express this dependency by way
of $(DSO_REF_SONAME), thereby pulling in lib/libfoo.so.$(MAJOR)
on ELF targets, lib/libfoo.$(MAJOR).lib.a on midipix targets,
and lib/libfoo.$(MAJOR).dll.a on win32 targets.
Diffstat (limited to 'project/osforce.mk')
0 files changed, 0 insertions, 0 deletions