Remove defunct pmfiles.

--HG--
branch : default-branch
This commit is contained in:
David Given
2016-06-03 13:56:50 +02:00
parent 9d620ad1c2
commit 88bd7ce126
106 changed files with 0 additions and 5840 deletions

View File

@@ -1,45 +0,0 @@
-- $Source$
-- $State$
-- $Revision$
local d = ROOTDIR.."lang/basic/lib/"
lang_basic_runtime = acklibrary {
ACKINCLUDES = {PARENT, "%ROOTDIR%h"},
ackfile (d.."fif.e"),
ackfile (d.."fef.e"),
ackfile (d.."setline.e"),
ackfile (d.."abs.c"),
ackfile (d.."asc.c"),
ackfile (d.."asrt.c"),
ackfile (d.."atn.c"),
ackfile (d.."chr.c"),
ackfile (d.."conversion.c"),
ackfile (d.."error.c"),
ackfile (d.."exp.c"),
ackfile (d.."file.c"),
ackfile (d.."hlt.c"),
ackfile (d.."io.c"),
ackfile (d.."log.c"),
ackfile (d.."mki.c"),
ackfile (d.."oct.c"),
ackfile (d.."peek.c"),
ackfile (d.."power.c"),
ackfile (d.."print.c"),
ackfile (d.."random.c"),
ackfile (d.."read.c"),
ackfile (d.."return.c"),
ackfile (d.."salloc.c"),
ackfile (d.."sgn.c"),
ackfile (d.."sin.c"),
ackfile (d.."sqt.c"),
ackfile (d.."stop.c"),
ackfile (d.."string.c"),
ackfile (d.."swap.c"),
ackfile (d.."trace.c"),
ackfile (d.."trap.c"),
ackfile (d.."write.c"),
install = pm.install("%BINDIR%%PLATIND%/%PLATFORM%/libbasic.a")
}

View File

@@ -1,7 +0,0 @@
-- $Source$
-- $State$
local d = ROOTDIR.."lang/basic/"
include (d.."src/pmfile")
include (d.."lib/pmfile")

View File

@@ -1,64 +0,0 @@
-- $Source$
-- $State$
local d = ROOTDIR.."lang/basic/src/"
local lpars = LLgen {
file (d.."basic.g"),
}
local tokentab_h = simple {
outputs = {"%U%/token.h"},
command = {
"cd %out[1]:dirname% && %in[1]% %in[2]%"
},
file (d.."maketokentab"),
lpars
}
local cfile_with_headers = cfile {
class = "cfile_with_headers",
dynamicheaders = {
file (d),
lpars,
tokentab_h
}
}
lang_basic_compiler = cprogram {
cfile_with_headers (d.."bem.c"),
cfile_with_headers (d.."symbols.c"),
cfile_with_headers (d.."initialize.c"),
cfile_with_headers (d.."compile.c"),
cfile_with_headers (d.."parsepar.c"),
cfile_with_headers (d.."gencode.c"),
cfile_with_headers (d.."util.c"),
cfile_with_headers (d.."graph.c"),
cfile_with_headers (d.."eval.c"),
cfile_with_headers (d.."func.c"),
foreach {
rule = cfile_with_headers,
ith { lpars, from=2 }
},
lib_em_mes,
lib_emk,
lib_em_data,
lib_alloc,
lib_print,
lib_string,
lib_system,
outputs = {"%U%/em_bem"},
install = {
pm.install("%BINDIR%%PLATDEP%/em_bem"),
}
}
-- Revision history
-- $Log$
-- Revision 1.1 2006-07-26 23:08:09 dtrg
-- Added support for the Basic compiler.
--

View File

@@ -1,210 +0,0 @@
-- $Source$
-- $State$
local d = ROOTDIR.."lang/cem/cemcom.ansi/"
local extract_parameters = simple {
outputs = {
"%U%/lint.h",
"%U%/pathlength.h",
"%U%/errout.h",
"%U%/idfsize.h",
"%U%/numsize.h",
"%U%/nparams.h",
"%U%/ifdepth.h",
"%U%/density.h",
"%U%/macbuf.h",
"%U%/strsize.h",
"%U%/trgt_sizes.h",
"%U%/botch_free.h",
"%U%/dataflow.h",
"%U%/debug.h",
"%U%/use_tmp.h",
"%U%/parbufsize.h",
"%U%/textsize.h",
"%U%/inputtype.h",
"%U%/nopp.h",
"%U%/nobitfield.h",
"%U%/spec_arith.h",
"%U%/static.h",
"%U%/nocross.h",
"%U%/regcount.h",
"%U%/dbsymtab.h",
},
command = {
"cd %out[1]:dirname% && %in[1]% %in[2]%"
},
file (d.."make.hfiles"),
file (d.."BigPars")
}
local lpars = LLgen {
simple {
outputs = {"%U%/tokenfile.g"},
command = {
"%in[1]% < %in[2]% > %out[1]%"
},
file (d.."make.tokfile"),
file (d.."tokenname.c")
},
file (d.."program.g"),
file (d.."declar.g"),
file (d.."expression.g"),
file (d.."statement.g"),
file (d.."ival.g"),
}
local allocd_header = simple {
class = "allocd_header",
command = {
"%in[1]% < %in[2]% > %out[1]%"
},
file (d.."make.allocd")
}
local cfile_with_headers = cfile {
class = "cfile_with_headers",
dynamicheaders = {
file (d),
extract_parameters,
allocd_header { outputs = {"%U%/code.h"}, (d.."code.str") },
allocd_header { outputs = {"%U%/declar.h"}, (d.."declar.str") },
allocd_header { outputs = {"%U%/def.h"}, (d.."def.str") },
allocd_header { outputs = {"%U%/expr.h"}, (d.."expr.str") },
allocd_header { outputs = {"%U%/field.h"}, (d.."field.str") },
allocd_header { outputs = {"%U%/estack.h"}, (d.."estack.str") },
allocd_header { outputs = {"%U%/util.h"}, (d.."util.str") },
allocd_header { outputs = {"%U%/proto.h"}, (d.."proto.str") },
allocd_header { outputs = {"%U%/replace.h"}, (d.."replace.str") },
allocd_header { outputs = {"%U%/idf.h"}, (d.."idf.str") },
allocd_header { outputs = {"%U%/macro.h"}, (d.."macro.str") },
allocd_header { outputs = {"%U%/stack.h"}, (d.."stack.str") },
allocd_header { outputs = {"%U%/stmt.h"}, (d.."stmt.str") },
allocd_header { outputs = {"%U%/struct.h"}, (d.."struct.str") },
allocd_header { outputs = {"%U%/switch.h"}, (d.."switch.str") },
allocd_header { outputs = {"%U%/type.h"}, (d.."type.str") },
allocd_header { outputs = {"%U%/l_brace.h"}, (d.."l_brace.str") },
allocd_header { outputs = {"%U%/l_state.h"}, (d.."l_state.str") },
allocd_header { outputs = {"%U%/l_outdef.h"}, (d.."l_outdef.str") },
lpars
}
}
lang_cem_ansi_compiler = cprogram {
cfile_with_headers (d.."LLlex.c"),
cfile_with_headers (d.."LLmessage.c"),
cfile_with_headers (d.."arith.c"),
cfile_with_headers (d.."blocks.c"),
cfile_with_headers (d.."ch3.c"),
cfile_with_headers (d.."ch3bin.c"),
cfile_with_headers (d.."ch3mon.c"),
cfile_with_headers (d.."code.c"),
cfile_with_headers (d.."conversion.c"),
cfile_with_headers (d.."cstoper.c"),
cfile_with_headers (d.."dataflow.c"),
cfile_with_headers (d.."declarator.c"),
cfile_with_headers (d.."decspecs.c"),
cfile_with_headers (d.."domacro.c"),
cfile_with_headers (d.."dumpidf.c"),
cfile_with_headers (d.."error.c"),
cfile_with_headers (d.."eval.c"),
cfile_with_headers (d.."expr.c"),
cfile_with_headers (d.."field.c"),
cfile_with_headers (d.."fltcstoper.c"),
cfile_with_headers (d.."idf.c"),
cfile_with_headers (d.."init.c"),
cfile_with_headers (d.."input.c"),
cfile_with_headers (d.."l_comment.c"),
cfile_with_headers (d.."l_ev_ord.c"),
cfile_with_headers (d.."l_lint.c"),
cfile_with_headers (d.."l_misc.c"),
cfile_with_headers (d.."l_outdef.c"),
cfile_with_headers (d.."l_states.c"),
cfile_with_headers (d.."label.c"),
cfile_with_headers (d.."main.c"),
cfile_with_headers (d.."options.c"),
cfile_with_headers (d.."pragma.c"),
cfile_with_headers (d.."proto.c"),
cfile_with_headers (d.."replace.c"),
cfile_with_headers (d.."skip.c"),
cfile_with_headers (d.."stab.c"),
cfile_with_headers (d.."stack.c"),
cfile_with_headers (d.."struct.c"),
cfile_with_headers (d.."switch.c"),
cfile_with_headers (d.."tokenname.c"),
cfile_with_headers (d.."type.c"),
cfile_with_headers (d.."util.c"),
foreach {
rule = cfile_with_headers,
ith { lpars, from=2 }
},
cfile_with_headers {
simple {
outputs = {"%U%-symbol2str.c"},
command = {
"%in[1]% < %in[2]% > %out[1]%"
},
file (d.."make.tokcase"),
file (d.."tokenname.c")
}
},
cfile_with_headers {
CINCLUDES = {PARENT, d},
tabgen (d.."char.tab")
},
cfile_with_headers {
simple {
outputs = {"%U%-next.c"},
command = {
"%in% > %out%"
},
file (d.."make.next"),
file (d.."code.str"),
file (d.."declar.str"),
file (d.."def.str"),
file (d.."expr.str"),
file (d.."field.str"),
file (d.."estack.str"),
file (d.."util.str"),
file (d.."proto.str"),
file (d.."replace.str"),
file (d.."idf.str"),
file (d.."macro.str"),
file (d.."stack.str"),
file (d.."stmt.str"),
file (d.."struct.str"),
file (d.."switch.str"),
file (d.."type.str"),
file (d.."l_brace.str"),
file (d.."l_state.str"),
file (d.."l_outdef.str"),
}
},
lib_em_mes,
lib_emk,
lib_em_data,
lib_input,
lib_assert,
lib_alloc,
lib_flt_arith,
lib_print,
lib_system,
lib_string,
outputs = {"%U%/em_cemcom.ansi"},
install = {
pm.install( BINDIR..PLATDEP.."/em_cemcom.ansi"),
pm.install(d.."cemcom.ansi.1", BINDIR.."/man/man1/cemcom.ansi.1"),
}
}

