blob: 9d96b6aa8f66987ed4af3508f16f7d5290b7704f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
INCLUDES = \
-DGIREPO_DEFAULT_SEARCH_PATH="\"$(libdir)\"" \
-I$(top_srcdir)/girepository
bin_PROGRAMS = g-ir-compiler g-ir-generate
bin_SCRIPTS = g-ir-scanner g-ir-annotation-tool
EXTRA_DIST = g-ir-scanner.in g-ir-annotation-tool.in
g-ir-scanner: g-ir-scanner.in Makefile
$(AM_V_GEN) sed -e s,@libdir\@,$(libdir), -e s,@PYTHON\@,$(PYTHON), $< > $@.tmp && mv $@.tmp $@
@chmod a+x $@
g-ir-annotation-tool: g-ir-annotation-tool.in Makefile
$(AM_V_GEN) sed -e s,@libdir\@,$(libdir), -e s,@PYTHON\@,$(PYTHON), $< > $@.tmp && mv $@.tmp $@
@chmod a+x $@
g_ir_compiler_SOURCES = compiler.c
g_ir_compiler_CFLAGS = $(GIREPO_CFLAGS)
g_ir_compiler_LDADD = \
$(top_builddir)/girepository/libgirepository-parser.la \
$(top_builddir)/girepository/libgirepository-1.0.la \
$(GIREPO_LIBS)
g_ir_generate_SOURCES = generate.c
g_ir_generate_CFLAGS = $(GIREPO_CFLAGS)
g_ir_generate_LDADD = \
$(top_builddir)/girepository/libgirepository-parser.la \
$(top_builddir)/girepository/libgirepository-1.0.la \
$(GIREPO_LIBS)
GCOVSOURCES = \
$(g_ir_compiler_SOURCES) \
$(g_ir_generate_SOURCES)
CLEANFILES=g-ir-scanner g-ir-annotation-tool
|