X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fpkgconfig.h;h=4b2505dcefa6213e9ccfef953c878f3771aaf6d4;hb=2606b03da59dc10e3826b833a2fceb0831d79972;hp=b4d4d3b9f0194c7b1cc874aaed0528502724853a;hpb=242c55b17e6608b29a77ca17a5b677e202a3ca90;p=builder.git diff --git a/source/pkgconfig.h b/source/pkgconfig.h index b4d4d3b..4b2505d 100644 --- a/source/pkgconfig.h +++ b/source/pkgconfig.h @@ -1,29 +1,18 @@ -/* $Id$ - -This file is part of builder -Copyright © 2006-2009 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 { -private: - const Package &pkg; - public: PkgConfig(Builder &, const SourcePackage &); + virtual const char *get_type() const { return "PkgConfig"; } -private: - virtual Action *create_action(); }; #endif