Merge branch 'dbus-1.4'
[platform/upstream/dbus.git] / test / name-test / Makefile.am
1 # Everything in this directory is statically-linked to libdbus-internal
2 AM_CPPFLAGS = \
3         -I$(top_srcdir) \
4         -DDBUS_COMPILATION \
5         -DDBUS_STATIC_BUILD \
6         $(NULL)
7
8 # if assertions are enabled, improve backtraces
9 AM_LDFLAGS = @R_DYNAMIC_LDFLAG@
10
11 ## note that TESTS has special meaning (stuff to use in make check)
12 ## so if adding tests not to be run in make check, don't add them to 
13 ## TESTS
14 if DBUS_BUILD_TESTS
15 TESTS_ENVIRONMENT=DBUS_TOP_BUILDDIR=@abs_top_builddir@ DBUS_TOP_SRCDIR=@abs_top_srcdir@
16 TESTS=run-test.sh run-test-systemserver.sh
17 else
18 TESTS=
19 endif
20
21 EXTRA_DIST=run-test.sh run-test-systemserver.sh test-wait-for-echo.py test-activation-forking.py
22
23 if DBUS_BUILD_TESTS
24
25 ## we use noinst_PROGRAMS not check_PROGRAMS for TESTS so that we
26 ## build even when not doing "make check"
27 noinst_PROGRAMS=test-pending-call-dispatch test-pending-call-timeout test-threads-init test-ids test-shutdown test-privserver test-privserver-client test-autolaunch
28
29 test_pending_call_dispatch_LDADD=$(top_builddir)/dbus/libdbus-internal.la
30 test_pending_call_timeout_LDADD=$(top_builddir)/dbus/libdbus-internal.la
31 test_threads_init_LDADD=$(top_builddir)/dbus/libdbus-internal.la
32 test_ids_LDADD=$(top_builddir)/dbus/libdbus-internal.la
33
34 test_shutdown_LDADD=../libdbus-testutils.la
35 test_privserver_LDADD=../libdbus-testutils.la
36 test_privserver_client_LDADD=../libdbus-testutils.la
37 test_autolaunch_LDADD=../libdbus-testutils.la
38
39 endif