]> git.tdb.fi Git - builder.git/blobdiff - source/objectfile.h
Code reorganizing and cleanup
[builder.git] / source / objectfile.h
index d270529b73cdefac2ca56a5be84f40a3669f7891..8306aea46284ac63d668dc73ebc4dfd62274f0d3 100644 (file)
@@ -10,11 +10,17 @@ class ObjectFile: public Target
 {
 public:
        ObjectFile(Builder &, const Component &, SourceFile &);
-       const char *get_type() const { return "ObjectFile"; }
-       void find_depends() { }
+       const char      *get_type() const { return "ObjectFile"; }
+       const Component &get_component() const { return comp; }
+       void            find_depends();
+       Action          *build();
 private:
        const Component ∁
+       TargetList      new_deps;
        
+       void find_depends(Target *);
+       void add_depend(Target *);
+
        static std::string generate_target_name(const Component &, const std::string &);
 };