ack/mach/proto/as/pmfile

54 lines
1 KiB
Plaintext
Raw Normal View History

2006-07-20 23:24:28 +00:00
-- $Source$
-- $State$
local d = ROOTDIR.."mach/proto/as/"
local parser = yacc {
simple {
outputs = {"%U%-%I%.y"},
command = {
"cd %out[1]:dirname% && "..
"%BINDIR%%PLATDEP%/cpp -P -I%ROOTDIR%mach/%ARCH%/as -I"..d.." %CINCLUDES% %in[1]% > %out[1]%"
2006-07-20 23:24:28 +00:00
},
file (d.."comm2.y"),
}
}
local cfile_with_tables = cfile {
class = "cfile_with_tables",
dynamicheaders = {
parser,
file (ROOTDIR.."mach/%ARCH%/as/")
}
}
proto_as = cprogram {
class = "proto_as",
cfile_with_tables (d.."comm3.c"),
cfile_with_tables (d.."comm4.c"),
cfile_with_tables (d.."comm5.c"),
cfile_with_tables (d.."comm6.c"),
cfile_with_tables (d.."comm7.c"),
cfile_with_tables (d.."comm8.c"),
cfile {
parser,
},
lib_object,
outputs = {"%U%/%ARCH%-as"},
install = pm.install(BINDIR.."%PLATDEP%/%ARCH%/as")
}
-- Revision history
-- $Log$
-- Revision 1.2 2006-07-30 23:41:16 dtrg
-- Broke dependency on tool_cpp in order to speed up the build.
--
-- Revision 1.1 2006/07/20 23:18:19 dtrg
2006-07-20 23:24:28 +00:00
-- First version in CVS.
--