- writeSolution (two_sln_gen, mkSlnName (MsbuildGenerator.profile_2_0));
- writeSolution (three_five_sln_gen, mkSlnName (MsbuildGenerator.profile_3_5));
- writeSolution (four_sln_gen, mkSlnName (MsbuildGenerator.profile_4_0));
- writeSolution (four_five_sln_gen, mkSlnName (MsbuildGenerator.profile_4_5));
+ WriteSolution (two_sln_gen, MakeSolutionName (MsbuildGenerator.profile_2_0));
+ WriteSolution (three_five_sln_gen, MakeSolutionName (MsbuildGenerator.profile_3_5));
+ WriteSolution (four_sln_gen, MakeSolutionName (MsbuildGenerator.profile_4_0));
+ WriteSolution (four_five_sln_gen, MakeSolutionName (MsbuildGenerator.profile_4_5));
+
+ if (makefileDeps){
+ const string classDirPrefix = "./../../";
+ Console.WriteLine ("here {0}", sln_gen.libraries.Count);
+ foreach (var p in sln_gen.libraries){
+ string rebasedOutput = RebaseToClassDirectory (MsbuildGenerator.GetRelativePath ("../../mcs/class", p.library_output));
+
+ Console.Write ("{0}: ", rebasedOutput);
+ foreach (var r in p.projReferences){
+ var lo = r.library_output;
+ if (lo.StartsWith (classDirPrefix))
+ lo = lo.Substring (classDirPrefix.Length);
+ else
+ lo = "<<ERROR-dependency is not a class library>>";
+ Console.Write ("{0} ", lo);
+ }
+ Console.Write ("\n\t(cd {0}; make {1})", p.MsbuildGenerator.dir, p.library_output);
+ Console.WriteLine ("\n");
+ }
+ }
+