[m-rev.] diff: do not generate dependencies for .s files

Julien Fischer jfischer at opturion.com
Fri Jan 18 12:22:13 AEDT 2013


Do not generate dependencies for .s files.

compiler/write_deps_file.m:
    As above.  The .s files were only ever required by the GCC
    backend.

Julien.

diff --git a/compiler/write_deps_file.m b/compiler/write_deps_file.m
index 5e6182a..97bd95f 100644
--- a/compiler/write_deps_file.m
+++ b/compiler/write_deps_file.m
@@ -1226,26 +1226,6 @@ generate_dv_file(Globals, SourceFileName,
ModuleName, DepsMap, DepStream,
     io.write_string(DepStream, "\n", !IO),

     io.write_string(DepStream, MakeVarName, !IO),
-    io.write_string(DepStream, ".ss = $(", !IO),
-    io.write_string(DepStream, MakeVarName, !IO),
-    io.write_string(DepStream, ".all_ss)\n", !IO),
-
-    io.write_string(DepStream, MakeVarName, !IO),
-    io.write_string(DepStream, ".pic_ss = $(", !IO),
-    io.write_string(DepStream, MakeVarName, !IO),
-    io.write_string(DepStream, ".all_pic_ss)\n", !IO),
-
-    io.write_string(DepStream, MakeVarName, !IO),
-    io.write_string(DepStream, ".s_dates = $(", !IO),
-    io.write_string(DepStream, MakeVarName, !IO),
-    io.write_string(DepStream, ".all_s_dates)\n", !IO),
-
-    io.write_string(DepStream, MakeVarName, !IO),
-    io.write_string(DepStream, ".pic_s_dates = $(", !IO),
-    io.write_string(DepStream, MakeVarName, !IO),
-    io.write_string(DepStream, ".all_pic_s_dates)\n", !IO),
-
-    io.write_string(DepStream, MakeVarName, !IO),
     io.write_string(DepStream, ".os = $(", !IO),
     io.write_string(DepStream, MakeVarName, !IO),
     io.write_string(DepStream, ".all_os)\n", !IO),



More information about the reviews mailing list