]> git.tdb.fi Git - builder.git/blobdiff - source/executable.h
Don't treat using deprecated declarations as errors
[builder.git] / source / executable.h
index e415668e9890de8ab6106fa72d8e8f6850ace991..967aaf97c7ec0c8044eaf0c48965122029732eb5 100644 (file)
@@ -1,35 +1,18 @@
-/* $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"
-
-class Component;
-class ObjectFile;
+#include "binary.h"
 
-/**
-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<ObjectFile *> &);
-       const char      *get_type() const      { return "Executable"; }
-       const Component &get_component() const { return comp; }
-       void            find_depends();
 private:
-       const Component &comp;
+       static std::string generate_filename(const Component &);
 
-       virtual Action  *create_action();
-
-       static std::string generate_target_name(const Component &);
+public:
+       virtual const char *get_type() const { return "Executable"; }
 };
 
 #endif