]> git.tdb.fi Git - builder.git/blobdiff - source/pkgconfig.h
Rework the Target class hierarchy
[builder.git] / source / pkgconfig.h
index b4d4d3b9f0194c7b1cc874aaed0528502724853a..75280dc90d99820b46adf5d176058f6be7a4f7f1 100644 (file)
@@ -9,16 +9,13 @@ 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
 {
-private:
-       const Package &pkg;
-
 public:
        PkgConfig(Builder &, const SourcePackage &);
        virtual const char *get_type() const { return "PkgConfig"; }