summaryrefslogtreecommitdiff
path: root/gtk/Makefile.am
diff options
context:
space:
mode:
authorPavel Holejsovsky <pholejs@src.gnome.org>2011-07-28 13:29:37 +0200
committerPavel Holejsovsky <pholejs@src.gnome.org>2011-08-01 11:09:57 +0200
commitbb09982b66281f703c6d4a4f8f0c10ef21d517db (patch)
treecc79fe65306870405ec51fc307b29e3912082d98 /gtk/Makefile.am
parent21a5b038a7104bda778d8d7c2724f460e7929c9d (diff)
downloadgtk+-bb09982b66281f703c6d4a4f8f0c10ef21d517db.tar.gz
Avoid introspection scanner warning on GtkPlug and GtkSocket
Make sure that sources with annotations are included into the list of sources passed to introspection scanner.
Diffstat (limited to 'gtk/Makefile.am')
-rw-r--r--gtk/Makefile.am9
1 files changed, 8 insertions, 1 deletions
diff --git a/gtk/Makefile.am b/gtk/Makefile.am
index 908b38e099..e9248f9557 100644
--- a/gtk/Makefile.am
+++ b/gtk/Makefile.am
@@ -1007,15 +1007,22 @@ introspection_files = \
gtktypebuiltins.h \
gtktypebuiltins.c
+if USE_X11
+introspection_files += \
+ gtksocket.c \
+ gtkplug.c
+endif
+
Gtk-3.0.gir: $(INTROSPECTION_SCANNER) libgtk-3.la $(top_builddir)/gdk/Gdk-3.0.gir Makefile
Gtk_3_0_gir_SCANNERFLAGS = \
--add-include-path=$(top_builddir)/gdk \
--include-uninstalled=$(top_builddir)/gdk/Gdk-3.0.gir
+Gtk_3_0_gir_INCLUDES = Atk-1.0
if USE_X11
Gtk_3_0_gir_SCANNERFLAGS += --add-include-path=$(top_builddir)/gdk/x11
+Gtk_3_0_gir_INCLUDES += xlib-2.0
endif
Gtk_3_0_gir_SCANNERFLAGS += --c-include="gtk/gtkx.h"
-Gtk_3_0_gir_INCLUDES = Atk-1.0
Gtk_3_0_gir_CFLAGS = \
$(AM_CPPFLAGS) \
-UGDK_DISABLE_DEPRECATED \