summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalUnixMakefileGenerator2.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2005-02-09 14:36:28 (GMT)
committerBrad King <brad.king@kitware.com>2005-02-09 14:36:28 (GMT)
commit5798510cc7a7543f3583e36f7860488f1c7f6a69 (patch)
tree9e0e92e30ed0eb6256dd67680d5fb6437d3a0bfe /Source/cmLocalUnixMakefileGenerator2.h
parent5517bc911d3c1f57aa77cdb59454ac6655effe21 (diff)
downloadCMake-5798510cc7a7543f3583e36f7860488f1c7f6a69.zip
CMake-5798510cc7a7543f3583e36f7860488f1c7f6a69.tar.gz
CMake-5798510cc7a7543f3583e36f7860488f1c7f6a69.tar.bz2
ENH: Moved reference from local driver targets (like build.local) into individual target rule files. Main rule is now empty, except that clean.local may remove files registered for cleaning.
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator2.h')
-rw-r--r--Source/cmLocalUnixMakefileGenerator2.h13
1 files changed, 4 insertions, 9 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator2.h b/Source/cmLocalUnixMakefileGenerator2.h
index 2fb3a12..7cf9a16 100644
--- a/Source/cmLocalUnixMakefileGenerator2.h
+++ b/Source/cmLocalUnixMakefileGenerator2.h
@@ -90,9 +90,7 @@ protected:
void WriteSpecialTargetsBottom(std::ostream& makefileStream);
void WriteRuleFileIncludes(std::ostream& makefileStream);
void WriteAllRules(std::ostream& makefileStream);
- void WritePassRules(std::ostream& makefileStream,
- const char* pass, const char* comment,
- const std::vector<std::string>& depends);
+ void WritePassRules(std::ostream& makefileStream, const char* pass);
void WriteDriverRules(std::ostream& makefileStream, const char* pass,
const char* local1, const char* local2=0);
void WriteSubdirRules(std::ostream& makefileStream, const char* pass);
@@ -100,6 +98,8 @@ protected:
const char* subdir, std::string& last);
void WriteSubdirDriverRule(std::ostream& makefileStream, const char* pass,
const char* order, const std::string& last);
+ void WriteLocalRule(std::ostream& ruleFileStream, const char* pass,
+ const char* dependency);
void WriteConvenienceRules(std::ostream& ruleFileStream,
const cmTarget& target,
const char* targetOutPath);
@@ -154,6 +154,7 @@ protected:
void WriteTargetRequiresRule(std::ostream& ruleFileStream,
const cmTarget& target,
const std::vector<std::string>& provides_requires);
+ void WriteLocalCleanRule(std::ostream& makefileStream);
void WriteCMakeArgument(std::ostream& os, const char* s);
std::string GetTargetDirectory(const cmTarget& target);
std::string GetSubdirTargetName(const char* pass, const char* subdir);
@@ -211,12 +212,6 @@ private:
// Set of custom rule files that have been generated.
std::set<cmStdString> m_CustomRuleFiles;
- // List of target-level rules for each pass. These are populated by
- // target rule file writing methods.
- std::vector<std::string> m_DependTargets;
- std::vector<std::string> m_BuildTargets;
- std::vector<std::string> m_CleanTargets;
-
// The prefix required of a path to be converted to a relative path.
// No sequence of ../.. will ever go past this path.
std::string m_RelativePathTop;