summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalUnixMakefileGenerator2.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator2.h')
-rw-r--r--Source/cmLocalUnixMakefileGenerator2.h22
1 files changed, 21 insertions, 1 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator2.h b/Source/cmLocalUnixMakefileGenerator2.h
index 1be2eae..5f3c89b 100644
--- a/Source/cmLocalUnixMakefileGenerator2.h
+++ b/Source/cmLocalUnixMakefileGenerator2.h
@@ -58,11 +58,31 @@ protected:
void GenerateObjectRuleFile(const cmTarget& target,
const cmSourceFile& source);
void WriteDisclaimer(std::ostream& os);
+ void WriteExecutableRule(std::ostream& ruleFileStream,
+ const char* ruleFileName,
+ const cmTarget& target,
+ std::vector<std::string>& objects);
+ void WriteStaticLibraryRule(std::ostream& ruleFileStream,
+ const char* ruleFileName,
+ const cmTarget& target,
+ std::vector<std::string>& objects);
+ void WriteLibraryRule(std::ostream& ruleFileStream,
+ const char* ruleFileName,
+ const cmTarget& target,
+ std::vector<std::string>& objects,
+ const char* linkRuleVar,
+ const char* flagsPropertyName);
std::string GetTargetDirectory(const cmTarget& target);
- std::string GetObjectFileName(const cmSourceFile& source);
+ std::string GetObjectFileName(const cmTarget& target,
+ const cmSourceFile& source);
const char* GetSourceFileLanguage(const cmSourceFile& source);
+ void AddLanguageFlags(std::string& flags, const char* lang);
+ void AddSharedFlags(std::string& flags, const char* lang, bool shared);
+ void AddConfigVariableFlags(std::string& flags, const char* var);
+ void AppendFlags(std::string& flags, const char* newFlags);
+
static bool ScanDependenciesC(const char* objFile, const char* srcFile,
std::vector<std::string> const& includes);
private: