X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fpkgconfig.h;h=75280dc90d99820b46adf5d176058f6be7a4f7f1;hb=4e6fd9a7436d61af311ab83b5ec264b37078fe76;hp=20e5fbfaac88380040283198ed7f42cdc4429cee;hpb=be8a901dfc026f61db46d5d64a41cecc619bc97d;p=builder.git diff --git a/source/pkgconfig.h b/source/pkgconfig.h index 20e5fbf..75280dc 100644 --- a/source/pkgconfig.h +++ b/source/pkgconfig.h @@ -1,7 +1,7 @@ /* $Id$ This file is part of builder -Copyright © 2006-2007 Mikko Rasa, Mikkosoft Productions +Copyright © 2006-2009 Mikko Rasa, Mikkosoft Productions Distributed under the LGPL */ @@ -9,19 +9,17 @@ Distributed under the LGPL #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(); };