-/* $Id$
-
-This file is part of builder
-Copyright © 2006-2009 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
{
-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