X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fsystemlibrary.h;h=f95217f2673a2199383cee4a8d4ec948be49d478;hb=43bd25ffcb0b4f7882773f4676b209a99cb73c04;hp=a0b315acee348c8696fa7378c91981da7d713280;hpb=7aeaa4ba965f596edad438c02e345a8843f7469a;p=builder.git diff --git a/source/systemlibrary.h b/source/systemlibrary.h index a0b315a..f95217f 100644 --- a/source/systemlibrary.h +++ b/source/systemlibrary.h @@ -1,27 +1,20 @@ -/* $Id$ - -This file is part of builder -Copyright © 2006-2007 Mikko Rasa, Mikkosoft Productions -Distributed under the LGPL -*/ - #ifndef SYSTEMLIBRARY_H_ #define SYSTEMLIBRARY_H_ -#include "target.h" +#include "library.h" /** A library that doesn't belong to any known package. */ -class SystemLibrary: public Target +class SystemLibrary: public Library { public: - SystemLibrary(Builder &, const std::string &); - const char *get_type() const { return "SystemLibrary"; } - const std::string &get_libname() const { return libname; } - Action *build() { return 0; } + SystemLibrary(Builder &, const Msp::FS::Path &); + virtual const char *get_type() const { return "SystemLibrary"; } private: - std::string libname; + virtual Action *create_action() { return 0; } + + static std::string extract_libname(const Msp::FS::Path &); }; #endif