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,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")