blob: 931d490756c38eef6d0feeb75648930f965d72b1 (
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
## Process this file with automake to produce Makefile.in
INCLUDES = -I$(top_srcdir)/girepository
BUILT_SOURCES = scannerparser.c scannerparser.h scannerlexer.c scannerlexer.h
CLEANFILES = scannerparser.c scannerparser.h scannerlexer.c scannerlexer.h
AM_YFLAGS = -d -t
# Why do I have to do this automake?
scannerlexer.h: scannerlexer.c
noinst_LTLIBRARIES = libgiscanner.la
libgiscanner_la_SOURCES = \
sourcescanner.c \
sourcescanner.h \
scannerlexer.l \
scannerparser.y \
grealpath.h
libgiscanner_la_LIBADD = $(GOBJECT_LIBS)
libgiscanner_la_CFLAGS = $(GOBJECT_CFLAGS)
GCOVSOURCES = $(libgiscanner_la_SOURCES)
# Python module
pkgpyexecdir = $(pyexecdir)/giscanner
pkgpyexec_LTLIBRARIES = _giscanner.la
pkgpyexec_PYTHON = \
__init__.py \
ast.py \
cgobject.py \
gidlparser.py \
gidlwriter.py \
girparser.py \
girwriter.py \
glibast.py \
glibtransformer.py \
odict.py \
sourcescanner.py \
transformer.py \
xmlwriter.py
_giscanner_la_CFLAGS = \
$(PYTHON_INCLUDES) \
$(GOBJECT_CFLAGS) \
-I$(top_srcdir)/giscanner
_giscanner_la_LIBADD = $(GOBJECT_LIBS) libgiscanner.la
_giscanner_la_LDFLAGS = \
-module -avoid-version -export-symbols-regex init_giscanner
_giscanner_la_SOURCES = giscannermodule.c
BUILT_SOURCES += _giscanner.so
CLEANFILES += _giscanner.so
# Yuck, ugly but...
_giscanner.so: _giscanner.la
ln -sf .libs/_giscanner.so .
include $(top_srcdir)/gcov.mak
|