summaryrefslogtreecommitdiff
path: root/Makefile-tools.am
diff options
context:
space:
mode:
authorIgor Gnatenko <ignatenko@redhat.com>2016-04-28 23:53:43 +0200
committerIgor Gnatenko <ignatenko@redhat.com>2016-04-29 16:07:13 +0200
commit43597c9137db771bb372571698183b2ed1d6c9de (patch)
tree4a937a4a0a6214f5dabb96dcb582e00d838247d0 /Makefile-tools.am
parentdbbb8b36f2573134d46d5a514a86cc82a18e89d9 (diff)
downloadgobject-introspection-43597c9137db771bb372571698183b2ed1d6c9de.tar.gz
g-ir-inspect: Inspect GI typelibs
Various distributions (mainly RPM based so far) make use of automatic dependencies extracted from typelib files (they can require other typelibs and also shared libraries) Current features * Print used shared libraries * Print used typelib dependencies Based-on-patch-by: Dominique Leuenberger <dimstar@opensuse.org> Reference: https://bugzilla.gnome.org/show_bug.cgi?id=665672 Reviewed-by: Colin Walters <walters@verbum.org> Signed-off-by: Dominique Leuenberger <dimstar@opensuse.org> Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
Diffstat (limited to 'Makefile-tools.am')
-rw-r--r--Makefile-tools.am10
1 files changed, 8 insertions, 2 deletions
diff --git a/Makefile-tools.am b/Makefile-tools.am
index dbd264c3..95293735 100644
--- a/Makefile-tools.am
+++ b/Makefile-tools.am
@@ -1,4 +1,4 @@
-bin_PROGRAMS += g-ir-compiler g-ir-generate
+bin_PROGRAMS += g-ir-compiler g-ir-generate g-ir-inspect
bin_SCRIPTS += g-ir-scanner g-ir-annotation-tool
if BUILD_DOCTOOL
@@ -40,8 +40,14 @@ g_ir_generate_LDADD = \
libgirepository-1.0.la \
$(GIREPO_LIBS)
+g_ir_inspect_SOURCES = tools/g-ir-inspect.c
+g_ir_inspect_CFLAGS = $(GIO_CFLAGS) -I$(top_srcdir)/girepository
+g_ir_inspect_LDADD = \
+ libgirepository-1.0.la \
+ $(GIREPO_LIBS)
+
GCOVSOURCES = \
$(g_ir_compiler_SOURCES) \
$(g_ir_generate_SOURCES)
-CLEANFILES += g-ir-scanner g-ir-annotation-tool g-ir-doc-tool
+CLEANFILES += g-ir-scanner g-ir-annotation-tool g-ir-doc-tool g-ir-inspect