aboutsummaryrefslogtreecommitdiff
path: root/src/rule.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2006-08-01 03:09:58 +0000
committerMike Buland <eichlan@xagasoft.com>2006-08-01 03:09:58 +0000
commit935bc7d5223883d87f58a6798f4a0ade7df95afc (patch)
tree83119cd6b407c6e17c21774f1f0cea940d9c948c /src/rule.h
parent73d53b0962cb19a6d2a7686de658a5540ab07017 (diff)
downloadbuild-935bc7d5223883d87f58a6798f4a0ade7df95afc.tar.gz
build-935bc7d5223883d87f58a6798f4a0ade7df95afc.tar.bz2
build-935bc7d5223883d87f58a6798f4a0ade7df95afc.tar.xz
build-935bc7d5223883d87f58a6798f4a0ade7df95afc.zip
It actually builds, now it just needs dependancy tracking, and maybe auto-target
check triggering.
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;