Clean up how the language libraries refer to plat headers; they should be using

the +pkg forms of the rules and getting the headers via the paths in descr,
rather than depending on the +headers version.
This commit is contained in:
David Given 2016-12-05 21:05:24 +01:00
parent c5aff6fc2e
commit c569ca15d8
8 changed files with 12 additions and 12 deletions

View file

@ -10,8 +10,8 @@ for _, plat in ipairs(vars.plats) do
hdrs = {}, -- must be empty hdrs = {}, -- must be empty
deps = { deps = {
"h+emheaders", "h+emheaders",
"lang/cem/libcc.ansi/headers+headers", "lang/cem/libcc.ansi/headers+pkg",
"plat/"..plat.."/include+headers", "plat/"..plat.."/include+pkg",
}, },
vars = { plat = plat } vars = { plat = plat }
} }

View file

@ -51,8 +51,8 @@ for _, plat in ipairs(vars.plats) do
}, },
hdrs = {}, -- must be empty hdrs = {}, -- must be empty
deps = { deps = {
"lang/cem/libcc.ansi/headers+headers", "lang/cem/libcc.ansi/headers+pkg",
"plat/"..plat.."/include+headers", "plat/"..plat.."/include+pkg",
"./malloc/malloc.h", "./malloc/malloc.h",
"./math/localmath.h", "./math/localmath.h",
"./stdio/loc_incl.h", "./stdio/loc_incl.h",

View file

@ -29,8 +29,8 @@ for _, plat in ipairs(vars.plats) do
}, },
hdrs = {}, -- must be empty hdrs = {}, -- must be empty
deps = { deps = {
"lang/cem/libcc.ansi/headers+headers", "lang/cem/libcc.ansi/headers+pkg",
"plat/"..plat.."/include+headers", "plat/"..plat.."/include+pkg",
"h+emheaders", "h+emheaders",
}, },
vars = { plat = plat } vars = { plat = plat }

View file

@ -17,8 +17,8 @@ for _, plat in ipairs(vars.plats) do
}, },
hdrs = {}, -- must be empty hdrs = {}, -- must be empty
deps = { deps = {
"lang/cem/libcc.ansi/headers+headers", "lang/cem/libcc.ansi/headers+pkg",
"plat/"..plat.."/include+headers", "plat/"..plat.."/include+pkg",
"h+emheaders", "h+emheaders",
}, },
vars = { plat = plat } vars = { plat = plat }

View file

@ -1,4 +1,4 @@
installable { installable {
name = "headers", name = "pkg",
map = { "plat/osx/include+pkg" } map = { "plat/osx/include+pkg" }
} }

View file

@ -27,7 +27,7 @@ acklibrary {
}, },
deps = { deps = {
"lang/cem/libcc.ansi/headers+headers", "lang/cem/libcc.ansi/headers+headers",
"plat/osx386/include+headers", "plat/osx386/include+pkg",
}, },
vars = { vars = {
plat = "osx386" plat = "osx386"

View file

@ -1,4 +1,4 @@
installable { installable {
name = "headers", name = "pkg",
map = { "plat/osx/include+pkg" } map = { "plat/osx/include+pkg" }
} }

View file

@ -27,7 +27,7 @@ acklibrary {
}, },
deps = { deps = {
"lang/cem/libcc.ansi/headers+headers", "lang/cem/libcc.ansi/headers+headers",
"plat/osxppc/include+headers", "plat/osxppc/include+pkg",
}, },
vars = { vars = {
plat = "osxppc" plat = "osxppc"