summaryrefslogtreecommitdiff
path: root/sysinfo/compiler/cparser.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:31 -0500
commiteb3d1adb42aeea3d92929554d93b536256b01ca0 (patch)
tree5a0e488b7db6b027759c7547e31cc4085f512936 /sysinfo/compiler/cparser.mk
parent8b45c8b2285b75dcd6881e18a5b74b5920fc619b (diff)
downloadbfirm-eb3d1adb42aeea3d92929554d93b536256b01ca0.tar.bz2
bfirm-eb3d1adb42aeea3d92929554d93b536256b01ca0.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 'sysinfo/compiler/cparser.mk')
0 files changed, 0 insertions, 0 deletions