]> git.tdb.fi Git - builder.git/blobdiff - source/systemlibrary.cpp
Replace per-file copyright notices with a single file
[builder.git] / source / systemlibrary.cpp
index 2bfc04bb6f870e30cc6f890cff86ac1510d6058e..61bd810fa10931d6953febdc56526b69725e11d7 100644 (file)
@@ -1,10 +1,3 @@
-/* $Id$
-
-This file is part of builder
-Copyright © 2006-2009  Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
 #include <msp/fs/path.h>
 #include <msp/fs/utils.h>
 #include "systemlibrary.h"
@@ -12,14 +5,14 @@ Distributed under the LGPL
 using namespace std;
 using namespace Msp;
 
-SystemLibrary::SystemLibrary(Builder &b, const Msp::FS::Path &p):
+SystemLibrary::SystemLibrary(Builder &b, const FS::Path &p):
        FileTarget(b, 0, p),
        Library(b, 0, p, extract_libname(p))
 { }
 
-string SystemLibrary::extract_libname(const Msp::FS::Path &p)
+string SystemLibrary::extract_libname(const FS::Path &p)
 {
-       string result=FS::basepart(FS::basename(p));
+       string result = FS::basepart(FS::basename(p));
        if(!result.compare(0, 3, "lib"))
                result.erase(0, 3);
        return result;