From 113383e31cd0f496bf6099da3a2ab49c94290381 Mon Sep 17 00:00:00 2001 From: dtrg Date: Sat, 22 Jul 2006 20:04:41 +0000 Subject: [PATCH] Added support for the led link editor. --- pmfile | 7 ++++++- util/led/pmfile | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+), 1 deletion(-) create mode 100644 util/led/pmfile diff --git a/pmfile b/pmfile index e8cdad566..3051183d3 100644 --- a/pmfile +++ b/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 diff --git a/util/led/pmfile b/util/led/pmfile new file mode 100644 index 000000000..1685142eb --- /dev/null +++ b/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. +-- \ No newline at end of file