[daemon-fix] fixed querying about name information
[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         -DDBUS_TEST_USE_INTERNAL \
7         $(NULL)
8
9 # if assertions are enabled, improve backtraces
10 AM_LDFLAGS = @R_DYNAMIC_LDFLAG@
11
12 ## note that TESTS has special meaning (stuff to use in make check)
13 ## so if adding tests not to be run in make check, don't add them to 
14 ## TESTS
15 if DBUS_ENABLE_EMBEDDED_TESTS
16 TESTS_ENVIRONMENT=DBUS_TOP_BUILDDIR=@abs_top_builddir@ DBUS_TOP_SRCDIR=@abs_top_srcdir@ PYTHON=@PYTHON@
17 TESTS=run-test.sh run-test-systemserver.sh
18 else
19 TESTS=
20 endif
21
22 EXTRA_DIST=run-test.sh run-test-systemserver.sh test-wait-for-echo.py test-activation-forking.py
23
24 if DBUS_ENABLE_EMBEDDED_TESTS
25
26 ## we use noinst_PROGRAMS not check_PROGRAMS for TESTS so that we
27 ## build even when not doing "make check"
28 noinst_PROGRAMS=test-pending-call-dispatch test-pending-call-timeout test-threads-init test-ids test-shutdown test-privserver test-privserver-client test-autolaunch
29
30 test_pending_call_dispatch_LDADD=$(top_builddir)/dbus/libdbus-internal.la
31 test_pending_call_timeout_LDADD=$(top_builddir)/dbus/libdbus-internal.la
32 test_threads_init_LDADD=$(top_builddir)/dbus/libdbus-internal.la
33 test_ids_LDADD=$(top_builddir)/dbus/libdbus-internal.la
34
35 test_shutdown_LDADD=../libdbus-testutils-internal.la
36 test_privserver_LDADD=../libdbus-testutils-internal.la
37 test_privserver_client_LDADD=../libdbus-testutils-internal.la
38 test_autolaunch_LDADD=../libdbus-testutils-internal.la
39
40 endif