~ubuntu-desktop/indicator-messages/ubuntu

« back to all changes in this revision

Viewing changes to test/Makefile.am

  • Committer: Ken VanDine
  • Date: 2012-03-21 20:49:51 UTC
  • mfrom: (131.1.168 ubuntu)
  • Revision ID: ken.vandine@canonical.com-20120321204951-b3a5pn7tcu4g1ovy
* New upstream release.
  * Fix for missing icons in the messaging menu (LP: #960553)
  * Fix i18n for description (LP: #957525)
  * Implementing initial testing
  * Fixing blacklists (LP: #939258)
* debian/control: Adding dep on libgtest-dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
check_LIBRARIES = libgtest.a
 
3
check_PROGRAMS = test-gtest
 
4
 
 
5
TESTS =
 
6
 
 
7
AM_CPPFLAGS = $(GTEST_CPPFLAGS) \
 
8
        -I${top_srcdir}/src
 
9
 
 
10
nodist_libgtest_a_SOURCES = \
 
11
        $(GTEST_SOURCE)/src/gtest-all.cc \
 
12
        $(GTEST_SOURCE)/src/gtest_main.cc
 
13
libgtest_a_CPPFLAGS = \
 
14
        $(GTEST_CPPFLAGS) -w
 
15
libgtest_a_CXXFLAGS = \
 
16
        $(AM_CXXFLAGS)
 
17
libgtest_a_CPPFLAGS = \
 
18
        $(AM_CPPFLAGS)
 
19
 
 
20
TESTS += test-gtest
 
21
 
 
22
test_gtest_SOURCES = \
 
23
        test-gtest.cpp
 
24
test_gtest_CPPFLAGS = \
 
25
        $(APPLET_CFLAGS) \
 
26
        $(AM_CPPFLAGS)
 
27
test_gtest_LDFLAGS = -pthread
 
28
test_gtest_LDADD = \
 
29
        $(APPLET_LIBS) \
 
30
        $(top_builddir)/src/.libs/libindicator-messages-status-provider.la \
 
31
        libgtest.a
 
32
 
 
33
 
 
34
######################################
 
35
# Lib containing code under test
 
36
######################################
 
37
 
 
38
lib_LTLIBRARIES = \
 
39
        libindicator-messages-service.la
 
40
 
 
41
libindicator_messages_service_la_HEADERS = \
 
42
        $(top_srcdir)/src/default-applications.h \
 
43
        $(top_srcdir)/src/messages-service-dbus.h \
 
44
        $(top_srcdir)/src/gen-messages-service.xml.h \
 
45
        $(top_srcdir)/src/im-menu-item.h \
 
46
        $(top_srcdir)/src/app-menu-item.h \
 
47
        $(top_srcdir)/src/launcher-menu-item.h \
 
48
        $(top_srcdir)/src/seen-db.h \
 
49
        $(top_srcdir)/src/dirs.h \
 
50
        $(top_srcdir)/src/dbus-data.h \
 
51
        $(top_srcdir)/src/status-items.h
 
52
 
 
53
libindicator_messages_service_la_SOURCES = \
 
54
        $(top_srcdir)/src/default-applications.c \
 
55
        $(top_srcdir)/src/messages-service.c \
 
56
        $(top_srcdir)/src/messages-service-dbus.c \
 
57
        $(top_srcdir)/src/gen-messages-service.xml.c \
 
58
        $(top_srcdir)/src/im-menu-item.c \
 
59
        $(top_srcdir)/src/app-menu-item.c \
 
60
        $(top_srcdir)/src/launcher-menu-item.c \
 
61
        $(top_srcdir)/src/seen-db.c \
 
62
        $(top_srcdir)/src/status-items.c
 
63
 
 
64
libindicator_messages_service_ladir = \
 
65
        $(includedir)/libindicator-messages-service/
 
66
 
 
67
libindicator_messages_service_la_CFLAGS = \
 
68
        $(APPLET_CFLAGS) \
 
69
        $(COVERAGE_CFLAGS) \
 
70
        -Wall \
 
71
        -Wl,-Bsymbolic-functions \
 
72
        -Wl,-z,defs \
 
73
        -Wl,--as-needed \
 
74
        -Werror \
 
75
        -DG_LOG_DOMAIN=\"Indicator-Messages\" \
 
76
        -DSTATUS_PROVIDER_DIR=\"$(STATUS_PROVIDER_DIR)\"
 
77
 
 
78
libindicator_messages_service_la_LIBADD = \
 
79
        $(APPLET_LIBS) \
 
80
        $(top_builddir)/src/.libs/libindicator-messages-status-provider.la
 
81
 
 
82
libindicator_messages_service_la_LDFLAGS = \
 
83
        $(COVERAGE_LDFLAGS)