X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fpkgconfig.h;h=4b2505dcefa6213e9ccfef953c878f3771aaf6d4;hb=675571163de39c2872ab1b78c8ab0c6b84dac538;hp=20e5fbfaac88380040283198ed7f42cdc4429cee;hpb=be8a901dfc026f61db46d5d64a41cecc619bc97d;p=builder.git diff --git a/source/pkgconfig.h b/source/pkgconfig.h index 20e5fbf..4b2505d 100644 --- a/source/pkgconfig.h +++ b/source/pkgconfig.h @@ -1,28 +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"; } -private: - const Package &pkg; - virtual Action *create_action(); + virtual const char *get_type() const { return "PkgConfig"; } }; #endif