* configure.in, dbus/Makefile.am, test/name-test/run-test.sh,
[platform/upstream/dbus.git] / test / name-test / Makefile.am
1 INCLUDES=-I$(top_srcdir) $(DBUS_CLIENT_CFLAGS) $(DBUS_GLIB_CFLAGS) -DDBUS_COMPILATION
2
3 ## note that TESTS has special meaning (stuff to use in make check)
4 ## so if adding tests not to be run in make check, don't add them to 
5 ## TESTS
6 if DBUS_BUILD_TESTS
7 TESTS_ENVIRONMENT=DBUS_TOP_BUILDDIR=@abs_top_builddir@ DBUS_TOP_SRCDIR=@abs_top_srcdir@
8 TESTS=run-test.sh
9 else
10 TESTS=
11 endif
12
13 EXTRA_DIST=run-test.sh 
14
15 if DBUS_BUILD_TESTS
16
17 ## we use noinst_PROGRAMS not check_PROGRAMS for TESTS so that we
18 ## build even when not doing "make check"
19 noinst_PROGRAMS=test-names test-pending-call-dispatch test-threads-init
20
21 test_names_SOURCES=                             \
22         test-names.c
23
24 test_names_LDADD=$(top_builddir)/dbus/libdbus-1.la $(top_builddir)/dbus/libdbus-convenience.la
25
26 test_pending_call_dispatch_SOURCES =            \
27         test-pending-call-dispatch.c
28
29 test_pending_call_dispatch_LDADD=$(top_builddir)/dbus/libdbus-1.la $(top_builddir)/dbus/libdbus-convenience.la
30
31
32 test_threads_init_SOURCES =            \
33         test-threads-init.c
34
35 test_threads_init_LDADD=$(top_builddir)/dbus/libdbus-1.la $(top_builddir)/dbus/libdbus-convenience.la
36
37 endif
38