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:33 -0500
commit68d5db9ee67071263827af399d1c809bc14a83dd (patch)
tree1131ae0cb5c733f82139fca70011e01518d6073a /project/tagver.mk
parent92f35785dc8d958f0f70991a259f2ae885928dff (diff)
downloadmdso-68d5db9ee67071263827af399d1c809bc14a83dd.tar.bz2
mdso-68d5db9ee67071263827af399d1c809bc14a83dd.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