View File

@@ -1,209 +0,0 @@
-- $Source$
-- $State$
local d = ROOTDIR.."lang/cem/cemcom/"
local extract_parameters = simple {
outputs = {
"%U%/lint.h",
"%U%/pathlength.h",
"%U%/errout.h",
"%U%/idfsize.h",
"%U%/numsize.h",
"%U%/nparams.h",
"%U%/ifdepth.h",
"%U%/density.h",
"%U%/lapbuf.h",
"%U%/strsize.h",
"%U%/target_sizes.h",
"%U%/botch_free.h",
"%U%/dataflow.h",
"%U%/debug.h",
"%U%/use_tmp.h",
"%U%/parbufsize.h",
"%U%/textsize.h",
"%U%/inputtype.h",
"%U%/nopp.h",
"%U%/nobitfield.h",
"%U%/spec_arith.h",
"%U%/static.h",
"%U%/nofloat.h",
"%U%/noRoption.h",
"%U%/nocross.h",
"%U%/regcount.h",
"%U%/dbsymtab.h",
},
command = {
"cd %out[1]:dirname% && %in[1]% %in[2]%"
},
file (d.."make.hfiles"),
file (d.."BigPars")
}
local lpars = LLgen {
simple {
outputs = {"%U%/tokenfile.g"},
command = {
"%in[1]% < %in[2]% > %out[1]%"
},
file (d.."make.tokfile"),
file (d.."tokenname.c")
},
file (d.."program.g"),
file (d.."declar.g"),
file (d.."expression.g"),
file (d.."statement.g"),
file (d.."ival.g"),
}
local allocd_header = simple {
class = "allocd_header",
command = {
"%in[1]% < %in[2]% > %out[1]%"
},
file (d.."make.allocd")
}
local cfile_with_headers = cfile {
class = "cfile_with_headers",
dynamicheaders = {
file (d),
extract_parameters,
allocd_header { outputs = {"%U%/code.h"}, (d.."code.str") },
allocd_header { outputs = {"%U%/declar.h"}, (d.."declar.str") },
allocd_header { outputs = {"%U%/def.h"}, (d.."def.str") },
allocd_header { outputs = {"%U%/expr.h"}, (d.."expr.str") },
allocd_header { outputs = {"%U%/field.h"}, (d.."field.str") },
allocd_header { outputs = {"%U%/estack.h"}, (d.."estack.str") },
allocd_header { outputs = {"%U%/util.h"}, (d.."util.str") },
allocd_header { outputs = {"%U%/decspecs.h"}, (d.."decspecs.str") },
allocd_header { outputs = {"%U%/idf.h"}, (d.."idf.str") },
allocd_header { outputs = {"%U%/macro.h"}, (d.."macro.str") },
allocd_header { outputs = {"%U%/stack.h"}, (d.."stack.str") },
allocd_header { outputs = {"%U%/stmt.h"}, (d.."stmt.str") },
allocd_header { outputs = {"%U%/struct.h"}, (d.."struct.str") },
allocd_header { outputs = {"%U%/switch.h"}, (d.."switch.str") },
allocd_header { outputs = {"%U%/type.h"}, (d.."type.str") },
allocd_header { outputs = {"%U%/l_brace.h"}, (d.."l_brace.str") },
allocd_header { outputs = {"%U%/l_state.h"}, (d.."l_state.str") },
allocd_header { outputs = {"%U%/l_outdef.h"}, (d.."l_outdef.str") },
lpars
}
}
lang_cem_compiler = cprogram {
cfile_with_headers (d.."LLlex.c"),
cfile_with_headers (d.."LLmessage.c"),
cfile_with_headers (d.."arith.c"),
cfile_with_headers (d.."asm.c"),
cfile_with_headers (d.."blocks.c"),
cfile_with_headers (d.."ch7.c"),
cfile_with_headers (d.."ch7bin.c"),
cfile_with_headers (d.."ch7mon.c"),
cfile_with_headers (d.."code.c"),
cfile_with_headers (d.."conversion.c"),
cfile_with_headers (d.."cstoper.c"),
cfile_with_headers (d.."dataflow.c"),
cfile_with_headers (d.."declarator.c"),
cfile_with_headers (d.."decspecs.c"),
cfile_with_headers (d.."domacro.c"),
cfile_with_headers (d.."dumpidf.c"),
cfile_with_headers (d.."error.c"),
cfile_with_headers (d.."eval.c"),
cfile_with_headers (d.."expr.c"),
cfile_with_headers (d.."field.c"),
cfile_with_headers (d.."idf.c"),
cfile_with_headers (d.."init.c"),
cfile_with_headers (d.."input.c"),
cfile_with_headers (d.."l_comment.c"),
cfile_with_headers (d.."l_ev_ord.c"),
cfile_with_headers (d.."l_lint.c"),
cfile_with_headers (d.."l_misc.c"),
cfile_with_headers (d.."l_outdef.c"),
cfile_with_headers (d.."l_states.c"),
cfile_with_headers (d.."label.c"),
cfile_with_headers (d.."main.c"),
cfile_with_headers (d.."options.c"),
cfile_with_headers (d.."replace.c"),
cfile_with_headers (d.."scan.c"),
cfile_with_headers (d.."skip.c"),
cfile_with_headers (d.."stack.c"),
cfile_with_headers (d.."struct.c"),
cfile_with_headers (d.."switch.c"),
cfile_with_headers (d.."tokenname.c"),
cfile_with_headers (d.."type.c"),
cfile_with_headers (d.."util.c"),
cfile_with_headers (d.."stab.c"),
foreach {
rule = cfile_with_headers,
ith { lpars, from=2 }
},
cfile_with_headers {
simple {
outputs = {"%U%-symbol2str.c"},
command = {
"%in[1]% < %in[2]% > %out[1]%"
},
file (d.."make.tokcase"),
file (d.."tokenname.c")
}
},
cfile_with_headers {
CINCLUDES = {PARENT, d},
tabgen (d.."char.tab")
},
cfile_with_headers {
simple {
outputs = {"%U%-next.c"},
command = {
"%in% > %out%"
},
file (d.."make.next"),
file (d.."code.str"),
file (d.."declar.str"),
file (d.."decspecs.str"),
file (d.."def.str"),
file (d.."expr.str"),
file (d.."field.str"),
file (d.."estack.str"),
file (d.."util.str"),
file (d.."idf.str"),
file (d.."macro.str"),
file (d.."stack.str"),
file (d.."stmt.str"),
file (d.."struct.str"),
file (d.."switch.str"),
file (d.."type.str"),
file (d.."l_brace.str"),
file (d.."l_state.str"),
file (d.."l_outdef.str"),
}
},
lib_em_mes,
lib_emk,
lib_em_data,
lib_input,
lib_assert,
lib_alloc,
lib_flt_arith,
lib_print,
lib_system,
lib_string,
outputs = {"%U%/em_cemcom"},
install = {
pm.install( BINDIR..PLATDEP.."/em_cemcom"),
pm.install(d.."cemcom.1", BINDIR.."/man/man1/cemcom.1"),
}
}

