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 {
-- 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
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 {
-- 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
},
file (d.."share/pop_push.awk"),
- file (ROOTDIR.."etc/em_table")
+ file ("%ROOTDIR%h/em_table")
}
local cfile_with_headers = cfile {
-- 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
},
file (d.."pop_push.awk"),
- file (ROOTDIR.."etc/em_table")
+ file ("%ROOTDIR%h/em_table")
}
},
-- 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.