diff options
author | Mike Buland <eichlan@xagasoft.com> | 2006-08-01 03:09:58 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2006-08-01 03:09:58 +0000 |
commit | 935bc7d5223883d87f58a6798f4a0ade7df95afc (patch) | |
tree | 83119cd6b407c6e17c21774f1f0cea940d9c948c /src/rule.h | |
parent | 73d53b0962cb19a6d2a7686de658a5540ab07017 (diff) | |
download | build-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.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; |