summaryrefslogtreecommitdiff
path: root/common.mk
blob: 052d5b4b0f1a32ec477d34c0516aa42e6ecbc628 (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
36
37
38
39
40
41
# -*- Mode: make -*-
# Copyright 2009-2010 Johan Dahlin
#
# This file defines variables that are compatible with
# Makefile.introspection, but for use within the gobject-introspection
# module itself.
#

INTROSPECTION_SCANNER = \
    env PATH=.libs:$(PATH) \
        LPATH=.libs \
        PYTHONPATH=$(top_builddir):$(top_srcdir) \
        UNINSTALLED_INTROSPECTION_SRCDIR=$(top_srcdir) \
        UNINSTALLED_INTROSPECTION_BUILDDIR=$(top_builddir) \
        $(top_builddir)/g-ir-scanner

INTROSPECTION_SCANNER_ARGS = \
    --verbose \
    -I$(top_srcdir) \
    --add-include-path=$(srcdir) \
    --add-include-path=$(top_srcdir)/gir \
    --add-include-path=$(builddir) \
    --add-include-path=$(top_builddir)

INTROSPECTION_COMPILER = \
    env PATH=.libs:$(PATH) \
        $(top_builddir)/g-ir-compiler$(EXEEXT)

INTROSPECTION_COMPILER_ARGS = \
    --includedir=$(srcdir) \
    --includedir=$(top_srcdir)/gir \
    --includedir=$(builddir) \
    --includedir=$(top_builddir)

INTROSPECTION_DOCTOOL = \
    env PATH=.libs:$(PATH) \
        LPATH=.libs \
        PYTHONPATH=$(top_builddir):$(top_srcdir) \
        UNINSTALLED_INTROSPECTION_SRCDIR=$(top_srcdir) \
        UNINSTALLED_INTROSPECTION_BUILDDIR=$(top_builddir) \
        $(top_builddir)/g-ir-doc-tool