diff options
author | midipix <writeonce@midipix.org> | 2018-11-25 05:05:44 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2018-11-25 09:18:45 -0500 |
commit | 4170e8e8889b75a6689640f27b97241e272f4496 (patch) | |
tree | 7a257028209c6d15643f9dc84946745a53314307 /sysinfo/compiler/cparser.mk | |
parent | d1328076d2af9980533562809b2449bbca0a60c1 (diff) | |
download | perk-4170e8e8889b75a6689640f27b97241e272f4496.tar.bz2 perk-4170e8e8889b75a6689640f27b97241e272f4496.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