X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fexecutable.h;h=a8950f11f1336d53ef7ed5a991809dcdb09b4d7e;hb=da4075117e3ad3a340e0d23fa7d53a9009305a61;hp=e415668e9890de8ab6106fa72d8e8f6850ace991;hpb=be8a901dfc026f61db46d5d64a41cecc619bc97d;p=builder.git diff --git a/source/executable.h b/source/executable.h index e415668..a8950f1 100644 --- a/source/executable.h +++ b/source/executable.h @@ -1,35 +1,15 @@ -/* $Id$ - -This file is part of builder -Copyright © 2006-2007 Mikko Rasa, Mikkosoft Productions -Distributed under the LGPL -*/ - #ifndef EXECUTABLE_H_ #define EXECUTABLE_H_ -#include "target.h" +#include "binary.h" -class Component; -class ObjectFile; - -/** -Produces a binary file, which may be either a standalone executable or a shared -library. -*/ -class Executable: public Target +class Executable: public Binary { public: + Executable(Builder &, const Msp::FS::Path &); Executable(Builder &, const Component &, const std::list &); - const char *get_type() const { return "Executable"; } - const Component &get_component() const { return comp; } - void find_depends(); -private: - const Component ∁ - - virtual Action *create_action(); - static std::string generate_target_name(const Component &); + virtual const char *get_type() const { return "Executable"; } }; #endif