Add girepository.symbols
[platform/upstream/gobject-introspection.git] / common.mk
1 # -*- Mode: make -*-
2 # Copyright 2009-2010 Johan Dahlin
3 #
4 # This file defines variables that are compatible with
5 # Makefile.introspection, but for use within the gobject-introspection
6 # module itself.
7 #
8
9 INTROSPECTION_SCANNER = \
10     env PATH=.libs:$(PATH) \
11         LPATH=.libs \
12         CC=$(CC) \
13         PYTHONPATH=$(top_builddir):$(top_srcdir) \
14         UNINSTALLED_INTROSPECTION_SRCDIR=$(top_srcdir) \
15         UNINSTALLED_INTROSPECTION_BUILDDIR=$(top_builddir) \
16         $(top_builddir)/g-ir-scanner
17
18 INTROSPECTION_SCANNER_ARGS = \
19     --verbose \
20     -I$(top_srcdir) \
21     --add-include-path=$(srcdir) \
22     --add-include-path=$(top_srcdir)/gir \
23     --add-include-path=$(builddir) \
24     --add-include-path=$(top_builddir)
25
26 INTROSPECTION_COMPILER = \
27     env PATH=.libs:$(PATH) \
28         $(top_builddir)/g-ir-compiler$(EXEEXT)
29
30 INTROSPECTION_COMPILER_ARGS = \
31     --includedir=$(srcdir) \
32     --includedir=$(top_srcdir)/gir \
33     --includedir=$(builddir) \
34     --includedir=$(top_builddir)
35
36 INTROSPECTION_DOCTOOL = \
37     env PATH=.libs:$(PATH) \
38         LPATH=.libs \
39         PYTHONPATH=$(top_builddir):$(top_srcdir) \
40         UNINSTALLED_INTROSPECTION_SRCDIR=$(top_srcdir) \
41         UNINSTALLED_INTROSPECTION_BUILDDIR=$(top_builddir) \
42         $(top_builddir)/g-ir-doc-tool