]> git.tdb.fi Git - builder.git/blob - source/staticlibrary.h
0d1242f31d96825dd198b4ed23027202d92c1b35
[builder.git] / source / staticlibrary.h
1 #ifndef STATICLIB_H_
2 #define STATICLIB_H_
3
4 #include "target.h"
5
6 class Component;
7 class ObjectFile;
8
9 class StaticLibrary: public Target
10 {
11 public:
12         StaticLibrary(Builder &, const Component &, const std::list<ObjectFile *> &);
13         const char      *get_type() const      { return "StaticLibrary"; }
14         const Component &get_component() const { return comp; }
15         Action          *build();
16 private:
17         const Component &comp;
18
19         std::string generate_target_name(const Component &);
20 };
21
22 #endif