View File

@@ -1,132 +0,0 @@
-- $Source$
-- $State$
local d = ROOTDIR.."lang/cem/cpp.ansi/"
local extract_parameters = simple {
outputs = {
"%U%/pathlength.h",
"%U%/errout.h",
"%U%/idfsize.h",
"%U%/numsize.h",
"%U%/nparams.h",
"%U%/ifdepth.h",
"%U%/macbuf.h",
"%U%/strsize.h",
"%U%/botch_free.h",
"%U%/debug.h",
"%U%/parbufsize.h",
"%U%/textsize.h",
"%U%/inputtype.h",
"%U%/obufsize.h",
"%U%/dobits.h",
"%U%/ln_prefix.h",
},
command = {
"cd %out[1]:dirname% && %in[1]% %in[2]%"
},
file (d.."make.hfiles"),
file (d.."Parameters")
}
local lpars = LLgen {
simple {
outputs = {"%U%/tokenfile.g"},
command = {
"%in[1]% < %in[2]% > %out[1]%"
},
file (d.."make.tokfile"),
file (d.."tokenname.c")
},
file (d.."expression.g"),
}
local allocd_header = simple {
class = "allocd_header",
command = {
"%in[1]% < %in[2]% > %out[1]%"
},
file (d.."make.allocd")
}
local cfile_with_headers = cfile {
class = "cfile_with_headers",
dynamicheaders = {
file (d),
extract_parameters,
allocd_header { outputs = {"%U%/replace.h"}, (d.."replace.str") },
allocd_header { outputs = {"%U%/macro.h"}, (d.."macro.str") },
lpars
}
}
tool_cpp_ansi = cprogram {
cfile_with_headers (d.."LLlex.c"),
cfile_with_headers (d.."LLmessage.c"),
cfile_with_headers (d.."ch3bin.c"),
cfile_with_headers (d.."ch3mon.c"),
cfile_with_headers (d.."domacro.c"),
cfile_with_headers (d.."error.c"),
cfile_with_headers (d.."idf.c"),
cfile_with_headers (d.."init.c"),
cfile_with_headers (d.."input.c"),
cfile_with_headers (d.."main.c"),
cfile_with_headers (d.."options.c"),
cfile_with_headers (d.."preprocess.c"),
cfile_with_headers (d.."replace.c"),
cfile_with_headers (d.."skip.c"),
cfile_with_headers (d.."tokenname.c"),
cfile_with_headers (d.."expr.c"),
foreach {
rule = cfile_with_headers,
ith { lpars, from=2 }
},
cfile_with_headers {
simple {
outputs = {"%U%-symbol2str.c"},
command = {
"%in[1]% < %in[2]% > %out[1]%"
},
file (d.."make.tokcase"),
file (d.."tokenname.c")
}
},
cfile_with_headers {
CINCLUDES = {PARENT, d},
tabgen (d.."char.tab")
},
cfile_with_headers {
simple {
outputs = {"%U%-next.c"},
command = {
"%in% > %out%"
},
file (d.."make.next"),
file (d.."macro.str"),
file (d.."replace.str"),
}
},
lib_input,
lib_assert,
lib_alloc,
lib_print,
lib_system,
lib_string,
outputs = {"%U%/cpp.ansi"},
install = {
pm.install( BINDIR..PLATDEP.."/cpp.ansi"),
pm.install(d.."ncpp.6", BINDIR.."/man/man6/cpp.ansi.6"),
}
}

View File

