blob: 3f4c6d52dada79e2655154cb89955f7e3d795dba (
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
|
include $(top_srcdir)/tools/shave.mk
PYDEFS=`pkg-config --variable=defsdir pygtk-2.0`
AM_CPPFLAGS = \
-I. \
-I$(top_srcdir)/libempathy-gtk \
-I$(top_builddir)/libempathy-gtk \
-I$(top_srcdir) \
-DDATADIR=\""$(datadir)"\" \
$(PYTHON_BINDING_CFLAGS) \
$(PYTHON_INCLUDES) \
$(DISABLE_DEPRECATED)
BUILT_SOURCES = \
pyempathygtk.c
pyempathygtkdir = $(pyexecdir)
pyempathygtk_LTLIBRARIES = empathygtk.la
empathygtk_la_SOURCES = \
pyempathygtkmodule.c
nodist_empathygtk_la_SOURCES = \
pyempathygtk.c
empathygtk_la_LIBADD = \
$(PYTHON_BINDING_LIBS) \
$(top_builddir)/libempathy/libempathy.la \
$(top_builddir)/libempathy-gtk/libempathy-gtk.la
empathygtk_la_LDFLAGS = \
-module -avoid-version
pyempathygtk.c: pyempathygtk.override pyempathygtk.defs
$(QUIET_GEN)$(PYGOBJECTCODEGEN) \
--prefix empathy \
--register $(PYDEFS)/gdk-types.defs \
--register $(PYDEFS)/gtk-types.defs \
--register $(srcdir)/../pyempathy/pyempathy.defs \
--override $(srcdir)/pyempathygtk.override \
$(srcdir)/pyempathygtk.defs > $@
EXTRA_DIST = \
pyempathygtk.override \
pyempathygtk.defs
CLEANFILES = $(BUILT_SOURCES)
|