ack/util/cgg/pmfile

55 lines
963 B
Plaintext
Raw Normal View History

2006-07-20 23:24:28 +00:00
-- $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},
2006-07-20 23:24:28 +00:00
yacc_bootgram,
},
cfile {
CINCLUDES = {PARENT, d},
2006-07-20 23:24:28 +00:00
flex {
file (d.."bootlex.l")
},
dynamicheaders = yacc_bootgram
},
CLIBRARIES = {PARENT, "fl"},
2006-07-20 23:24:28 +00:00
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)",
2006-07-20 23:24:28 +00:00
},
}
-- 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
2006-07-20 23:24:28 +00:00
-- First version in CVS.
--