X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fsystemlibrary.h;h=9048a69aa21963948bf9a606dcf0fbdad820a8a4;hb=66d1078c04849ec17a7343d0494d6ed087e04318;hp=c49c9e426d330351c58b245c2a26563dde4aee5c;hpb=242c55b17e6608b29a77ca17a5b677e202a3ca90;p=builder.git diff --git a/source/systemlibrary.h b/source/systemlibrary.h index c49c9e4..9048a69 100644 --- a/source/systemlibrary.h +++ b/source/systemlibrary.h @@ -8,22 +8,20 @@ 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 { -private: - std::string libname; - public: - SystemLibrary(Builder &, const std::string &); + SystemLibrary(Builder &, const Msp::FS::Path &); virtual const char *get_type() const { return "SystemLibrary"; } - const std::string &get_libname() const { return libname; } private: virtual Action *create_action() { return 0; } + + static std::string extract_libname(const Msp::FS::Path &); }; #endif