]> git.tdb.fi Git - builder.git/blob - source/sharedlibrary.cpp
Rework the Target class hierarchy
[builder.git] / source / sharedlibrary.cpp
1 /* $Id$
2
3 This file is part of builder
4 Copyright © 2006-2007 Mikko Rasa, Mikkosoft Productions
5 Distributed under the LGPL
6 */
7
8 #include "component.h"
9 #include "sharedlibrary.h"
10 #include "sourcepackage.h"
11
12 using namespace std;
13
14 SharedLibrary::SharedLibrary(Builder &b, const Component &c, const list<ObjectFile *> &objs):
15         FileTarget(b, &c.get_package(), generate_target_path(c)),
16         Binary(b, c, objs),
17         Library(b, &c.get_package(), path, c.get_name())
18 { }