@@ -1,300 +0,0 @@
-- $Source$
-- $State$
local d = ROOTDIR.."lang/cem/libcc.ansi/"
local crt = ackfile {
ACKINCLUDES = {PARENT, "%ROOTDIR%h"},
file (d.."head_ac.e"),
install = pm.install("%BINDIR%%PLATIND%/%PLATFORM%/c-ansi.o")
}
local libc = acklibrary {
ACKBUILDFLAGS = {PARENT, "-ansi"},
ACKINCLUDES = {PARENT, "%ROOTDIR%h", d.."headers"},
outputs = {"%U%/libc.a"},
-- assert
ackfile (d.."assert/assert.c"),
-- ctype
ackfile (d.."ctype/tolower.c"),
ackfile (d.."ctype/toupper.c"),
ackfile {
tabgen (d.."ctype/char.tab")
},
foreach {
rule = ackfile,
simple {
outputs = {
"%U%/isalnum.c",
"%U%/isalpha.c",
"%U%/iscntrl.c",
"%U%/isdigit.c",
"%U%/isgraph.c",
"%U%/islower.c",
"%U%/isprint.c",
"%U%/ispunct.c",
"%U%/isspace.c",
"%U%/isupper.c",
"%U%/isxdigit.c",
"%U%/isascii.c",
},
command = {
"cd %out[1]:dirname% && sh %in[1]%"
},
file (d.."ctype/genfiles")
}
},
-- errno
ackfile (d.."errno/errlist.c"),
-- locale
ackfile (d.."locale/localeconv.c"),
ackfile (d.."locale/setlocale.c"),
-- math
ackfile (d.."math/asin.c"),
ackfile (d.."math/atan2.c"),
ackfile (d.."math/atan.c"),
ackfile (d.."math/ceil.c"),
ackfile (d.."math/fabs.c"),
ackfile (d.."math/pow.c"),
ackfile (d.."math/log10.c"),
ackfile (d.."math/log.c"),
ackfile (d.."math/sin.c"),
ackfile (d.."math/sinh.c"),
ackfile (d.."math/sqrt.c"),
ackfile (d.."math/tan.c"),
ackfile (d.."math/tanh.c"),
ackfile (d.."math/exp.c"),
ackfile (d.."math/ldexp.c"),
ackfile (d.."math/fmod.c"),
ackfile (d.."math/floor.c"),
ackfile (d.."math/hugeval.c"),
ackfile (d.."math/frexp.e"),
ackfile (d.."math/modf.e"),
ackfile (d.."math/isnan.c"),
-- misc
ackfile (d.."misc/environ.c"),
--[[
ackfile (d.."misc/getgrent.c"),
ackfile (d.."misc/getopt.c"),
ackfile (d.."misc/getpass.c"),
ackfile (d.."misc/getpw.c"),
ackfile (d.."misc/getw.c"),
ackfile (d.."misc/putw.c"),
ackfile (d.."misc/putenv.c"),
ackfile (d.."misc/environ.c"),
ackfile (d.."misc/popen.c"),
ackfile (d.."misc/sleep.c"),
ackfile (d.."misc/termcap.c"),
ackfile (d.."misc/fdopen.c"),
ackfile (d.."misc/closedir.c"),
group {
ACKDEFINES = {PARENT, "UFS"},
ackfile (d.."misc/getdents.c")
},
ackfile (d.."misc/opendir.c"),
ackfile (d.."misc/readdir.c"),
ackfile (d.."misc/rewinddir.c"),
ackfile (d.."misc/seekdir.c"),
ackfile (d.."misc/telldir.c"),
ackfile (d.."misc/isatty.c"),
ackfile (d.."misc/mktemp.c"),
ackfile (d.."misc/hypot.c"),
--]]
-- setjmp
ackfile (d.."setjmp/setjmp.e"),
--ackfile (d.."setjmp/sigmisc.c"),
-- signal
ackfile (d.."signal/raise.c"),
-- stdio
ackfile (d.."stdio/tmpfile.c"),
ackfile (d.."stdio/tmpnam.c"),
-- ackfile (d.."stdio/rename.c"),
-- ackfile (d.."stdio/remove.c"),
ackfile (d.."stdio/fopen.c"),
ackfile (d.."stdio/freopen.c"),
ackfile (d.."stdio/setbuf.c"),
ackfile (d.."stdio/setvbuf.c"),
ackfile (d.."stdio/perror.c"),
ackfile (d.."stdio/fprintf.c"),
ackfile (d.."stdio/printf.c"),
ackfile (d.."stdio/sprintf.c"),
ackfile (d.."stdio/vfprintf.c"),
ackfile (d.."stdio/vprintf.c"),
ackfile (d.."stdio/vsprintf.c"),
ackfile (d.."stdio/doprnt.c"),
ackfile (d.."stdio/icompute.c"),
ackfile (d.."stdio/fscanf.c"),
ackfile (d.."stdio/scanf.c"),
ackfile (d.."stdio/sscanf.c"),
ackfile (d.."stdio/doscan.c"),
ackfile (d.."stdio/fgetc.c"),
ackfile (d.."stdio/fgets.c"),
ackfile (d.."stdio/getc.c"),
ackfile (d.."stdio/getchar.c"),
ackfile (d.."stdio/gets.c"),
ackfile (d.."stdio/putc.c"),
ackfile (d.."stdio/putchar.c"),
ackfile (d.."stdio/fputc.c"),
ackfile (d.."stdio/puts.c"),
ackfile (d.."stdio/fputs.c"),
ackfile (d.."stdio/ungetc.c"),
ackfile (d.."stdio/fread.c"),
ackfile (d.."stdio/fwrite.c"),
ackfile (d.."stdio/fgetpos.c"),
ackfile (d.."stdio/fsetpos.c"),
ackfile (d.."stdio/rewind.c"),
ackfile (d.."stdio/fseek.c"),
ackfile (d.."stdio/ftell.c"),
ackfile (d.."stdio/clearerr.c"),
ackfile (d.."stdio/feof.c"),
ackfile (d.."stdio/ferror.c"),
ackfile (d.."stdio/fileno.c"),
ackfile (d.."stdio/fltpr.c"),
ackfile (d.."stdio/ecvt.c"),
ackfile (d.."stdio/fillbuf.c"),
ackfile (d.."stdio/fclose.c"),
ackfile (d.."stdio/flushbuf.c"),
ackfile (d.."stdio/fflush.c"),
-- ackfile (d.."stdio/isatty.c"),
ackfile (d.."stdio/data.c"),
-- stdlib
ackfile (d.."stdlib/abort.c"),
ackfile (d.."stdlib/abs.c"),
ackfile (d.."stdlib/atof.c"),
ackfile (d.."stdlib/atoi.c"),
ackfile (d.."stdlib/atol.c"),
ackfile (d.."stdlib/bsearch.c"),
ackfile (d.."stdlib/div.c"),
ackfile (d.."stdlib/atexit.c"),
ackfile (d.."stdlib/exit.c"),
ackfile (d.."stdlib/getenv.c"),
ackfile (d.."stdlib/labs.c"),
ackfile (d.."stdlib/ldiv.c"),
ackfile (d.."stdlib/mblen.c"),
ackfile (d.."stdlib/mbstowcs.c"),
ackfile (d.."stdlib/mbtowc.c"),
ackfile (d.."stdlib/qsort.c"),
ackfile (d.."stdlib/rand.c"),
ackfile (d.."stdlib/strtod.c"),
ackfile (d.."stdlib/strtol.c"),
-- ackfile (d.."stdlib/system.c"),
ackfile (d.."stdlib/wcstombs.c"),
ackfile (d.."stdlib/wctomb.c"),
ackfile (d.."stdlib/ext_comp.c"),
ackfile {
simple {
outputs = {"%U%/malloc.c"},
command = {
"rm -f %out% && for i in %in[2-]%; do %in[1]% $i >> %out%; done"
},
file (d.."stdlib/malloc/add_file"),
file (d.."stdlib/malloc/READ_ME"),
file (d.."stdlib/malloc/size_type.h"),
file (d.."stdlib/malloc/param.h"),
file (d.."stdlib/malloc/impl.h"),
file (d.."stdlib/malloc/check.h"),
file (d.."stdlib/malloc/log.h"),
file (d.."stdlib/malloc/phys.h"),
file (d.."stdlib/malloc/mal.c"),
file (d.."stdlib/malloc/log.c"),
file (d.."stdlib/malloc/phys.c"),
file (d.."stdlib/malloc/check.c"),
}
},
-- string
ackfile (d.."string/memchr.c"),
ackfile (d.."string/memcmp.c"),
ackfile (d.."string/memcpy.c"),
ackfile (d.."string/memmove.c"),
ackfile (d.."string/memset.c"),
ackfile (d.."string/strcat.c"),
ackfile (d.."string/strchr.c"),
ackfile (d.."string/strcmp.c"),
ackfile (d.."string/strcoll.c"),
ackfile (d.."string/strcpy.c"),
ackfile (d.."string/strcspn.c"),
ackfile (d.."string/strerror.c"),
ackfile (d.."string/strncat.c"),
ackfile (d.."string/strncpy.c"),
ackfile (d.."string/strrchr.c"),
ackfile (d.."string/strstr.c"),
ackfile (d.."string/strlen.c"),
ackfile (d.."string/strtok.c"),
ackfile (d.."string/strpbrk.c"),
ackfile (d.."string/strspn.c"),
ackfile (d.."string/strncmp.c"),
ackfile (d.."string/strxfrm.c"),
-- time
ackfile (d.."time/ctime.c"),
ackfile (d.."time/asctime.c"),
ackfile (d.."time/localtime.c"),
ackfile (d.."time/clock.c"),
ackfile (d.."time/difftime.c"),
ackfile (d.."time/gmtime.c"),
ackfile (d.."time/mktime.c"),
ackfile (d.."time/strftime.c"),
ackfile (d.."time/time.c"),
ackfile (d.."time/tzset.c"),
ackfile (d.."time/misc.c"),
install = {
pm.install("%BINDIR%%PLATIND%/%PLATFORM%/libc.a")
}
}
local headers = group {
install = {
pm.install(d.."headers/sys/time.h", "%BINDIR%include/ansi/sys/time.h"),
pm.install(d.."headers/sys/ioctl.h", "%BINDIR%include/ansi/sys/ioctl.h"),
pm.install(d.."headers/assert.h", "%BINDIR%include/ansi/assert.h"),
pm.install(d.."headers/ctype.h", "%BINDIR%include/ansi/ctype.h"),
pm.install(d.."headers/errno.h", "%BINDIR%include/ansi/errno.h"),
pm.install(d.."headers/float.h", "%BINDIR%include/ansi/float.h"),
pm.install(d.."headers/limits.h", "%BINDIR%include/ansi/limits.h"),
pm.install(d.."headers/math.h", "%BINDIR%include/ansi/math.h"),
pm.install(d.."headers/setjmp.h", "%BINDIR%include/ansi/setjmp.h"),
pm.install(d.."headers/signal.h", "%BINDIR%include/ansi/signal.h"),
pm.install(d.."headers/stdarg.h", "%BINDIR%include/ansi/stdarg.h"),
pm.install(d.."headers/stddef.h", "%BINDIR%include/ansi/stddef.h"),
pm.install(d.."headers/stdint.h", "%BINDIR%include/ansi/stdint.h"),
pm.install(d.."headers/stdio.h", "%BINDIR%include/ansi/stdio.h"),
pm.install(d.."headers/stdlib.h", "%BINDIR%include/ansi/stdlib.h"),
pm.install(d.."headers/string.h", "%BINDIR%include/ansi/string.h"),
pm.install(d.."headers/time.h", "%BINDIR%include/ansi/time.h"),
pm.install(d.."headers/iso646.h", "%BINDIR%include/ansi/iso646.h"),
pm.install(d.."headers/stdbool.h", "%BINDIR%include/ansi/stdbool.h"),
pm.install(d.."headers/locale.h", "%BINDIR%include/ansi/locale.h"),
pm.install(d.."headers/tgmath.h", "%BINDIR%include/ansi/tgmath.h"),
}
}
lang_cem_ansi_runtime = group {
crt,
libc,
headers
}

View File

