All the amisc binaries now build.
This commit is contained in:
parent
1978867fd2
commit
d805052205
5 changed files with 46 additions and 12 deletions
|
@ -2,7 +2,7 @@ installable {
|
||||||
name = "ack",
|
name = "ack",
|
||||||
map = {
|
map = {
|
||||||
"util/ack+ack-pkg",
|
"util/ack+ack-pkg",
|
||||||
"util/amisc+aelflod-pkg",
|
"util/amisc+pkg",
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -162,7 +162,7 @@ definerule("cprogram",
|
||||||
commands = {
|
commands = {
|
||||||
type="strings",
|
type="strings",
|
||||||
default={
|
default={
|
||||||
"$(CC) -o %{outs[1]} %{ins}"
|
"$(CC) -o %{outs[1]} %{ins} %{ins}"
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -13,7 +13,9 @@ bundle {
|
||||||
name = "emheaders",
|
name = "emheaders",
|
||||||
srcs = {
|
srcs = {
|
||||||
"./em_*.h",
|
"./em_*.h",
|
||||||
|
"./arch.h",
|
||||||
"./out.h",
|
"./out.h",
|
||||||
|
"./ranlib.h",
|
||||||
"+em_path",
|
"+em_path",
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,6 +6,16 @@ bundle {
|
||||||
clibrary {
|
clibrary {
|
||||||
name = "string",
|
name = "string",
|
||||||
srcs = { "./src/string/*.c" },
|
srcs = { "./src/string/*.c" },
|
||||||
deps = { "#headers" },
|
deps = { "+headers" },
|
||||||
|
}
|
||||||
|
|
||||||
|
clibrary {
|
||||||
|
name = "object",
|
||||||
|
srcs = { "./src/object/*.c" },
|
||||||
|
deps = {
|
||||||
|
"+headers",
|
||||||
|
"h+local",
|
||||||
|
"h+emheaders",
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,16 +1,38 @@
|
||||||
cprogram {
|
local function simpleprogram(name)
|
||||||
name = "aelflod",
|
cprogram {
|
||||||
srcs = { "./aelflod.c" },
|
name = name,
|
||||||
deps = {
|
srcs = { "./"..name..".c" },
|
||||||
"h+emheaders"
|
deps = {
|
||||||
|
"h+emheaders",
|
||||||
|
"modules+object",
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
installable {
|
||||||
|
name = name.."-pkg",
|
||||||
|
map = {
|
||||||
|
["$(INSDIR)/bin/"..name] = "+"..name,
|
||||||
|
["$(PLATIND)/man/man1/"..name..".1"] = "./"..name..".1",
|
||||||
|
}
|
||||||
|
}
|
||||||
|
end
|
||||||
|
|
||||||
|
simpleprogram("aelflod")
|
||||||
|
simpleprogram("anm")
|
||||||
|
simpleprogram("ashow")
|
||||||
|
simpleprogram("asize")
|
||||||
|
simpleprogram("aslod")
|
||||||
|
simpleprogram("astrip")
|
||||||
|
|
||||||
installable {
|
installable {
|
||||||
name = "aelflod-pkg",
|
name = "pkg",
|
||||||
map = {
|
map = {
|
||||||
["$(INSDIR)/bin/aelflod"] = "+aelflod",
|
"+aelflod-pkg",
|
||||||
["$(PLATIND)/man/man1/aelflod.1"] = "./aelflod.1",
|
"+anm-pkg",
|
||||||
|
"+ashow-pkg",
|
||||||
|
"+asize-pkg",
|
||||||
|
"+aslod-pkg",
|
||||||
|
"+astrip-pkg",
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue