X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ftarget.h;h=805b64a09a891ecbea2c2039c1a7c60379b672fd;hb=4629d189a531c962cf15a511df787f30c3adcb02;hp=263a404af6b8549b1aa2582fbd860fba634fdbf7;hpb=83d2a8a39e0a09733ffc666d7f885fc328b831f2;p=builder.git diff --git a/source/target.h b/source/target.h index 263a404..805b64a 100644 --- a/source/target.h +++ b/source/target.h @@ -10,6 +10,7 @@ Distributed under the LGPL #include #include +#include #include #include @@ -41,8 +42,8 @@ protected: TargetList rdepends; bool deps_ready; + bool preparing; bool prepared; - bool counted; Target(Builder &, const Package *, const std::string &); public: @@ -85,14 +86,6 @@ public: */ Action *build(); - void reset_count() { counted=false; } - - /** - Returns the number of targets that need to be rebuilt in order to get this - target up-to-date. - */ - virtual unsigned count_rebuild(); - /** Changes the mtime of the target to the current time. */ @@ -111,7 +104,7 @@ protected: virtual Action *create_action() =0; /** - Handles for the build_done signal of Action. + Handler for the build_done signal of Action. */ virtual void build_done(); };