X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fsystemlibrary.h;h=ee647ffa6ce128dd797916ef471e43b7ceb15664;hb=be6c1ae1dcc97cb3e3019c0384f1bc933fcd321c;hp=edd50a25099e98fd88dad77546cc3f3a416e10af;hpb=4f78d9f016482ce1ac7d726852e33e07c090df1b;p=builder.git diff --git a/source/systemlibrary.h b/source/systemlibrary.h index edd50a2..ee647ff 100644 --- a/source/systemlibrary.h +++ b/source/systemlibrary.h @@ -1,20 +1,19 @@ #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; + static std::string extract_libname(const Msp::FS::Path &); }; #endif