@@ -1,94 +0,0 @@
-- $Source$
-- $State$
local d = ROOTDIR.."lang/cem/libcc/gen/"
local head = acklibrary {
ackfile (d.."head_cc.e"),
install = pm.install("%BINDIR%%PLATIND%/%PLATFORM%/c-knr.o")
}
local tail = acklibrary {
ackfile (d.."abs.c"),
ackfile (d.."atof.c"),
ackfile (d.."strtod.c"),
ackfile (d.."atoi.c"),
ackfile (d.."atol.c"),
ackfile (d.."strtol.c"),
ackfile (d.."bcmp.c"),
ackfile (d.."bfill.c"),
ackfile (d.."bmove.c"),
ackfile (d.."bzero.c"),
ackfile (d.."calloc.c"),
ackfile (d.."crypt.c"),
ackfile (d.."ctime.c"),
ackfile (d.."asctime.c"),
ackfile (d.."execvp.c"),
ackfile (d.."ffc.c"),
ackfile (d.."ffs.c"),
ackfile (d.."gcvt.c"),
ackfile (d.."ecvt.c"),
ackfile (d.."ext_comp.c"),
ackfile (d.."getlogin.c"),
ackfile (d.."index.c"),
ackfile (d.."l3.c"),
ackfile (d.."ldexp.c"),
ackfile (d.."localtime.c"),
ackfile (d.."gmtime.c"),
ackfile (d.."memccpy.c"),
ackfile (d.."memchr.c"),
ackfile (d.."memcmp.c"),
ackfile (d.."memcpy.c"),
ackfile (d.."memset.c"),
ackfile (d.."mktemp.c"),
ackfile (d.."monitor.c"),
ackfile (d.."perror.c"),
ackfile (d.."procentry.c"),
ackfile (d.."qsort.c"),
ackfile (d.."bsearch.c"),
ackfile (d.."rand.c"),
ackfile (d.."seekdir.c"),
ackfile (d.."sleep.c"),
ackfile (d.."stb.c"),
ackfile (d.."strstr.c"),
ackfile (d.."strchr.c"),
ackfile (d.."strcmp.c"),
ackfile (d.."strcspn.c"),
ackfile (d.."strncat.c"),
ackfile (d.."strrchr.c"),
ackfile (d.."strtok.c"),
ackfile (d.."strpbrk.c"),
ackfile (d.."strspn.c"),
ackfile (d.."swab.c"),
ackfile (d.."telldir.c"),
ackfile (d.."ttyslot.c"),
ackfile (d.."rindex.c"),
ackfile (d.."strncmp.c"),
ackfile (d.."ttyname.c"),
ackfile (d.."closedir.c"),
ackfile (d.."isatty.c"),
ackfile (d.."opendir.c"),
ackfile (d.."malloc.c"),
ackfile (d.."bcopy.c"),
ackfile (d.."readdir.c"),
ackfile (d.."strcat.c"),
ackfile (d.."strcpy.c"),
ackfile (d.."strlen.c"),
ackfile (d.."tzset.c"),
ackfile (d.."getenv.c"),
ackfile (d.."strncpy.c"),
ackfile (d.."_c2type.c"),
ackfile (d.."abort.e"),
ackfile (d.."frexp.e"),
ackfile (d.."modf.e"),
ackfile (d.."setjmp.e"),
install = pm.install("%BINDIR%%PLATIND%/%PLATFORM%/libc-knr.a")
}
lang_cem_gen_runtime = group {
ACKINCLUDES = {PARENT, "%ROOTDIR%h"},
head,
tail
}

View File

@@ -1,31 +0,0 @@
-- $Source$
-- $State$
local d = ROOTDIR.."lang/cem/libcc/math/"
lang_cem_math_runtime = acklibrary {
ACKINCLUDES = {PARENT, "%ROOTDIR%h"},
ackfile (d.."asin.c"),
ackfile (d.."atan2.c"),
ackfile (d.."atan.c"),
ackfile (d.."ceil.c"),
ackfile (d.."fabs.c"),
ackfile (d.."gamma.c"),
ackfile (d.."hypot.c"),
ackfile (d.."jn.c"),
ackfile (d.."j0.c"),
ackfile (d.."j1.c"),
ackfile (d.."log10.c"),
ackfile (d.."pow.c"),
ackfile (d.."log.c"),
ackfile (d.."sin.c"),
ackfile (d.."sinh.c"),
ackfile (d.."sqrt.c"),
ackfile (d.."tan.c"),
ackfile (d.."tanh.c"),
ackfile (d.."exp.c"),
ackfile (d.."floor.c"),
install = pm.install("%BINDIR%%PLATIND%/%PLATFORM%/libm-knr.a")
}

View File

@@ -1,101 +0,0 @@
-- $Source$
-- $State$
local d = ROOTDIR.."lang/cem/libcc/mon/"
lang_cem_mon_runtime = acklibrary {
ACKINCLUDES = {PARENT, "%ROOTDIR%h", "%ROOTDIR%include/_tail_mon"},
ackfile (d.."exit.c"),
ackfile (d.."gtty.c"),
ackfile (d.."signal.c"),
ackfile (d.."stty.c"),
ackfile (d.."tell.c"),
ackfile (d.."time.c"),
ackfile (d.."cleanup.c"),
ackfile (d.."access.e"),
ackfile (d.."acct.e"),
ackfile (d.."alarm.e"),
ackfile (d.."brk.e"),
ackfile (d.."chdir.e"),
ackfile (d.."chmod.e"),
ackfile (d.."chown.e"),
ackfile (d.."chroot.e"),
ackfile (d.."close.e"),
ackfile (d.."creat.e"),
ackfile (d.."dup.e"),
ackfile (d.."dup2.e"),
ackfile (d.."execl.e"),
ackfile (d.."execle.e"),
ackfile (d.."execv.e"),
ackfile (d.."execve.e"),
ackfile (d.."fork.e"),
ackfile (d.."fstat.e"),
ackfile (d.."ftime.e"),
ackfile (d.."getegid.e"),
ackfile (d.."geteuid.e"),
ackfile (d.."getgid.e"),
ackfile (d.."getpid.e"),
ackfile (d.."getuid.e"),
ackfile (d.."ioctl.e"),
ackfile (d.."kill.e"),
ackfile (d.."link.e"),
ackfile (d.."lock.e"),
ackfile (d.."lseek.e"),
ackfile (d.."mknod.e"),
ackfile (d.."mount.e"),
ackfile (d.."mpxcall.e"),
ackfile (d.."nice.e"),
ackfile (d.."open.e"),
ackfile (d.."pause.e"),
ackfile (d.."pipe.e"),
ackfile (d.."prof.e"),
ackfile (d.."ptrace.e"),
ackfile (d.."read.e"),
ackfile (d.."sbrk.e"),
ackfile (d.."setgid.e"),
ackfile (d.."setuid.e"),
ackfile (d.."setsig.e"),
ackfile (d.."sigtrp.e"),
ackfile (d.."stat.e"),
ackfile (d.."stime.e"),
ackfile (d.."sync.e"),
ackfile (d.."times.e"),
ackfile (d.."umask.e"),
ackfile (d.."umount.e"),
ackfile (d.."unlink.e"),
ackfile (d.."utime.e"),
ackfile (d.."wait.e"),
ackfile (d.."write.e"),
ackfile (d.."errno.e"),
ackfile (d.."_alarm.e"),
ackfile (d.."_brk.e"),
ackfile (d.."_close.e"),
ackfile (d.."_creat.e"),
ackfile (d.."_dup.e"),
ackfile (d.."_dup2.e"),
ackfile (d.."_execl.e"),
ackfile (d.."_execve.e"),
ackfile (d.."_exit.e"),
ackfile (d.."_fork.e"),
ackfile (d.."_fstat.e"),
ackfile (d.."_ftime.e"),
ackfile (d.."_getpid.e"),
ackfile (d.."_gtty.c"),
ackfile (d.."_stty.c"),
ackfile (d.."_ioctl.e"),
ackfile (d.."_kill.e"),
ackfile (d.."_link.e"),
ackfile (d.."_lseek.e"),
ackfile (d.."_open.e"),
ackfile (d.."_pause.e"),
ackfile (d.."_pipe.e"),
ackfile (d.."_read.e"),
ackfile (d.."_sbrk.e"),
ackfile (d.."_times.e"),
ackfile (d.."_unlink.e"),
ackfile (d.."_wait.e"),
ackfile (d.."_write.e"),
install = pm.install("%BINDIR%%PLATIND%/%PLATFORM%/libmon.a")
}

