summaryrefslogtreecommitdiff
path: root/lib/Makefile.am
blob: 1b5e6adc5f08c4e9f6baf3b08f2c635381ec48b2 (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
BUILT_SOURCES = \
    tpmedia-signals-marshal.h \
    tpmedia-signals-marshal.c

CLEANFILES = $(BUILT_SOURCES)

libstreamengine_la_SOURCES = \
	channel.c \
	channel.h \
	session.c \
	session.h \
	stream.c \
	stream.h

nodist_libstreamengine_la_SOURCES = $(BUILT_SOURCES)

lib_LTLIBRARIES = libstreamengine.la

AM_CFLAGS = \
	$(ERROR_CFLAGS) \
	$(GLIB_CFLAGS) \
	$(DBUS_CFLAGS) \
	$(X11_CFLAGS) \
	$(GST_CFLAGS) \
	$(GST_INTERFACES_CFLAGS) \
	$(FARSIGHT2_CFLAGS) \
	$(TELEPATHY_CFLAGS) \
	-I$(top_srcdir) \
	-I$(top_builddir)

libstreamengine_la_LIBADD = \
	$(GLIB_LIBS) \
	$(DBUS_LIBS) \
	$(X11_LIBS) \
	$(GST_INTERFACES_LIB) \
	$(GST_LIBS) \
	$(FARSIGHT2_LIBS) \
	$(TELEPATHY_LIBS)

libstreamengine_la_LDFLAGS =  -no-undefined -export-symbols-regex "^tpmedia_.*"

# rules to generate signal marshallers
%-signals-marshal.h: %-signals-marshal.list Makefile.in
	glib-genmarshal --header --prefix=_$(subst -,_,$*)_marshal $< > $*-signals-marshal.h

%-signals-marshal.c: %-signals-marshal.list Makefile.in
	glib-genmarshal --body --prefix=_$(subst -,_,$*)_marshal $< > $*-signals-marshal.c