Преглед на файлове

Updated to work with the new version of pm.

dtrg преди 17 години
родител
ревизия
84e903586b
променени са 1 файла, в които са добавени 8 реда и са изтрити 14 реда
  1. 8 14
      mach/proto/ncg/pmfile

+ 8 - 14
mach/proto/ncg/pmfile

@@ -12,15 +12,19 @@ local cfile_with_tables = cfile {
 	class = "cfile_with_tables",
 	dynamicheaders = {
 		make_tables,
-		file (ROOTDIR.."mach/%ARCH%/ncg/"),
-		file (ROOTDIR.."mach/%ARCHDIR%/ncg/"),
-		file (ROOTDIR.."mach/")
 	}
 }
 
 proto_ncg = cprogram {
 	class = "proto_ncg",
 	
+	CINCLUDES = {
+		PARENT,
+		"mach/%ARCH%/ncg",
+		"mach/%ARCHDIR%/ncg",
+		"mach"
+	},
+	
 	cfile_with_tables (d.."codegen.c"),
 	cfile_with_tables (d.."compute.c"),
 	cfile_with_tables (d.."equiv.c"),
@@ -40,11 +44,7 @@ proto_ncg = cprogram {
 	
 	cfile {
 		ith { make_tables, i = 1 },
-		dynamicheaders = {
-			file (ROOTDIR.."mach/%ARCH%/ncg/"),
-			file (ROOTDIR.."mach/%ARCHDIR%/ncg/"),
-			file (d)
-		}
+		CINCLUDES = {PARENT, d},
 	},
 	
 	lib_em_data,
@@ -53,9 +53,3 @@ proto_ncg = cprogram {
 	outputs = {"%U%/%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.
---