View File

@@ -1,41 +0,0 @@
-- $Source$
-- $State$
local d = ROOTDIR.."lang/cem/libcc/"
include (d.."gen/pmfile")
include (d.."math/pmfile")
include (d.."mon/pmfile")
include (d.."stdio/pmfile")
local headers = group {
install = {
pm.install(d.."headers/assert.h", "%BINDIR%include/knr/assert.h"),
pm.install(d.."headers/ctype.h", "%BINDIR%include/knr/ctype.h"),
pm.install(d.."headers/errno.h", "%BINDIR%include/knr/errno.h"),
pm.install(d.."headers/fcntl.h", "%BINDIR%include/knr/fcntl.h"),
pm.install(d.."headers/grp.h", "%BINDIR%include/knr/grp.h"),
pm.install(d.."headers/math.h", "%BINDIR%include/knr/math.h"),
pm.install(d.."headers/pwd.h", "%BINDIR%include/knr/pwd.h"),
pm.install(d.."headers/setjmp.h", "%BINDIR%include/knr/setjmp.h"),
pm.install(d.."headers/sgtty.h", "%BINDIR%include/knr/sgtty.h"),
pm.install(d.."headers/signal.h", "%BINDIR%include/knr/signal.h"),
pm.install(d.."headers/stdio.h", "%BINDIR%include/knr/stdio.h"),
pm.install(d.."headers/time.h", "%BINDIR%include/knr/time.h"),
pm.install(d.."headers/varargs.h", "%BINDIR%include/knr/varargs.h"),
pm.install(d.."headers/sys/dir.h", "%BINDIR%include/knr/sys/dir.h"),
pm.install(d.."headers/sys/errno.h", "%BINDIR%include/knr/sys/errno.h"),
pm.install(d.."headers/sys/stat.h", "%BINDIR%include/knr/sys/stat.h"),
pm.install(d.."headers/sys/stdtypes.h", "%BINDIR%include/knr/sys/stdtypes.h"),
pm.install(d.."headers/sys/types.h", "%BINDIR%include/knr/sys/types.h"),
pm.install(d.."headers/sys/timeb.h", "%BINDIR%include/knr/sys/timeb.h"),
}
}
lang_cem_runtime = group {
headers,
lang_cem_gen_runtime,
lang_cem_math_runtime,
lang_cem_mon_runtime,
lang_cem_stdio_runtime
}

View File

@@ -1,58 +0,0 @@
-- $Source$
-- $State$
local d = ROOTDIR.."lang/cem/libcc/stdio/"
lang_cem_stdio_runtime = acklibrary {
ACKINCLUDES = {PARENT, "%ROOTDIR%h"},
ackfile (d.."vsprintf.c"),
ackfile (d.."vfprintf.c"),
ackfile (d.."vprintf.c"),
ackfile (d.."termcap.c"),
ackfile (d.."getopt.c"),
ackfile (d.."clearerr.c"),
ackfile (d.."fgetc.c"),
ackfile (d.."fgets.c"),
ackfile (d.."fprintf.c"),
ackfile (d.."fputc.c"),
ackfile (d.."fputs.c"),
ackfile (d.."fread.c"),
ackfile (d.."freopen.c"),
ackfile (d.."fscanf.c"),
ackfile (d.."ftell.c"),
ackfile (d.."fwrite.c"),
ackfile (d.."getchar.c"),
ackfile (d.."getgrent.c"),
ackfile (d.."getpass.c"),
ackfile (d.."getpw.c"),
ackfile (d.."fopen.c"),
ackfile (d.."getpwent.c"),
ackfile (d.."gets.c"),
ackfile (d.."getw.c"),
ackfile (d.."popen.c"),
ackfile (d.."fdopen.c"),
ackfile (d.."printf.c"),
ackfile (d.."putchar.c"),
ackfile (d.."puts.c"),
ackfile (d.."putw.c"),
ackfile (d.."rewind.c"),
ackfile (d.."fseek.c"),
ackfile (d.."scanf.c"),
ackfile (d.."setbuf.c"),
ackfile (d.."sprintf.c"),
ackfile (d.."doprnt.c"),
ackfile (d.."fltpr.c"),
ackfile (d.."flushbuf.c"),
ackfile (d.."fclose.c"),
ackfile (d.."data.c"),
ackfile (d.."fflush.c"),
ackfile (d.."sscanf.c"),
ackfile (d.."doscan.c"),
ackfile (d.."fillbuf.c"),
ackfile (d.."system.c"),
ackfile (d.."timezone.c"),
ackfile (d.."ungetc.c"),
install = pm.install("%BINDIR%%PLATIND%/%PLATFORM%/libc-stdio-knr.a")
}

View File

@@ -1,9 +0,0 @@
-- $Source$
-- $State$
local d = ROOTDIR.."lang/cem/"
-- include (d.."cemcom/pmfile")
include (d.."cemcom.ansi/pmfile")
-- include (d.."libcc/pmfile")
include (d.."libcc.ansi/pmfile")

View File

@@ -1,177 +0,0 @@
-- $Source$
-- $State$
local d = ROOTDIR.."lang/m2/comp/"
local extract_parameters = simple {
outputs = {
"%U%/errout.h",
"%U%/idfsize.h",
"%U%/numsize.h",
"%U%/strsize.h",
"%U%/target_sizes.h",
"%U%/debugcst.h",
"%U%/inputtype.h",
"%U%/density.h",
"%U%/squeeze.h",
"%U%/strict3rd.h",
"%U%/nocross.h",
"%U%/nostrict.h",
"%U%/bigresult.h",
"%U%/dbsymtab.h",
"%U%/use_insert.h",
"%U%/uns_arith.h",
},
command = {
"cd %out[1]:dirname% && %in[1]% %in[2]%"
},
file (d.."make.hfiles"),
file (d.."BigPars")
}
local lpars = LLgen {
simple {
outputs = {"%U%/tokenfile.g"},
command = {
"%in[1]% < %in[2]% > %out[1]%"
},
file (d.."make.tokfile"),
file (d.."tokenname.c")
},
file (d.."program.g"),
file (d.."declar.g"),
file (d.."expression.g"),
file (d.."statement.g"),
}
local allocd_header = simple {
class = "allocd_header",
command = {
"%in[1]% < %in[2]% > %out[1]%"
},
file (d.."make.allocd")
}
local cfile_with_headers = cfile {
class = "cfile_with_headers",
dynamicheaders = {
file (d),
extract_parameters,
allocd_header { outputs = {"%U%/def.h"}, (d.."def.H") },
allocd_header { outputs = {"%U%/type.h"}, (d.."type.H") },
allocd_header { outputs = {"%U%/real.h"}, (d.."real.H") },
allocd_header { outputs = {"%U%/node.h"}, (d.."node.H") },
lpars
}
}
lang_m2_compiler = cprogram {
CDEFINES = {PARENT, "STATIC=static"},
cfile_with_headers (d.."LLlex.c"),
cfile_with_headers (d.."LLmessage.c"),
cfile_with_headers (d.."error.c"),
cfile_with_headers (d.."main.c"),
cfile_with_headers (d.."tokenname.c"),
cfile_with_headers (d.."idf.c"),
cfile_with_headers (d.."input.c"),
cfile_with_headers (d.."type.c"),
cfile_with_headers (d.."def.c"),
cfile_with_headers (d.."misc.c"),
cfile_with_headers (d.."enter.c"),
cfile_with_headers (d.."defmodule.c"),
cfile_with_headers (d.."typequiv.c"),
cfile_with_headers (d.."node.c"),
cfile_with_headers (d.."cstoper.c"),
cfile_with_headers (d.."chk_expr.c"),
cfile_with_headers (d.."options.c"),
cfile_with_headers (d.."walk.c"),
cfile_with_headers (d.."desig.c"),
cfile_with_headers (d.."code.c"),
cfile_with_headers (d.."lookup.c"),
cfile_with_headers (d.."stab.c"),
foreach {
rule = cfile_with_headers,
ith { lpars, from=2 }
},
cfile_with_headers {
simple {
outputs = {"%U%-symbol2str.c"},
command = {
"%in[1]% < %in[2]% > %out[1]%"
},
file (d.."make.tokcase"),
file (d.."tokenname.c")
}
},
cfile_with_headers {
CINCLUDES = {PARENT, d},
tabgen (d.."char.tab")
},
cfile_with_headers {
simple {
outputs = {"%U%-next.c"},
command = {
"%in% > %out%"
},
file (d.."make.next"),
file (d.."def.H"),
file (d.."type.H"),
file (d.."real.H"),
file (d.."node.H"),
file (d.."scope.C"),
file (d.."tmpvar.C"),
file (d.."casestat.C"),
}
},
cfile_with_headers {
allocd_header { outputs = {"%U%-scope.c"}, (d.."scope.C") }
},
cfile_with_headers {
allocd_header { outputs = {"%U%-tmpvar.c"}, (d.."tmpvar.C") }
},
cfile_with_headers {
allocd_header { outputs = {"%U%-casestat.c"}, (d.."casestat.C") }
},
lib_em_mes,
lib_emk,
lib_em_data,
lib_input,
lib_assert,
lib_alloc,
lib_flt_arith,
lib_print,
lib_string,
lib_system,
outputs = {"%U%/em_m2"},
install = {
pm.install( "%BINDIR%%PLATDEP%/em_m2"),
pm.install(d.."em_m2.6", "%BINDIR%/man/man6/em_m2.6"),
}
}
-- Revision history
-- $Log$
-- 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
-- Added support for the Modula-2 compiler.

