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
|
SUBDIRS = codegen examples
PYDEFS=`pkg-config --variable=defsdir pygtk-2.0`
GSTPYDEFS=`pkg-config --variable=defsdir gst-python-0.10`
noinst_HEADERS = pygstminiobject.h common.h
AM_CPPFLAGS = \
-I. \
-I$(top_srcdir) \
-DDATADIR=\""$(datadir)"\" \
$(TELEPATHY_CFLAGS) \
$(PYTHON_INCLUDES) \
$(PYTPFARSTREAM_CFLAGS) \
$(FARSTREAM_CFLAGS) \
$(DBUS_CFLAGS)
BUILT_SOURCES = \
pytpfarstream.c
pytpfarstreamdir = $(pyexecdir)
pytpfarstream_LTLIBRARIES = tpfarstream.la
tpfarstream_la_SOURCES = \
pytpfarstreammodule.c pygstminiobject.c
nodist_tpfarstream_la_SOURCES = pytpfarstream.c
tpfarstream_la_LIBADD = \
$(PYTPFARSTREAM_LIBS) \
$(top_builddir)/telepathy-farstream/libtelepathy-farstream.la
tpfarstream_la_LDFLAGS = -module -avoid-version
pytpfarstream.c: pytpfarstream.override pytpfarstream.defs
$(PYTHON) $(top_srcdir)/python/codegen/codegen.py \
--prefix tf \
--register $(GSTPYDEFS)/gst-types.defs \
--override $(srcdir)/pytpfarstream.override \
$(srcdir)/pytpfarstream.defs > $@
EXTRA_DIST = \
pytpfarstream.override \
pytpfarstream.defs \
pytpfarstream-filter.defs \
rebuild-defs.sh
CLEANFILES = $(BUILT_SOURCES)
|