summaryrefslogtreecommitdiff
path: root/Makefile-tools.am
diff options
context:
space:
mode:
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