Remove defunct pmfiles.
--HG-- branch : default-branch
This commit is contained in:
@@ -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.
|
||||
--
|
||||
@@ -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
|
||||
}
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
-- $Source$
|
||||
-- $State$
|
||||
|
||||
local d = ROOTDIR.."lang/pc/"
|
||||
|
||||
include (d.."comp/pmfile")
|
||||
include (d.."libpc/pmfile")
|
||||
Reference in New Issue
Block a user