Updated to the version 0.1 of Prime Mover (which involves some syntax changes).

This commit is contained in:
dtrg
2006-10-15 00:28:12 +00:00
parent 708a83ef22
commit dbe10d2c19
34 changed files with 299 additions and 222 deletions

View File

@@ -4,7 +4,7 @@
local d = ROOTDIR.."lang/basic/lib/"
lang_basic_runtime = acklibrary {
ACKINCLUDES = {PARENT, "-I%ROOTDIR%h", "-I%ROOTDIR%include/_tail_cc"},
ACKINCLUDES = {PARENT, "%ROOTDIR%h", "%ROOTDIR%include/_tail_cc"},
ackfile (d.."fif.e"),
ackfile (d.."fef.e"),

View File

@@ -156,7 +156,7 @@ lang_cem_ansi_compiler = cprogram {
},
cfile_with_headers {
CEXTRAFLAGS = "-I"..d,
CINCLUDES = {PARENT, d},
tabgen (d.."char.tab")
},

View File

@@ -156,7 +156,7 @@ lang_cem_compiler = cprogram {
},
cfile_with_headers {
CEXTRAFLAGS = "-I"..d,
CINCLUDES = {PARENT, d},
tabgen (d.."char.tab")
},

View File

@@ -99,7 +99,7 @@ tool_cpp_ansi = cprogram {
},
cfile_with_headers {
CEXTRAFLAGS = "-I"..d,
CINCLUDES = {PARENT, d},
tabgen (d.."char.tab")
},

View File

@@ -4,14 +4,14 @@
local d = ROOTDIR.."lang/cem/libcc.ansi/"
local crt = ackfile {
ACKINCLUDES = {PARENT, "-I%ROOTDIR%h"},
ACKINCLUDES = {PARENT, "%ROOTDIR%h"},
file (d.."head_ac.e"),
install = pm.install("%BINDIR%%PLATIND%/%ARCH%/head_ac")
}
local libc = acklibrary {
ACKBUILDFLAGS = {PARENT, "-ansi"},
ACKINCLUDES = {PARENT, "-I%ROOTDIR%h", "-I"..d.."headers", "-I%ROOTDIR%include/_tail_cc"},
ACKINCLUDES = {PARENT, "%ROOTDIR%h", d.."headers", "%ROOTDIR%include/_tail_cc"},
outputs = {"%U%/tail_ac.a"},
-- assert
@@ -99,7 +99,7 @@ local libc = acklibrary {
ackfile (d.."misc/fdopen.c"),
ackfile (d.."misc/closedir.c"),
group {
ACKINCLUDES = {PARENT, "-DUFS"},
ACKDEFINES = {PARENT, "UFS"},
ackfile (d.."misc/getdents.c")
},
ackfile (d.."misc/opendir.c"),

View File

@@ -4,7 +4,7 @@
local d = ROOTDIR.."lang/cem/libcc/gen/"
lang_cem_gen_runtime = acklibrary {
ACKINCLUDES = {PARENT, "-I%ROOTDIR%h", "-I%ROOTDIR%include/_tail_cc"},
ACKINCLUDES = {PARENT, "%ROOTDIR%h", "%ROOTDIR%include/_tail_cc"},
ackfile (d.."abs.c"),
ackfile (d.."atof.c"),

View File

@@ -4,7 +4,7 @@
local d = ROOTDIR.."lang/cem/libcc/math/"
lang_cem_math_runtime = acklibrary {
ACKINCLUDES = {PARENT, "-I%ROOTDIR%h", "-I%ROOTDIR%include/_tail_cc"},
ACKINCLUDES = {PARENT, "%ROOTDIR%h", "%ROOTDIR%include/_tail_cc"},
ackfile (d.."asin.c"),
ackfile (d.."atan2.c"),

View File

@@ -4,8 +4,8 @@
local d = ROOTDIR.."lang/cem/libcc/mon/"
lang_cem_mon_runtime = acklibrary {
ACKINCLUDES = {PARENT, "-I%ROOTDIR%h", "-I%ROOTDIR%include/_tail_cc",
"-I%ROOTDIR%include/_tail_mon"},
ACKINCLUDES = {PARENT, "%ROOTDIR%h", "%ROOTDIR%include/_tail_cc",
"%ROOTDIR%include/_tail_mon"},
ackfile (d.."exit.c"),
ackfile (d.."gtty.c"),

View File

@@ -4,7 +4,7 @@
local d = ROOTDIR.."lang/cem/libcc/stdio/"
lang_cem_stdio_runtime = acklibrary {
ACKINCLUDES = {PARENT, "-I%ROOTDIR%h", "-I%ROOTDIR%include/_tail_cc"},
ACKINCLUDES = {PARENT, "%ROOTDIR%h", "%ROOTDIR%include/_tail_cc"},
ackfile (d.."vsprintf.c"),
ackfile (d.."vfprintf.c"),

View File

@@ -69,7 +69,7 @@ local cfile_with_headers = cfile {
}
lang_m2_compiler = cprogram {
CDEFINES = {PARENT, "-DSTATIC=static"},
CDEFINES = {PARENT, "STATIC=static"},
cfile_with_headers (d.."LLlex.c"),
cfile_with_headers (d.."LLmessage.c"),
@@ -112,7 +112,7 @@ lang_m2_compiler = cprogram {
},
cfile_with_headers {
CEXTRAFLAGS = "-I"..d,
CINCLUDES = {PARENT, d},
tabgen (d.."char.tab")
},
@@ -167,7 +167,10 @@ lang_m2_compiler = cprogram {
-- Revision history
-- $Log$
-- Revision 1.2 2006-07-26 18:19:15 dtrg
-- Revision 1.3 2006-10-15 00:28:11 dtrg
-- Updated to the version 0.1 of Prime Mover (which involves some syntax changes).
--
-- Revision 1.2 2006/07/26 18:19:15 dtrg
-- Tweaked the CVS settings.
--
-- Revision 1.1 2006/07/26 17:12:19 dtrg

View File

@@ -4,7 +4,7 @@
local d = ROOTDIR.."lang/m2/libm2/"
lang_m2_runtime = acklibrary {
ACKINCLUDES = {PARENT, "-I%ROOTDIR%h", "-I%ROOTDIR%include/_tail_cc"},
ACKINCLUDES = {PARENT, "%ROOTDIR%h", "%ROOTDIR%include/_tail_cc"},
ackfile (d.."Termcap.mod"),
ackfile (d.."CSP.mod"),

View File

@@ -16,7 +16,7 @@ local cfile_with_headers = cfile {
}
lang_occam_compiler = cprogram {
CLIBRARIES = {PARENT, "-lfl"},
CLIBRARIES = {PARENT, "fl"},
cfile_with_headers (d.."builtin.c"),
cfile_with_headers (d.."code.c"),
@@ -54,6 +54,9 @@ lang_occam_compiler = cprogram {
-- Revision history
-- $Log$
-- Revision 1.1 2006-07-26 18:23:32 dtrg
-- Revision 1.2 2006-10-15 00:28:12 dtrg
-- Updated to the version 0.1 of Prime Mover (which involves some syntax changes).
--
-- Revision 1.1 2006/07/26 18:23:32 dtrg
-- Added support for the Occam compiler.
--

View File

@@ -4,7 +4,7 @@
local d = ROOTDIR.."lang/occam/lib/"
lang_occam_runtime = acklibrary {
ACKINCLUDES = {PARENT, "-I%ROOTDIR%h", "-I%ROOTDIR%include/_tail_cc"},
ACKINCLUDES = {PARENT, "%ROOTDIR%h", "%ROOTDIR%include/_tail_cc"},
ackfile (d.."builtin.c"),
ackfile (d.."chan_strct.c"),

View File

@@ -64,7 +64,7 @@ local cfile_with_headers = cfile {
}
lang_pc_compiler = cprogram {
CDEFINES = {PARENT, "-DSTATIC=static"},
CDEFINES = {PARENT, "STATIC=static"},
cfile_with_headers (d.."LLlex.c"),
cfile_with_headers (d.."LLmessage.c"),
@@ -110,7 +110,7 @@ lang_pc_compiler = cprogram {
},
cfile_with_headers {
CEXTRAFLAGS = "-I"..d,
CINCLUDES = {PARENT, d},
tabgen (d.."char.tab")
},
@@ -161,6 +161,9 @@ lang_pc_compiler = cprogram {
-- Revision history
-- $Log$
-- Revision 1.1 2006-07-22 21:03:07 dtrg
-- Revision 1.2 2006-10-15 00:28:11 dtrg
-- Updated to the version 0.1 of Prime Mover (which involves some syntax changes).
--
-- Revision 1.1 2006/07/22 21:03:07 dtrg
-- Added support for the Pascal compiler.
--

View File

@@ -4,7 +4,7 @@
local d = ROOTDIR.."lang/pc/libpc/"
lang_pc_runtime = acklibrary {
ACKINCLUDES = {PARENT, "-I%ROOTDIR%h", "-I%ROOTDIR%include/_tail_cc"},
ACKINCLUDES = {PARENT, "%ROOTDIR%h", "%ROOTDIR%include/_tail_cc"},
ackfile (d.."abi.c"),
ackfile (d.."abl.c"),