~ubuntu-branches/ubuntu/oneiric/dbus-glib/oneiric-updates

« back to all changes in this revision

Viewing changes to test/core/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Sebastian Dröge
  • Date: 2007-07-06 14:00:42 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20070706140042-zh5qmx99npmoe454
Tags: 0.74-1
* New upstream release.
* debian/rules:
  + Update shlibs to >= 0.74 because of new API.
* debian/control:
  + Use ${binary:Version} to make lintian happy.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
INCLUDES = \
2
2
        -I$(top_srcdir)                         \
 
3
        -I$(top_srcdir)/dbus                    \
3
4
        -I$(top_builddir)                       \
4
5
        -I$(top_builddir)/dbus                  \
5
6
        $(DBUS_CFLAGS)                          \
11
12
## TESTS
12
13
if DBUS_BUILD_TESTS
13
14
TESTS_ENVIRONMENT=DBUS_TOP_BUILDDIR=$(ABSOLUTE_TOP_BUILDDIR)
14
 
TESTS=run-test.sh
 
15
TESTS=test-types run-test.sh run-peer-test.sh
15
16
else
16
17
TESTS=
17
18
endif
18
19
 
19
 
EXTRA_DIST=run-test.sh test-service-glib.xml my-object-marshal.list test-service-glib.xml
 
20
EXTRA_DIST=run-test.sh run-peer-test.sh test-service-glib.xml my-object-marshal.list test-service-glib.xml
20
21
 
21
22
if DBUS_BUILD_TESTS
22
23
 
38
39
 
39
40
## we use noinst_PROGRAMS not check_PROGRAMS for TESTS so that we
40
41
## build even when not doing "make check"
41
 
noinst_PROGRAMS= test-dbus-glib test-service-glib $(THREAD_APPS)
 
42
noinst_PROGRAMS= test-dbus-glib test-service-glib $(THREAD_APPS) peer-server peer-client test-types
42
43
 
43
44
test_dbus_glib_SOURCES=                         \
44
45
        my-object-marshal.c                             \
49
50
BUILT_SOURCES = test-service-glib-glue.h test-service-glib-bindings.h my-object-marshal.c my-object-marshal.h 
50
51
 
51
52
test_service_glib_SOURCES=                              \
 
53
        my-object.c                             \
 
54
        my-object.h                             \
52
55
        my-object-marshal.c                             \
53
56
        test-service-glib.c 
 
57
test_service_glib_LDADD= $(top_builddir)/dbus/libdbus-glib-1.la $(DBUS_GLIB_THREADS_LIBS) 
54
58
 
55
59
test-service-glib-glue.h: test-service-glib.xml $(top_builddir)/dbus/dbus-binding-tool
56
60
        $(top_builddir)/dbus/dbus-binding-tool --prefix=my_object --mode=glib-server --output=test-service-glib-glue.h $(srcdir)/test-service-glib.xml
65
69
        @GLIB_GENMARSHAL@ --prefix=my_object_marshal $(srcdir)/my-object-marshal.list --header > my-object-marshal.h
66
70
 
67
71
 
 
72
peer_server_SOURCES = \
 
73
        my-object.c                             \
 
74
        my-object.h                             \
 
75
        my-object-marshal.c                             \
 
76
        peer-server.c
 
77
peer_server_LDADD= $(top_builddir)/dbus/libdbus-glib-1.la $(DBUS_GLIB_THREADS_LIBS)
 
78
 
 
79
peer_client_SOURCES = \
 
80
        peer-client.c
 
81
peer_client_LDADD= $(top_builddir)/dbus/libdbus-glib-1.la $(DBUS_GLIB_THREADS_LIBS)
 
82
 
 
83
test_types_SOURCES = \
 
84
        test-types.c
 
85
test_types_LDADD= $(top_builddir)/dbus/libdbus-glib-1.la
 
86
 
68
87
CLEANFILES = \
69
88
        $(BUILT_SOURCES) \
70
89
        run-with-tmp-session-bus.conf
71
90
 
72
 
test_service_glib_LDADD= $(top_builddir)/dbus/libdbus-glib-1.la $(DBUS_GLIB_THREADS_LIBS) 
73
 
 
74
91
else
75
92
### not building tests
76
93