aboutsummaryrefslogtreecommitdiff
path: root/src/rule.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/rule.h')
-rw-r--r--src/rule.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/rule.h b/src/rule.h
index 8246cc9..b7c0049 100644
--- a/src/rule.h
+++ b/src/rule.h
@@ -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
10class Perform; 11class 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
45private: 46private:
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;