]> git.tdb.fi Git - builder.git/blobdiff - source/pkgconfig.h
Split class Package into SourcePackage and BinaryPackage
[builder.git] / source / pkgconfig.h
index 2ddcce8e1356c73c25681a0f3a7dfda48d5111ef..f88e248cb4b5d3327a55a1d825383bf07eb7b83e 100644 (file)
@@ -1,6 +1,14 @@
+/* $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"
 
 /**
@@ -9,7 +17,7 @@ Creates a .pc file to enable other packages fetch build options with pkg-config.
 class PkgConfig: public Target
 {
 public:
-       PkgConfig(Builder &, const Package &);
+       PkgConfig(Builder &, const SourcePackage &);
        const char *get_type() const { return "PkgConfig"; }
        Action     *build();
 private: