X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fsystemlibrary.h;h=a0b315acee348c8696fa7378c91981da7d713280;hb=1968c546cfb30214e8dc5afc722bec14aa8373f5;hp=97512702dbbd21cc166694636e21a82519052785;hpb=0d80cabf649b931b26e7055385156c75a7385d35;p=builder.git diff --git a/source/systemlibrary.h b/source/systemlibrary.h index 9751270..a0b315a 100644 --- a/source/systemlibrary.h +++ b/source/systemlibrary.h @@ -1,15 +1,27 @@ +/* $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" +/** +A library that doesn't belong to any known package. +*/ class SystemLibrary: public Target { public: - SystemLibrary(Builder &b, const std::string &n): Target(b,0,n) { } - const char *get_type() const { return "SystemLibrary"; } - void find_depends() { } - Action *build() { return 0; } + SystemLibrary(Builder &, const std::string &); + const char *get_type() const { return "SystemLibrary"; } + const std::string &get_libname() const { return libname; } + Action *build() { return 0; } +private: + std::string libname; }; #endif