From: dtrg Date: Fri, 21 Jul 2006 11:15:14 +0000 (+0000) Subject: Updated to the latest version of pm. X-Git-Tag: release-6-0-pre-1~111 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=70218cfeed2033a896d2688139f482e5042c2ef8;p=ack.git Updated to the latest version of pm. --- diff --git a/util/LLgen/c.pm b/util/LLgen/c.pm index 638316ba8..eeb313882 100644 --- a/util/LLgen/c.pm +++ b/util/LLgen/c.pm @@ -1,6 +1,3 @@ --- This file is part of Prime Mover v0.1pre1. --- (C) 2006 David Given --- -- pm includefile to compile *host* C programs. -- Standard Lua boilerplate. @@ -14,13 +11,15 @@ local filetime = pm.filetime -- Define some variables. -CC = "gcc %CBUILDFLAGS% %CDYNINCLUDES% %CINCLUDES% %CEXTRAFLAGS% -c -o %out% %in%" -CPROGRAM = "gcc %CBUILDFLAGS% %CLINKFLAGS% %CEXTRAFLAGS% -o %out% %in% %CLIBRARIES%" -CDEPENDS = "gcc %CBUILDFLAGS% %CDYNINCLUDES% %CINCLUDES% %CEXTRAFLAGS% -MM -MG -MF %out% %in%" +CCOMPILER = "gcc" +CC = "%CCOMPILER% %CBUILDFLAGS% %CDYNINCLUDES% %CINCLUDES% %CDEFINES% %CEXTRAFLAGS% -c -o %out% %in%" +CPROGRAM = "%CCOMPILER% %CBUILDFLAGS% %CLINKFLAGS% %CEXTRAFLAGS% -o %out% %in% %CLIBRARIES%" +CDEPENDS = "%CCOMPILER% %CBUILDFLAGS% %CDYNINCLUDES% %CINCLUDES% %CDEFINES% %CEXTRAFLAGS% -MM -MG %in% > %out%" AR = "%RM% %out% && ar cr %out% %in%" CBUILDFLAGS = "-g -Os" CINCLUDES = {} +CDEFINES = {} CEXTRAFLAGS = "" CLINKFLAGS = "" CDYNINCLUDES = "" diff --git a/util/LLgen/pm b/util/LLgen/pm index b20d520d2..dc73aebd6 100755 Binary files a/util/LLgen/pm and b/util/LLgen/pm differ diff --git a/util/LLgen/pmfile b/util/LLgen/pmfile index 61f362bb8..a077050b3 100644 --- a/util/LLgen/pmfile +++ b/util/LLgen/pmfile @@ -1,3 +1,6 @@ +-- $Source$ +-- $State$ +-- -- $Id$ -- -- This is the build file used to compile LLgen. It should be run through @@ -101,3 +104,9 @@ install = group { "(cd bin && tar cf - .) | (cd %PREFIX% && tar xvf -)" } } + +-- Revision history +-- $Log$ +-- Revision 1.2 2006-07-21 11:15:14 dtrg +-- Updated to the latest version of pm. +--