View File

@@ -1,99 +0,0 @@
-- $Source$
-- $State$
local d = ROOTDIR.."lang/m2/libm2/"
local headers = group {
install = {
pm.install(d.."Arguments.def", "%BINDIR%include/m2/Arguments.def"),
pm.install(d.."ArraySort.def", "%BINDIR%include/m2/ArraySort.def"),
pm.install(d.."ASCII.def", "%BINDIR%include/m2/ASCII.def"),
pm.install(d.."Conversion.def", "%BINDIR%include/m2/Conversion.def"),
pm.install(d.."CSP.def", "%BINDIR%include/m2/CSP.def"),
pm.install(d.."EM.def", "%BINDIR%include/m2/EM.def"),
pm.install(d.."Epilogue.def", "%BINDIR%include/m2/Epilogue.def"),
pm.install(d.."InOut.def", "%BINDIR%include/m2/InOut.def"),
pm.install(d.."MathLib0.def", "%BINDIR%include/m2/MathLib0.def"),
pm.install(d.."Mathlib.def", "%BINDIR%include/m2/Mathlib.def"),
pm.install(d.."PascalIO.def", "%BINDIR%include/m2/PascalIO.def"),
pm.install(d.."Processes.def", "%BINDIR%include/m2/Processes.def"),
pm.install(d.."random.def", "%BINDIR%include/m2/random.def"),
pm.install(d.."RealConver.def", "%BINDIR%include/m2/RealConver.def"),
pm.install(d.."RealInOut.def", "%BINDIR%include/m2/RealInOut.def"),
pm.install(d.."Semaphores.def", "%BINDIR%include/m2/Semaphores.def"),
pm.install(d.."Storage.def", "%BINDIR%include/m2/Storage.def"),
pm.install(d.."Streams.def", "%BINDIR%include/m2/Streams.def"),
pm.install(d.."Strings.def", "%BINDIR%include/m2/Strings.def"),
pm.install(d.."StripUnix.def", "%BINDIR%include/m2/StripUnix.def"),
pm.install(d.."Termcap.def", "%BINDIR%include/m2/Termcap.def"),
-- pm.install(d.."Terminal.def", "%BINDIR%include/m2/Terminal.def"),
pm.install(d.."Traps.def", "%BINDIR%include/m2/Traps.def"),
pm.install(d.."Unix.def", "%BINDIR%include/m2/Unix.def"),
pm.install(d.."XXTermcap.def", "%BINDIR%include/m2/XXTermcap.def"),
}
}
local head = ackfile {
file (d.."head_m2.e"),
install = pm.install("%BINDIR%%PLATIND%/%PLATFORM%/modula2.o")
}
local tail = acklibrary {
ackfile (d.."Termcap.mod"),
ackfile (d.."CSP.mod"),
ackfile (d.."PascalIO.mod"),
ackfile (d.."RealInOut.mod"),
ackfile (d.."InOut.mod"),
ackfile (d.."Streams.mod"),
-- ackfile (d.."Terminal.mod"),
ackfile (d.."MathLib0.mod"),
ackfile (d.."Mathlib.mod"),
ackfile (d.."Processes.mod"),
ackfile (d.."RealConver.mod"),
ackfile (d.."Storage.mod"),
ackfile (d.."Conversion.mod"),
ackfile (d.."Semaphores.mod"),
ackfile (d.."random.mod"),
ackfile (d.."Strings.mod"),
ackfile (d.."ArraySort.mod"),
ackfile (d.."catch.c"),
ackfile (d.."Traps.mod"),
ackfile (d.."XXTermcap.c"),
ackfile (d.."dvi.c"),
ackfile (d.."Arguments.c"),
ackfile (d.."LtoUset.e"),
ackfile (d.."StrAss.c"),
ackfile (d.."cap.c"),
ackfile (d.."absd.c"),
ackfile (d.."absf.e"),
ackfile (d.."absi.c"),
ackfile (d.."absl.c"),
ackfile (d.."halt.c"),
ackfile (d.."SYSTEM.c"),
ackfile (d.."par_misc.e"),
ackfile (d.."init.c"),
ackfile (d.."sigtrp.c"),
ackfile (d.."store.c"),
ackfile (d.."confarray.c"),
ackfile (d.."load.c"),
ackfile (d.."blockmove.c"),
ackfile (d.."stackprio.c"),
ackfile (d.."ucheck.c"),
ackfile (d.."rcka.c"),
ackfile (d.."rcku.c"),
ackfile (d.."rcki.c"),
ackfile (d.."rckul.c"),
ackfile (d.."rckil.c"),
ackfile (d.."EM.e"),
install = pm.install("%BINDIR%%PLATIND%/%PLATFORM%/libmodula2.a")
}
lang_m2_runtime = acklibrary {
ACKINCLUDES = {PARENT, "%ROOTDIR%h"},
headers,
head,
tail
}

View File

@@ -1,7 +0,0 @@
-- $Source$
-- $State$
local d = ROOTDIR.."lang/m2/"
include (d.."comp/pmfile")
include (d.."libm2/pmfile")

View File

@@ -1,62 +0,0 @@
-- $Source$
-- $State$
local d = ROOTDIR.."lang/occam/comp/"
local lpars = LLgen {
file (d.."occam.g"),
}
local cfile_with_headers = cfile {
class = "cfile_with_headers",
dynamicheaders = {
file (d),
lpars
}
}
lang_occam_compiler = cprogram {
CLIBRARIES = {PARENT, "fl"},
cfile_with_headers (d.."builtin.c"),
cfile_with_headers (d.."code.c"),
cfile_with_headers (d.."em.c"),
cfile_with_headers (d.."expr.c"),
cfile_with_headers (d.."keytab.c"),
cfile_with_headers (d.."report.c"),
cfile_with_headers (d.."symtab.c"),
foreach {
rule = cfile_with_headers,
ith { lpars, from=2 }
},
cfile_with_headers {
flex (d.."lex.l")
},
lib_em_mes,
lib_emk,
lib_em_data,
-- lib_input,
-- lib_assert,
lib_alloc,
-- lib_flt_arith,
lib_print,
lib_string,
lib_system,
outputs = {"%U%/em_occam"},
install = {
pm.install("%BINDIR%%PLATDEP%/em_occam"),
}
}
-- Revision history
-- $Log$
-- 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

@@ -1,21 +0,0 @@
-- $Source$
-- $State$
local d = ROOTDIR.."lang/occam/lib/"
lang_occam_lib_runtime = acklibrary {
ACKINCLUDES = {PARENT, "%ROOTDIR%h"},
ackfile (d.."builtin.c"),
ackfile (d.."chan_strct.c"),
ackfile (d.."channel.c"),
ackfile (d.."co.c"),
ackfile (d.."misc.e"),
ackfile (d.."now.c"),
ackfile (d.."ocrt.c"),
ackfile (d.."par.c"),
ackfile (d.."par_misc.e"),
ackfile (d.."parco.c"),
install = pm.install("%BINDIR%%PLATIND%/%PLATFORM%/liboccam.a")
}

View File

