Done a major overhaul of the way target include files are installed and

how platform libraries are built. The ARCH pm variable has now been
renamed PLATFORM (which is more accurate) and a different ARCH
variable added, which represents the CPU family rather than the
hardware platform.
This commit is contained in:
dtrg
2007-02-20 00:46:10 +00:00
parent 809cd2ef0b
commit 5c5f711cbb
46 changed files with 322 additions and 170 deletions

View File

@@ -3,9 +3,13 @@
local d = ROOTDIR.."lang/pc/libpc/"
lang_pc_runtime = acklibrary {
ACKINCLUDES = {PARENT, "%ROOTDIR%h", "%ROOTDIR%include/_tail_cc"},
head = ackfile {
file (d.."head_pc.e"),
install = pm.install("%BINDIR%%PLATIND%/%PLATFORM%/head_pc")
}
tail = acklibrary {
ackfile (d.."abi.c"),
ackfile (d.."abl.c"),
ackfile (d.."abr.c"),
@@ -79,5 +83,13 @@ lang_pc_runtime = acklibrary {
ackfile (d.."rcka.c"),
ackfile (d.."trp.e"),
install = pm.install("%BINDIR%%PLATIND%/%ARCH%/tail_pc")
install = pm.install("%BINDIR%%PLATIND%/%PLATFORM%/tail_pc")
}
lang_pc_runtime = group {
ACKINCLUDES = {PARENT, "%ROOTDIR%h"},
head,
tail
}