Updated to work with the new version of pm.

This commit is contained in:
dtrg 2006-11-11 22:59:52 +00:00
parent 02a2876821
commit c21ba9ed0f

View file

@ -12,15 +12,19 @@ local cfile_with_tables = cfile {
class = "cfile_with_tables", class = "cfile_with_tables",
dynamicheaders = { dynamicheaders = {
make_tables, make_tables,
file (ROOTDIR.."mach/%ARCH%/ncg/"),
file (ROOTDIR.."mach/%ARCHDIR%/ncg/"),
file (ROOTDIR.."mach/")
} }
} }
proto_ncg = cprogram { proto_ncg = cprogram {
class = "proto_ncg", class = "proto_ncg",
CINCLUDES = {
PARENT,
"mach/%ARCH%/ncg",
"mach/%ARCHDIR%/ncg",
"mach"
},
cfile_with_tables (d.."codegen.c"), cfile_with_tables (d.."codegen.c"),
cfile_with_tables (d.."compute.c"), cfile_with_tables (d.."compute.c"),
cfile_with_tables (d.."equiv.c"), cfile_with_tables (d.."equiv.c"),
@ -40,11 +44,7 @@ proto_ncg = cprogram {
cfile { cfile {
ith { make_tables, i = 1 }, ith { make_tables, i = 1 },
dynamicheaders = { CINCLUDES = {PARENT, d},
file (ROOTDIR.."mach/%ARCH%/ncg/"),
file (ROOTDIR.."mach/%ARCHDIR%/ncg/"),
file (d)
}
}, },
lib_em_data, lib_em_data,
@ -53,9 +53,3 @@ proto_ncg = cprogram {
outputs = {"%U%/%ARCH%-ncg"}, outputs = {"%U%/%ARCH%-ncg"},
install = pm.install("%BINDIR%%PLATDEP%/%ARCH%/ncg") install = pm.install("%BINDIR%%PLATDEP%/%ARCH%/ncg")
} }
-- Revision history
-- $Log$
-- Revision 1.1 2006-07-20 23:18:18 dtrg
-- First version in CVS.
--