Browse Source

Added support for the Pascal language runtime.

dtrg 18 years ago
parent
commit
faff5b8361
3 changed files with 90 additions and 15 deletions
  1. 83 0
      lang/pc/libpc/pmfile
  2. 1 13
      lang/pc/pmfile
  3. 6 2
      pmfile

+ 83 - 0
lang/pc/libpc/pmfile

@@ -0,0 +1,83 @@
+-- $Source$
+-- $State$
+
+local d = ROOTDIR.."lang/pc/libpc/"
+
+lang_pc_runtime = acklibrary {
+	ACKINCLUDES = {PARENT, "-I%ROOTDIR%h", "-I%ROOTDIR%include/_tail_cc"},
+	
+	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%/%ARCH%/tail_pc.a")
+}

+ 1 - 13
lang/pc/pmfile

@@ -4,16 +4,4 @@
 local d = ROOTDIR.."lang/pc/"
 
 include (d.."comp/pmfile")
-
-lang_pc = group {
-	lang_pc_compiler
-}
-
--- Revision history
--- $Log$
--- Revision 1.1  2006-07-22 21:03:07  dtrg
--- Added support for the Pascal compiler.
---
--- Revision 1.1  2006/07/20 23:18:18  dtrg
--- First version in CVS.
---
+include (d.."libpc/pmfile")

+ 6 - 2
pmfile

@@ -75,6 +75,7 @@ include "mach/z8000/pmfile"
 -- This is the list of language runtimes that is built for each architecture.
 
 lang_runtimes = group {
+	lang_pc_runtime,
 	lang_occam_runtime,
 	lang_basic_runtime,
 }
@@ -118,7 +119,7 @@ default = group {
 
 	lang_cem_cemcom,
 	lang_cem_cemcom_ansi,
-	lang_pc,
+	lang_pc_compiler,
 	lang_m2,
 	lang_occam_compiler,
 	lang_basic_compiler,
@@ -174,7 +175,10 @@ configure = simple {
 
 -- Revision history
 -- $Log$
--- Revision 1.12  2006-07-27 21:58:13  dtrg
+-- Revision 1.13  2006-07-27 22:07:38  dtrg
+-- Added support for the Pascal language runtime.
+--
+-- Revision 1.12  2006/07/27 21:58:13  dtrg
 -- Added support for the Basic and Occam language runtimes.
 --
 -- Revision 1.11  2006/07/26 23:08:09  dtrg