diff options
Diffstat (limited to 'gnome-2-22/python/pyempathy/Makefile.am')
-rw-r--r-- | gnome-2-22/python/pyempathy/Makefile.am | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/gnome-2-22/python/pyempathy/Makefile.am b/gnome-2-22/python/pyempathy/Makefile.am new file mode 100644 index 000000000..c11eedbc3 --- /dev/null +++ b/gnome-2-22/python/pyempathy/Makefile.am @@ -0,0 +1,43 @@ +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) + |