]> git.tdb.fi Git - builder.git/blobdiff - source/staticlibrary.cpp
Reorder class members
[builder.git] / source / staticlibrary.cpp
index 54fd7926f3e0c644bb62a2a464e21135176f1321..a72f8e01fd478b5b97522d562f50e7af44fa9550 100644 (file)
@@ -1,14 +1,14 @@
 /* $Id$
 
 This file is part of builder
-Copyright © 2006-2007 Mikko Rasa, Mikkosoft Productions
+Copyright © 2006-200 Mikko Rasa, Mikkosoft Productions
 Distributed under the LGPL
 */
 
 #include "archive.h"
 #include "component.h"
 #include "objectfile.h"
-#include "package.h"
+#include "sourcepackage.h"
 #include "staticlibrary.h"
 
 using namespace std;
@@ -22,9 +22,9 @@ StaticLibrary::StaticLibrary(Builder &b, const Component &c, const std::list<Obj
                add_depend(*i);
 }
 
-Action *StaticLibrary::build()
+Action *StaticLibrary::create_action()
 {
-       return Target::build(new Archive(builder, *this));;
+       return new Archive(builder, *this);
 }
 
 string StaticLibrary::generate_target_name(const Component &c)