X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fpkgconfig.h;h=4b2505dcefa6213e9ccfef953c878f3771aaf6d4;hb=7e5ac6af8987bf12f3e338d00e96e8cb74f3534b;hp=2ddcce8e1356c73c25681a0f3a7dfda48d5111ef;hpb=6613371a07a1a9a8d5dead488092015261a9bf5f;p=builder.git diff --git a/source/pkgconfig.h b/source/pkgconfig.h index 2ddcce8..4b2505d 100644 --- a/source/pkgconfig.h +++ b/source/pkgconfig.h @@ -1,19 +1,18 @@ #ifndef PKGCONFIG_H_ #define PKGCONFIG_H_ -#include "target.h" +#include "sourcepackage.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 Package &); - const char *get_type() const { return "PkgConfig"; } - Action *build(); -private: - const Package &pkg; + PkgConfig(Builder &, const SourcePackage &); + + virtual const char *get_type() const { return "PkgConfig"; } }; #endif