Browse Source

em_table is now in /h, not /etc.

dtrg 17 years ago
parent
commit
19df20b027
4 changed files with 24 additions and 12 deletions
  1. 6 3
      modules/src/em_code/pmfile
  2. 8 5
      modules/src/read_em/pmfile
  3. 5 2
      util/ego/pmfile
  4. 5 2
      util/opt/pmfile

+ 6 - 3
modules/src/em_code/pmfile

@@ -8,13 +8,13 @@ lib_emk = file (LIBDIR.."libemk.a")
 local em_codeMK_h = simple {
 	outputs = {"%U%-%I%.h"},
 	command = {
-		d.."make.em.gen etc/em_table "..d.."em.nogen > %out%",
+		"%in[1]% %in[2]% "..d.."em.nogen > %out%",
 		"cat "..d.."em.nogen >> %out%"
 	},
 	install = pm.install(HEADERDIR.."em_codeEK.h"),
 	
 	file (d.."make.em.gen"),
-	file ("etc/em_table")
+	file ("%ROOTDIR%h/em_table")
 }
 
 local em_cfile = cfile {
@@ -101,7 +101,10 @@ module_em_code = group {
 
 -- Revision history
 -- $Log$
--- Revision 1.2  2006-10-15 00:28:11  dtrg
+-- Revision 1.3  2007-02-25 12:46:41  dtrg
+-- em_table is now in /h, not /etc.
+--
+-- Revision 1.2  2006/10/15 00:28:11  dtrg
 -- Updated to the version 0.1 of Prime Mover (which involves some syntax changes).
 --
 -- Revision 1.1  2006/07/20 23:18:18  dtrg

+ 8 - 5
modules/src/read_em/pmfile

@@ -7,21 +7,21 @@ lib_read_emkV = file (LIBDIR.."libread_emkV.a")
 lib_read_emeV = file (LIBDIR.."libread_emeV.a")
 
 local C_mnem_h = simple {
-	command = {"(cd "..d.." && sh %in%) > %out%"},
+	command = {"(cd "..d.." && sh %in[1]% %in[2]%) > %out%"},
 	outputs = {"%U%-%I%.h"},
 	install = pm.install(HEADERDIR.."C_mnem.h"),
 	
 	file (ROOTDIR..d.."m_C_mnem"),
-	file (ROOTDIR.."etc/em_table")
+	file ("%ROOTDIR%h/em_table")
 }
 
 local C_mnem_narg_h = simple {
-	command = {"(cd "..d.." && %in%) > %out%"},
+	command = {"(cd "..d.." && %in[1]% %in[2]%) > %out%"},
 	outputs = {"%U%-%I%.h"},
 	install = pm.install(HEADERDIR.."C_mnem_narg.h"),
 	
 	file (ROOTDIR..d.."m_C_mnem_na"),
-	file (ROOTDIR.."etc/em_table")
+	file ("%ROOTDIR%h/em_table")
 }
 
 local withdynamic = cfile {
@@ -85,7 +85,10 @@ module_read_em = group {
 
 -- Revision history
 -- $Log$
--- Revision 1.2  2006-10-15 00:28:11  dtrg
+-- Revision 1.3  2007-02-25 12:47:10  dtrg
+-- em_table is now in /h, not /etc.
+--
+-- Revision 1.2  2006/10/15 00:28:11  dtrg
 -- Updated to the version 0.1 of Prime Mover (which involves some syntax changes).
 --
 -- Revision 1.1  2006/07/20 23:18:18  dtrg

+ 5 - 2
util/ego/pmfile

@@ -25,7 +25,7 @@ local pop_push_h = simple {
 	},
 	
 	file (d.."share/pop_push.awk"),
-	file (ROOTDIR.."etc/em_table")
+	file ("%ROOTDIR%h/em_table")
 }
 
 local cfile_with_headers = cfile {
@@ -235,7 +235,10 @@ ego_descr = simple {
 
 -- Revision history
 -- $Log$
--- Revision 1.3  2006-10-15 00:28:12  dtrg
+-- Revision 1.4  2007-02-25 12:49:20  dtrg
+-- em_table is now in /h, not /etc.
+--
+-- 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/23 17:52:23  dtrg

+ 5 - 2
util/opt/pmfile

@@ -36,7 +36,7 @@ local local_tool_opt = cprogram {
 			},
 			
 			file (d.."pop_push.awk"),
-			file (ROOTDIR.."etc/em_table")
+			file ("%ROOTDIR%h/em_table")
 		}
 	},
 
@@ -98,7 +98,10 @@ tool_opt = group {
 
 -- Revision history
 -- $Log$
--- Revision 1.4  2007-02-20 00:27:01  dtrg
+-- Revision 1.5  2007-02-25 12:51:21  dtrg
+-- em_table is now in /h, not /etc.
+--
+-- Revision 1.4  2007/02/20 00:27:01  dtrg
 -- Fixed a compilation error that was causing opt to not have its
 -- peephole optimisation tables, which would make it generate
 -- duff code.