• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Everything in this directory is statically-linked to libdbus-internal
2AM_CPPFLAGS = \
3	-I$(top_srcdir) \
4	-DDBUS_COMPILATION \
5	-DDBUS_STATIC_BUILD \
6	$(NULL)
7
8# if assertions are enabled, improve backtraces
9AM_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
14if DBUS_BUILD_TESTS
15TESTS_ENVIRONMENT=DBUS_TOP_BUILDDIR=@abs_top_builddir@ DBUS_TOP_SRCDIR=@abs_top_srcdir@ PYTHON=@PYTHON@
16TESTS=run-test.sh run-test-systemserver.sh
17else
18TESTS=
19endif
20
21EXTRA_DIST=run-test.sh run-test-systemserver.sh test-wait-for-echo.py test-activation-forking.py
22
23if 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"
27noinst_PROGRAMS=test-pending-call-dispatch test-pending-call-timeout test-threads-init test-ids test-shutdown test-privserver test-privserver-client test-autolaunch
28
29test_pending_call_dispatch_LDADD=$(top_builddir)/dbus/libdbus-internal.la
30test_pending_call_timeout_LDADD=$(top_builddir)/dbus/libdbus-internal.la
31test_threads_init_LDADD=$(top_builddir)/dbus/libdbus-internal.la
32test_ids_LDADD=$(top_builddir)/dbus/libdbus-internal.la
33
34test_shutdown_LDADD=../libdbus-testutils.la
35test_privserver_LDADD=../libdbus-testutils.la
36test_privserver_client_LDADD=../libdbus-testutils.la
37test_autolaunch_LDADD=../libdbus-testutils.la
38
39endif
40