File: Makefile.am

package info (click to toggle)
telepathy-farstream 0.4.0-3
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 3,184 kB
  • sloc: sh: 11,106; ansic: 9,464; python: 8,213; makefile: 239
file content (48 lines) | stat: -rw-r--r-- 1,192 bytes parent folder | download
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)