summaryrefslogtreecommitdiff
path: root/project/tagver.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:17:30 -0500
commit05b39e6e9b5d57100e6003230afb1fdb2d8b625c (patch)
tree36eea3fc76558d193e5e8d428b30f1ce9d9c0121 /project/tagver.mk
parent8f1f9af4a3219d59f6f03d7ddfa4221f125cc3e9 (diff)
downloadapimagic-05b39e6e9b5d57100e6003230afb1fdb2d8b625c.tar.bz2
apimagic-05b39e6e9b5d57100e6003230afb1fdb2d8b625c.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/tagver.mk')
0 files changed, 0 insertions, 0 deletions