-- $Source$ -- $State$ local d = ROOTDIR.."util/cgg/" local yacc_bootgram = yacc { file (d.."bootgram.y") } tool_cgg = cprogram { cfile (d.."main.c"), cfile { CINCLUDES = {PARENT, d}, yacc_bootgram, }, cfile { CINCLUDES = {PARENT, d}, flex { file (d.."bootlex.l") }, dynamicheaders = yacc_bootgram }, CLIBRARIES = {PARENT, "fl"}, lib_em_data, lib_assert, lib_system, install = pm.install(TOOLDIR.."cgg") } cgg = simple { class = "cgg", outputs = {"%U%/tables.c", "%U%/tables.h"}, command = { "cd %out[1]:dirname% && (%BINDIR%%PLATDEP%/cpp -P -I%CGGINCLUDEDIR% %in% | %TOOLDIR%cgg)", }, } -- Revision history -- $Log$ -- Revision 1.3 2006-10-15 00:28:12 dtrg -- Updated to the version 0.1 of Prime Mover (which involves some syntax changes). -- -- Revision 1.2 2006/07/22 20:58:27 dtrg -- cpp now gets installed in the right place. -- -- Revision 1.1 2006/07/20 23:21:17 dtrg -- First version in CVS. --