@@ -1,20 +0,0 @@
-- $Source$
-- $State$
local d = ROOTDIR.."lang/occam/"
include (d.."comp/pmfile")
include (d.."lib/pmfile")
local headers = group {
install = {
pm.install(d.."headers/dec.ocm", "%BINDIR%include/occam/dec.ocm"),
pm.install(d.."headers/printd.ocm", "%BINDIR%include/occam/printd.ocm"),
pm.install(d.."headers/prints.ocm", "%BINDIR%include/occam/prints.ocm"),
}
}
lang_occam_runtime = group {
headers,
lang_occam_lib_runtime
}

View File

@@ -1,169 +0,0 @@
-- $Source$
-- $State$
local d = ROOTDIR.."lang/pc/comp/"
local extract_parameters = simple {
outputs = {
"%U%/debugcst.h",
"%U%/density.h",
"%U%/errout.h",
"%U%/idfsize.h",
"%U%/inputtype.h",
"%U%/numsize.h",
"%U%/strsize.h",
"%U%/target_sizes.h",
"%U%/nocross.h",
"%U%/dbsymtab.h",
},
command = {
"cd %out[1]:dirname% && %in[1]% %in[2]%"
},
file (d.."make.hfiles"),
file (d.."Parameters")
}
local lpars = LLgen {
simple {
outputs = {"%U%/tokenfile.g"},
command = {
"%in[1]% < %in[2]% > %out[1]%"
},
file (d.."make.tokfile"),
file (d.."tokenname.c")
},
file (d.."program.g"),
file (d.."declar.g"),
file (d.."expression.g"),
file (d.."statement.g"),
}
local allocd_header = simple {
class = "allocd_header",
command = {
"%in[1]% < %in[2]% > %out[1]%"
},
file (d.."make.allocd")
}
local cfile_with_headers = cfile {
class = "cfile_with_headers",
dynamicheaders = {
file (d),
extract_parameters,
allocd_header { outputs = {"%U%/def.h"}, (d.."def.H") },
allocd_header { outputs = {"%U%/type.h"}, (d.."type.H") },
allocd_header { outputs = {"%U%/scope.h"}, (d.."scope.H") },
allocd_header { outputs = {"%U%/node.h"}, (d.."node.H") },
allocd_header { outputs = {"%U%/desig.h"}, (d.."desig.H") },
lpars
}
}
lang_pc_compiler = cprogram {
CDEFINES = {PARENT, "STATIC=static"},
cfile_with_headers (d.."LLlex.c"),
cfile_with_headers (d.."LLmessage.c"),
cfile_with_headers (d.."body.c"),
cfile_with_headers (d.."chk_expr.c"),
cfile_with_headers (d.."code.c"),
cfile_with_headers (d.."cstoper.c"),
cfile_with_headers (d.."def.c"),
cfile_with_headers (d.."desig.c"),
cfile_with_headers (d.."enter.c"),
cfile_with_headers (d.."error.c"),
cfile_with_headers (d.."idf.c"),
cfile_with_headers (d.."input.c"),
cfile_with_headers (d.."label.c"),
cfile_with_headers (d.."lookup.c"),
cfile_with_headers (d.."main.c"),
cfile_with_headers (d.."misc.c"),
cfile_with_headers (d.."node.c"),
cfile_with_headers (d.."options.c"),
cfile_with_headers (d.."progs.c"),
cfile_with_headers (d.."readwrite.c"),
cfile_with_headers (d.."scope.c"),
cfile_with_headers (d.."stab.c"),
cfile_with_headers (d.."tokenname.c"),
cfile_with_headers (d.."type.c"),
cfile_with_headers (d.."typequiv.c"),
foreach {
rule = cfile_with_headers,
ith { lpars, from=2 }
},
cfile_with_headers {
simple {
outputs = {"%U%-symbol2str.c"},
command = {
"%in[1]% < %in[2]% > %out[1]%"
},
file (d.."make.tokcase"),
file (d.."tokenname.c")
}
},
cfile_with_headers {
CINCLUDES = {PARENT, d},
tabgen (d.."char.tab")
},
cfile_with_headers {
simple {
outputs = {"%U%-next.c"},
command = {
"%in% > %out%"
},
file (d.."make.next"),
file (d.."def.H"),
file (d.."type.H"),
file (d.."node.H"),
file (d.."scope.H"),
file (d.."desig.H"),
file (d.."tmpvar.C"),
file (d.."casestat.C"),
}
},
cfile_with_headers {
allocd_header { outputs = {"%U%-tmpvar.c"}, (d.."tmpvar.C") }
},
cfile_with_headers {
allocd_header { outputs = {"%U%-casestat.c"}, (d.."casestat.C") }
},
lib_em_mes,
lib_emk,
lib_em_data,
lib_input,
lib_assert,
lib_alloc,
lib_flt_arith,
lib_print,
lib_string,
lib_system,
outputs = {"%U%/em_pc"},
install = {
pm.install( "%BINDIR%%PLATDEP%/em_pc"),
pm.install(d.."em_pc.6", "%BINDIR%/man/man6/em_pc.6"),
}
}
-- Revision history
-- $Log$
-- 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

@@ -1,95 +0,0 @@
-- $Source$
-- $State$
local d = ROOTDIR.."lang/pc/libpc/"
head = ackfile {
file (d.."head_pc.e"),
install = pm.install("%BINDIR%%PLATIND%/%PLATFORM%/pascal.o")
}
tail = acklibrary {
ackfile (d.."abi.c"),
ackfile (d.."abl.c"),
ackfile (d.."abr.c"),
ackfile (d.."arg.c"),
ackfile (d.."ass.c"),
ackfile (d.."asz.c"),
ackfile (d.."atn.c"),
ackfile (d.."bcp.c"),
ackfile (d.."bts.e"),
ackfile (d.."buff.c"),
ackfile (d.."clock.c"),
ackfile (d.."diag.c"),
ackfile (d.."dis.c"),
ackfile (d.."efl.c"),
ackfile (d.."eln.c"),
ackfile (d.."encaps.e"),
ackfile (d.."exp.c"),
ackfile (d.."get.c"),
ackfile (d.."gto.e"),
ackfile (d.."hlt.c"),
ackfile (d.."ini.c"),
ackfile (d.."catch.c"),
ackfile (d.."log.c"),
ackfile (d.."mdi.c"),
ackfile (d.."mdl.c"),
ackfile (d.."new.c"),
ackfile (d.."nobuff.c"),
ackfile (d.."notext.c"),
ackfile (d.."opn.c"),
ackfile (d.."hol0.e"),
ackfile (d.."pac.c"),
ackfile (d.."pclose.c"),
ackfile (d.."pcreat.c"),
ackfile (d.."pentry.c"),
ackfile (d.."perrno.c"),
ackfile (d.."pexit.c"),
ackfile (d.."popen.c"),
ackfile (d.."cls.c"),
ackfile (d.."put.c"),
ackfile (d.."rdc.c"),
ackfile (d.."rdl.c"),
ackfile (d.."rdr.c"),
ackfile (d.."rdi.c"),
ackfile (d.."rln.c"),
ackfile (d.."rf.c"),
ackfile (d.."rnd.c"),
ackfile (d.."sav.e"),
ackfile (d.."sig.e"),
ackfile (d.."sin.c"),
ackfile (d.."sqt.c"),
ackfile (d.."fef.e"),
ackfile (d.."string.c"),
ackfile (d.."trap.e"),
ackfile (d.."unp.c"),
ackfile (d.."uread.c"),
ackfile (d.."uwrite.c"),
ackfile (d.."wdw.c"),
ackfile (d.."incpt.c"),
ackfile (d.."wrc.c"),
ackfile (d.."wrf.c"),
ackfile (d.."wri.c"),
ackfile (d.."wrl.c"),
ackfile (d.."wrr.c"),
ackfile (d.."cvt.c"),
ackfile (d.."fif.e"),
ackfile (d.."wrz.c"),
ackfile (d.."wrs.c"),
ackfile (d.."outcpt.c"),
ackfile (d.."wf.c"),
ackfile (d.."nfa.c"),
ackfile (d.."rcka.c"),
ackfile (d.."trp.e"),
install = pm.install("%BINDIR%%PLATIND%/%PLATFORM%/libpascal.a")
}
lang_pc_runtime = group {
ACKINCLUDES = {PARENT, "%ROOTDIR%h"},
head,
tail
}

View File

@@ -1,7 +0,0 @@
-- $Source$
-- $State$
local d = ROOTDIR.."lang/pc/"
include (d.."comp/pmfile")
include (d.."libpc/pmfile")