diff options
Diffstat (limited to 'src/rule.h')
-rw-r--r-- | src/rule.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -6,6 +6,7 @@ | |||
6 | #include <stdint.h> | 6 | #include <stdint.h> |
7 | #include "regexp.h" | 7 | #include "regexp.h" |
8 | #include "staticstring.h" | 8 | #include "staticstring.h" |
9 | #include "builder.h" | ||
9 | 10 | ||
10 | class Perform; | 11 | class Perform; |
11 | 12 | ||
@@ -40,10 +41,10 @@ public: | |||
40 | 41 | ||
41 | bool willChain( Rule *pRule ); | 42 | bool willChain( Rule *pRule ); |
42 | 43 | ||
43 | std::list<std::string> execute( class Builder &bld, std::list<std::string> lInput, const char *sTarget=NULL ); | 44 | std::list<std::string> execute( class Builder &bld, std::list<std::string> lInput, std::list<Perform *> &lPerf, const char *sTarget=NULL ); |
44 | 45 | ||
45 | private: | 46 | private: |
46 | class Perform *buildCommand( class Builder &bld, const char *sCmd, const char *sTarget, const char *sMatches ); | 47 | class Perform *buildCommand( class Builder &bld, const char *sCmd, Builder::varmap *vars ); |
47 | std::list<std::string> findTargets( class Builder &bld, std::list<std::string> &lIn, std::string &sMatches, const char *sTarget ); | 48 | std::list<std::string> findTargets( class Builder &bld, std::list<std::string> &lIn, std::string &sMatches, const char *sTarget ); |
48 | StaticString sName; | 49 | StaticString sName; |
49 | std::list<std::string> lProduces; | 50 | std::list<std::string> lProduces; |