summaryrefslogtreecommitdiffhomepage
path: root/project/osforce.mk
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-11-25 05:05:44 -0500
committermidipix <writeonce@midipix.org>2018-11-25 09:21:10 -0500
commitc0b41930114d0d0be17a5cde98dd90101555559a (patch)
tree5ba77fe2cf6dcb33dd1adae33f7b2c03fddbd5de /project/osforce.mk
parentb9047ccac8bd81efc555c5966c81612920756cd2 (diff)
downloadntcon-c0b41930114d0d0be17a5cde98dd90101555559a.tar.bz2
ntcon-c0b41930114d0d0be17a5cde98dd90101555559a.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