ginvoke: support conversion of fundamental type GParamSpec values
[platform/upstream/gobject-introspection.git] / Makefile-giscanner.am
1 ## Process this file with automake to produce Makefile.in
2
3 BUILT_SOURCES +=                \
4         scannerparser.c         \
5         scannerparser.h         \
6         scannerlexer.c          \
7         scannerlexer.h
8
9 AM_YFLAGS = -d -t
10
11 # Why do I have to do this automake?
12 scannerlexer.h: scannerlexer.c
13
14 noinst_LTLIBRARIES += libgiscanner.la
15
16 libgiscanner_la_SOURCES = \
17         giscanner/sourcescanner.c                               \
18         giscanner/sourcescanner.h                               \
19         giscanner/scannerlexer.l                                \
20         giscanner/scannerparser.y                               \
21         giscanner/grealpath.h
22 libgiscanner_la_CPPFLAGS = -I$(top_srcdir)/girepository -I$(top_srcdir)/giscanner
23 libgiscanner_la_LIBADD = $(GOBJECT_LIBS) $(GIO_LIBS)
24 libgiscanner_la_CFLAGS = $(GOBJECT_CFLAGS) $(GIO_CFLAGS)
25
26 # Python module
27 pkgpyexecdir = $(pkglibdir)/giscanner
28 pkgpyexec_LTLIBRARIES = _giscanner.la
29 pkgpyexec_PYTHON =                      \
30         giscanner/__init__.py           \
31         giscanner/annotationmain.py     \
32         giscanner/annotationparser.py   \
33         giscanner/annotationpatterns.py \
34         giscanner/ast.py                \
35         giscanner/cachestore.py         \
36         giscanner/codegen.py            \
37         giscanner/docmain.py    \
38         giscanner/dumper.py             \
39         giscanner/introspectablepass.py \
40         giscanner/girparser.py          \
41         giscanner/girwriter.py          \
42         giscanner/gdumpparser.py        \
43         giscanner/libtoolimporter.py    \
44         giscanner/odict.py              \
45         giscanner/mallardwriter.py      \
46         giscanner/mallard-C-class.tmpl  \
47         giscanner/mallard-C-default.tmpl        \
48         giscanner/mallard-C-enum.tmpl   \
49         giscanner/mallard-C-function.tmpl       \
50         giscanner/mallard-C-namespace.tmpl      \
51         giscanner/mallard-C-property.tmpl       \
52         giscanner/mallard-C-record.tmpl \
53         giscanner/mallard-C-signal.tmpl \
54         giscanner/mallard-C-vfunc.tmpl  \
55         giscanner/mallard-Python-class.tmpl     \
56         giscanner/mallard-Python-default.tmpl   \
57         giscanner/mallard-Python-enum.tmpl      \
58         giscanner/mallard-Python-function.tmpl  \
59         giscanner/mallard-Python-namespace.tmpl \
60         giscanner/mallard-Python-property.tmpl  \
61         giscanner/mallard-Python-record.tmpl    \
62         giscanner/mallard-Python-signal.tmpl    \
63         giscanner/mallard-Python-vfunc.tmpl     \
64         giscanner/maintransformer.py    \
65         giscanner/message.py            \
66         giscanner/shlibs.py             \
67         giscanner/scannermain.py        \
68         giscanner/sourcescanner.py      \
69         giscanner/testcodegen.py        \
70         giscanner/transformer.py        \
71         giscanner/utils.py              \
72         giscanner/xmlwriter.py
73
74 _giscanner_la_CFLAGS = \
75         $(PYTHON_INCLUDES) \
76         $(GOBJECT_CFLAGS) \
77         -I$(top_srcdir)/giscanner
78 _giscanner_la_LIBADD = libgiscanner.la $(GOBJECT_LIBS)
79
80 _giscanner_la_LDFLAGS = \
81         -module -avoid-version -export-symbols-regex init_giscanner
82
83 if OS_WIN32
84 # Windows requires Python extension modules to be explicitly
85 # linked to libpython. Extension modules are shared libaries
86 # (.dll files), but need to be called .pyd for Python to load
87 # them as extension modules.
88 _giscanner_la_LIBADD += \
89         $(PYTHON_LIBS)
90
91 _giscanner_la_LDFLAGS += \
92         -no-undefined \
93         -shrext ".pyd"
94 endif
95
96 _giscanner_la_SOURCES = giscanner/giscannermodule.c