X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fpkgconfig.h;h=c196e4f4701ea75b7d52d83c7e6625ff0b465794;hb=463a3521e27870294455373f9c69279069611975;hp=20e5fbfaac88380040283198ed7f42cdc4429cee;hpb=be8a901dfc026f61db46d5d64a41cecc619bc97d;p=builder.git diff --git a/source/pkgconfig.h b/source/pkgconfig.h index 20e5fbf..c196e4f 100644 --- a/source/pkgconfig.h +++ b/source/pkgconfig.h @@ -1,27 +1,18 @@ -/* $Id$ - -This file is part of builder -Copyright © 2006-2007 Mikko Rasa, Mikkosoft Productions -Distributed under the LGPL -*/ - #ifndef PKGCONFIG_H_ #define PKGCONFIG_H_ #include "sourcepackage.h" -#include "target.h" +#include "filetarget.h" /** Creates a .pc file to enable other packages fetch build options with pkg-config. */ -class PkgConfig: public Target +class PkgConfig: public FileTarget { public: PkgConfig(Builder &, const SourcePackage &); - const char *get_type() const { return "PkgConfig"; } + virtual const char *get_type() const { return "PkgConfig"; } private: - const Package &pkg; - virtual Action *create_action(); };