blob: c11eedbc3830950ae13201f960d665e5f7b998c8 (
plain) (
tree)
|
|
PYDEFS=`pkg-config --variable=defsdir pygtk-2.0`
AM_CPPFLAGS = \
-I. \
-I$(top_srcdir)/libempathy \
-I$(top_srcdir) \
-DDATADIR=\""$(datadir)"\" \
$(PYTHON_BINDING_CFLAGS) \
`python-config --cflags` \
$(WARN_CFLAGS)
BUILT_SOURCES = \
pyempathy.c
pyempathydir = $(pyexecdir)
pyempathy_LTLIBRARIES = empathy.la
empathy_la_SOURCES = \
pyempathymodule.c \
pyempathy.c
empathy_la_LIBADD = \
$(PYTHON_BINDING_LIBS) \
$(top_builddir)/libempathy/libempathy.la
empathy_la_LDFLAGS = \
`python-config --libs` \
-module -avoid-version
pyempathy.c: pyempathy.override pyempathy.defs
pygtk-codegen-2.0 \
--prefix empathy \
--register $(PYDEFS)/gdk-types.defs \
--register $(PYDEFS)/gtk-types.defs \
--override pyempathy.override \
pyempathy.defs > $@
EXTRA_DIST = \
pyempathy.override \
pyempathy.defs
CLEANFILES = $(BUILT_SOURCES)
|