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