summaryrefslogtreecommitdiffstats
path: root/gi/Makefile.am
blob: 2657d3f029a64db6edd2007dd5d9f1359ca9defc (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
PLATFORM_VERSION = 2.0

pkgincludedir = $(includedir)/pygtk-$(PLATFORM_VERSION)
pkgpyexecdir = $(pyexecdir)/gtk-2.0

SUBDIRS = \
	repository \
	overrides

pygidir = $(pkgpyexecdir)/gi
pygi_PYTHON = \
	types.py \
	module.py \
	importer.py \
	__init__.py

_gi_la_CFLAGS = \
	$(PYTHON_INCLUDES) \
	$(GNOME_CFLAGS)
_gi_la_LDFLAGS = \
	-module \
	-avoid-version \
	-export-symbols-regex init_gi
_gi_la_LIBADD = \
	$(GNOME_LIBS)
_gi_la_SOURCES = \
	pygi-repository.c \
	pygi-repository.h \
	pygi-info.c \
	pygi-info.h \
	pygi-struct.c \
	pygi-struct.h \
	pygi-argument.c \
	pygi-argument.h \
	pygi-type.c \
	pygi-type.h \
	pygi.h \
	pygi-private.h \
	pygobject-external.h \
	gimodule.c

pygi_LTLIBRARIES = _gi.la

.la.so:
	$(LN_S) .libs/$@ $@ || true

all: $(pygi_LTLIBRARIES:.la=.so)
clean-local:
	rm -f $(pygi_LTLIBRARIES:.la=.so)