Re-insert makefile code for non-DLLs which was removed by accident

svn path=/branches/xmlbuildsystem/; revision=15310
This commit is contained in:
Casper Hornstrup
2005-05-15 13:57:03 +00:00
parent 01e18d413a
commit 7a812470b6
2 changed files with 15 additions and 13 deletions
@@ -1261,6 +1261,15 @@ MingwModuleHandler::GenerateCleanObjectsAsYouGoCode () const
}
}
void
MingwModuleHandler::GenerateRunRsymCode () const
{
fprintf ( fMakefile,
"\t$(ECHO_RSYM)\n" );
fprintf ( fMakefile,
"\t$(Q)$(RSYM_TARGET) $@ $@\n\n" );
}
void
MingwModuleHandler::GenerateLinkerCommand (
const string& dependencies,
@@ -1331,17 +1340,6 @@ MingwModuleHandler::GenerateLinkerCommand (
fprintf ( fMakefile,
"\t-@${rm} %s 2>$(NUL)\n",
temp_exp.c_str () );
GenerateCleanObjectsAsYouGoCode ();
GenerateBuildMapCode ();
GenerateBuildNonSymbolStrippedCode ();
fprintf ( fMakefile,
"\t$(ECHO_RSYM)\n" );
fprintf ( fMakefile,
"\t$(Q)$(RSYM_TARGET) $@ $@\n\n" );
}
else
{
@@ -1353,9 +1351,12 @@ MingwModuleHandler::GenerateLinkerCommand (
objectsMacro.c_str (),
libsMacro.c_str (),
GetLinkerMacro ().c_str () );
GenerateCleanObjectsAsYouGoCode ();
}
GenerateBuildMapCode ();
GenerateBuildNonSymbolStrippedCode ();
GenerateRunRsymCode ();
GenerateCleanObjectsAsYouGoCode ();
}
void
@@ -87,6 +87,7 @@ protected:
std::string GetLibsMacro () const;
std::string GetLinkerMacro () const;
void GenerateCleanObjectsAsYouGoCode () const;
void GenerateRunRsymCode () const;
void GenerateLinkerCommand ( const std::string& dependencies,
const std::string& linker,
const std::string& linkerParameters,