summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2010-11-11 16:01:39 -0500
committerColin Walters <walters@verbum.org>2010-11-11 17:12:53 -0500
commit57ef2d4fe73c5cdf8500c5761c700638943d1c7d (patch)
tree6bb52791f93a1cb4f878e88dafdc7e875b8d5ad2
parent1c6dcac6e99ff48408f3609530ae8340059f7c9a (diff)
downloadgobject-introspection-57ef2d4fe73c5cdf8500c5761c700638943d1c7d.tar.gz
Makefile-gir.am: Add explicit g-ir-compiler dependency
We need the typelib compiler to be built before we try to build typelibs for the static gir files.
-rw-r--r--Makefile-gir.am15
1 files changed, 14 insertions, 1 deletions
diff --git a/Makefile-gir.am b/Makefile-gir.am
index 373bb03c..169f4623 100644
--- a/Makefile-gir.am
+++ b/Makefile-gir.am
@@ -14,6 +14,19 @@ STATIC_GIRSOURCES = \
gir/xrandr-1.3.gir
EXTRA_DIST += $(STATIC_GIRSOURCES)
+# Doesn't seem to work to do gir/%.typelib =(
+gir/cairo-1.0.typelib: g-ir-compiler
+gir/DBus-1.0.typelib: g-ir-compiler
+gir/DBusGLib-1.0.typelib: g-ir-compiler
+gir/fontconfig-2.0.typelib: g-ir-compiler
+gir/freetype2-2.0.typelib: g-ir-compiler
+gir/GL-1.0.typelib: g-ir-compiler
+gir/libxml2-2.0.typelib: g-ir-compiler
+gir/xft-2.0.typelib: g-ir-compiler
+gir/xlib-2.0.typelib: g-ir-compiler
+gir/xfixes-4.0.typelib: g-ir-compiler
+gir/xrandr-1.3.typelib: g-ir-compiler
+
# glib with source (to enable documentation)
if WITH_GLIBSRC
GLib_2_0_gir_DOCSRC = $(GLIBSRC)/glib/*.c
@@ -60,7 +73,7 @@ GLib_2_0_gir_FILES = \
BUILT_GIRSOURCES += GLib-2.0.gir
-GLib-2.0.gir: g-ir-scanner
+GLib-2.0.gir: g-ir-scanner g-ir-compiler
DBusGLib-1.0.typelib: GObject-2.0.gir