~ken-vandine/ubuntu/precise/folks/precise

« back to all changes in this revision

Viewing changes to .pc/01_disable_dbus_test.patch/tests/telepathy/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Robert Ancell
  • Date: 2010-11-26 14:12:44 UTC
  • mfrom: (1.2.4 upstream) (4.1.5 experimental)
  • Revision ID: james.westby@ubuntu.com-20101126141244-0r97g01y2npcalc8
Tags: 0.3.2-1ubuntu1
* Merge with Debian experimental, remaining Ubuntu changes:
* debian/control:
  - Build-depend on dh-autoreconf
  - Bump build-depends on valac-0.12, libvala-0.12-dev
  - Add Vcs-Bzr link
* debian/rules:
  - Build with autoreconf
* debian/patches/00git_no_gettext.patch:
  - Don't use IT_PROG_INTLTOOL and AM_GNU_GETTEXT
* debian/patches/01_tests_ldflags.patch:
  - Link telepathy tests to GIO

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
AM_CPPFLAGS = \
2
 
        $(GLIB_CFLAGS) \
3
 
        $(GEE_CFLAGS) \
4
 
        $(TP_GLIB_CFLAGS) \
5
 
        -I$(top_srcdir)/folks \
6
 
        -I$(top_srcdir)/backends/telepathy \
7
 
        -I$(top_srcdir)/tests/lib/telepathy/contactlist \
8
 
        -include $(CONFIG_HEADER) \
9
 
        $(NULL)
10
 
 
11
 
LDADD = \
12
 
        $(GLIB_LIBS) \
13
 
        $(GEE_LIBS) \
14
 
        $(TP_GLIB_LIBS) \
15
 
        $(NULL)
16
 
 
17
 
RUN_WITH_PRIVATE_BUS = $(top_srcdir)/tests/tools/with-session-bus.sh
18
 
 
19
 
VALAFLAGS += \
20
 
        --vapidir=$(top_builddir)/tests/lib/telepathy/contactlist/ \
21
 
        --vapidir=. \
22
 
        --vapidir=$(top_srcdir)/folks \
23
 
        --vapidir=$(top_srcdir)/backends/telepathy/lib \
24
 
        --pkg gobject-2.0 \
25
 
        --pkg gio-2.0 \
26
 
        --pkg gee-1.0 \
27
 
        --pkg gmodule-2.0 \
28
 
        --pkg dbus-glib-1 \
29
 
        --pkg telepathy-glib \
30
 
        --pkg folks \
31
 
        --pkg folks-telepathy \
32
 
        --pkg tp-test-contactlist \
33
 
        $(NULL)
34
 
 
35
 
TESTS = \
36
 
        test-contact-retrieval \
37
 
        $(NULL)
38
 
 
39
 
noinst_PROGRAMS = \
40
 
        contact-retrieval \
41
 
        $(NULL)
42
 
 
43
 
contact_retrieval_SOURCES = \
44
 
        test-case.vala \
45
 
        contact-retrieval.vala \
46
 
        $(NULL)
47
 
 
48
 
contact_retrieval_LDADD = \
49
 
        $(top_builddir)/tests/lib/telepathy/contactlist/libtp-test-contactlist.la \
50
 
        $(top_builddir)/folks/libfolks.la
51
 
 
52
 
CLEANFILES = \
53
 
        $(TESTS) \
54
 
        $(NULL)
55
 
 
56
 
test-contact-retrieval: contact-retrieval
57
 
        { echo "#!/bin/sh" && \
58
 
        echo -n "$(RUN_WITH_PRIVATE_BUS) " && \
59
 
        echo "--config-file=$(top_builddir)/tests/lib/telepathy/contactlist/session.conf -- ./$<"; } \
60
 
        > $@
61
 
        chmod +x $@
62
 
 
63
 
GITIGNOREFILES = \
64
 
        $(contact_retrieval_SOURCES:.vala=.c) \
65
 
        contact_retrieval_vala.stamp \
66
 
        $(NULL)
67
 
 
68
 
-include $(top_srcdir)/git.mk