X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fexecutable.h;h=967aaf97c7ec0c8044eaf0c48965122029732eb5;hb=HEAD;hp=a6ebb978175c46029ae804728418d3a423fc1efc;hpb=242c55b17e6608b29a77ca17a5b677e202a3ca90;p=builder.git diff --git a/source/executable.h b/source/executable.h deleted file mode 100644 index a6ebb97..0000000 --- a/source/executable.h +++ /dev/null @@ -1,38 +0,0 @@ -/* $Id$ - -This file is part of builder -Copyright © 2006-2009 Mikko Rasa, Mikkosoft Productions -Distributed under the LGPL -*/ - -#ifndef EXECUTABLE_H_ -#define EXECUTABLE_H_ - -#include "target.h" - -class Component; -class ObjectFile; - -/** -Produces a binary file, which may be either a standalone executable or a shared -library. -*/ -class Executable: public Target -{ -private: - const Component ∁ - -public: - Executable(Builder &, const Component &, const std::list &); - virtual const char *get_type() const { return "Executable"; } - const Component &get_component() const { return comp; } - virtual void find_depends(); -private: - virtual Action *create_action(); - - /** Returns the name for the executable. We can't do this in the - constructor since we need to pass the value to the Target c'tor. */ - static std::string generate_target_name(const Component &); -}; - -#endif