+/* $Id$
+
+This file is part of builder
+Copyright © 2006-2007 Mikko Rasa, Mikkosoft Productions
+Distributed under the LGPL
+*/
+
#include "component.h"
-#include "package.h"
#include "sharedlibrary.h"
+#include "sourcepackage.h"
using namespace std;
SharedLibrary::SharedLibrary(Builder &b, const Component &c, const list<ObjectFile *> &objs):
- Executable(b, c, objs),
- libname(c.get_name())
+ FileTarget(b, &c.get_package(), generate_target_path(c)),
+ Binary(b, c, objs),
+ Library(b, &c.get_package(), path, c.get_name())
{ }
-