1 bin_PROGRAMS += g-ir-compiler g-ir-generate
2 bin_SCRIPTS += g-ir-scanner g-ir-annotation-tool
5 bin_SCRIPTS += g-ir-doc-tool
9 tools/g-ir-scanner.in \
10 tools/g-ir-annotation-tool.in \
11 tools/g-ir-doc-tool.in
13 TOOL_SUBSTITUTIONS = sed -e s,@libdir\@,$(libdir), -e s,@datarootdir\@,$(datarootdir), -e s,@PYTHON\@,$(PYTHON),
15 g-ir-scanner: tools/g-ir-scanner.in _giscanner.la Makefile
16 $(AM_V_GEN) $(TOOL_SUBSTITUTIONS) $< > $@.tmp && mv $@.tmp $@
19 g-ir-annotation-tool: tools/g-ir-annotation-tool.in _giscanner.la Makefile
20 $(AM_V_GEN) $(TOOL_SUBSTITUTIONS) $< > $@.tmp && mv $@.tmp $@
23 g-ir-doc-tool: tools/g-ir-doc-tool.in _giscanner.la Makefile
24 $(AM_V_GEN) $(TOOL_SUBSTITUTIONS) $< > $@.tmp && mv $@.tmp $@
27 g_ir_compiler_SOURCES = tools/compiler.c
28 g_ir_compiler_CPPFLAGS = -DGIREPO_DEFAULT_SEARCH_PATH="\"$(libdir)\"" \
29 -I$(top_srcdir)/girepository
30 g_ir_compiler_CFLAGS = $(GIO_CFLAGS)
31 g_ir_compiler_LDADD = \
32 libgirepository-internals.la \
33 libgirepository-1.0.la \
36 g_ir_generate_SOURCES = tools/generate.c
37 g_ir_generate_CPPFLAGS = -DGIREPO_DEFAULT_SEARCH_PATH="\"$(libdir)\"" \
38 -I$(top_srcdir)/girepository
39 g_ir_generate_CFLAGS = $(GIO_CFLAGS)
40 g_ir_generate_LDADD = \
41 libgirepository-internals.la \
42 libgirepository-1.0.la \
46 $(g_ir_compiler_SOURCES) \
47 $(g_ir_generate_SOURCES)
49 CLEANFILES += g-ir-scanner g-ir-annotation-tool g-ir-doc-tool