Browse Source

Added support for the led link editor.

dtrg 18 years ago
parent
commit
bc943a92c2
2 changed files with 43 additions and 1 deletions
  1. 6 1
      pmfile
  2. 37 0
      util/led/pmfile

+ 6 - 1
pmfile

@@ -44,6 +44,7 @@ include "util/misc/pmfile"
 include "util/opt/pmfile"
 include "util/ego/pmfile"
 include "util/topgen/pmfile"
+include "util/led/pmfile"
 
 include "lang/cem/cemcom/pmfile"
 include "lang/cem/cemcom.ansi/pmfile"
@@ -101,6 +102,7 @@ default = group {
 	tool_opt,
 	tool_ego,
 	tool_topgen,
+	tool_led,
 
 	lang_cem_cemcom,
 	lang_cem_cemcom_ansi,
@@ -156,7 +158,10 @@ configure = simple {
 
 -- Revision history
 -- $Log$
--- Revision 1.4  2006-07-22 12:31:19  dtrg
+-- Revision 1.5  2006-07-22 20:04:41  dtrg
+-- Added support for the led link editor.
+--
+-- Revision 1.4  2006/07/22 12:31:19  dtrg
 -- Added support for the top target peephole optimiser.
 --
 -- Revision 1.3  2006/07/22 00:52:01  dtrg

+ 37 - 0
util/led/pmfile

@@ -0,0 +1,37 @@
+-- $Source$
+-- $State$
+
+local d = ROOTDIR.."util/led/"
+
+tool_led = cprogram {
+	cfile (d.."archive.c"),
+	cfile (d.."error.c"),
+	cfile (d.."extract.c"),
+	cfile (d.."finish.c"),
+	cfile (d.."main.c"),
+	cfile (d.."memory.c"),
+	cfile (d.."output.c"),
+	cfile (d.."read.c"),
+	cfile (d.."relocate.c"),
+	cfile (d.."save.c"),
+	cfile (d.."scan.c"),
+	cfile (d.."sym.c"),
+	cfile (d.."write.c"),
+
+	lib_string,
+	lib_object,
+	
+	outputs = {"%U%/led"},
+	install = {
+		-- FIXME lib.bin in next line needs removing --- pm bug?
+		pm.install("%BINDIR%bin/led"),
+		pm.install(d.."ack.out.5", "%BINDIR%man/man5/ack.out.5"),
+		pm.install(d.."led.6", "%BINDIR%man/man6/led.6"),
+	}
+}
+	
+-- Revision history
+-- $Log$
+-- Revision 1.1  2006-07-22 20:04:41  dtrg
+-- Added support for the led link editor.
+--