summaryrefslogtreecommitdiff
path: root/tpsip/Makefile.am
blob: f12ea1a6aef9d59cf2bbc635bedbf30b4f659e97 (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
48
49
50
51
52
53
54
55
56
57
58
#
# Makefile.am for telepathy-sofiasip/tpsip
#
# Copyright (C) 2008 Nokia Corporation
# Contact: Mikhail Zabaluev <mikhail.zabaluev@nokia.com>
# Licensed under LGPL. See file COPYING.
#

noinst_LTLIBRARIES = libtpsip.la

AM_CPPFLAGS = @GLIB_CFLAGS@ @TELEPATHY_GLIB_CFLAGS@ @SOFIA_SIP_UA_CFLAGS@ \
	      -I$(top_builddir) -I$(top_srcdir)

AM_CFLAGS = $(ERROR_CFLAGS) $(COVERAGE_CFLAGS)

tpsip_includedir = $(includedir)/telepathy-sofiasip-0.7/tpsip

tpsip_include_HEADERS = \
	base-connection.h \
	connection-aliasing.h
	sofia-decls.h \
	codec-param-formats.h \
	event-target.h \
	handles.h \
	debug.h \
	util.h

BUILT_SOURCES = \
	signals-marshal.h \
	signals-marshal.c

libtpsip_la_SOURCES = \
	base-connection.c \
	base-connection-sofia.c \
	connection-aliasing.c \
	codec-param-formats.c \
	event-target.c \
	handles.c \
	debug.c \
	text-channel.h \
	text-channel.c \
	util.c

nodist_libtpsip_la_SOURCES = \
	signals-marshal.h \
	signals-marshal.c

EXTRA_DIST = signals-marshal.list

CLEANFILES = $(BUILT_SOURCES)

CLEANFILES += *.gcno

signals-marshal.c: ${srcdir}/signals-marshal.list
	glib-genmarshal --body --prefix=_tpsip_marshal $< >$@ || rm -f $@

signals-marshal.h: ${srcdir}/signals-marshal.list
	glib-genmarshal --header --prefix=_tpsip_marshal $< >$@ || rm -f $@