Makefile.am revision ca7b8112c91f55f0a4b908e55854320b434d8f1f
1INCLUDES=-I$(top_srcdir) $(DBUS_CLIENT_CFLAGS) $(DBUS_GLIB_CFLAGS) $(DBUS_TEST_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 6if DBUS_BUILD_TESTS 7TESTS_ENVIRONMENT=DBUS_TOP_BUILDDIR=@abs_top_builddir@ DBUS_TOP_SRCDIR=@abs_top_srcdir@ 8TESTS=run-test.sh run-test-systemserver.sh 9else 10TESTS= 11endif 12 13EXTRA_DIST=run-test.sh run-test-systemserver.sh test-wait-for-echo.py test-activation-forking.py 14 15if 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" 19noinst_PROGRAMS=test-pending-call-dispatch test-pending-call-timeout test-threads-init test-ids test-shutdown test-privserver test-privserver-client 20 21AM_CPPFLAGS = -DDBUS_STATIC_BUILD 22test_pending_call_dispatch_SOURCES = \ 23 test-pending-call-dispatch.c 24 25test_pending_call_dispatch_LDADD=$(top_builddir)/dbus/libdbus-internal.la $(DBUS_TEST_LIBS) 26test_pending_call_dispatch_LDFLAGS=@R_DYNAMIC_LDFLAG@ 27 28test_pending_call_timeout_SOURCES = \ 29 test-pending-call-timeout.c 30 31test_pending_call_timeout_LDADD=$(top_builddir)/dbus/libdbus-internal.la $(DBUS_TEST_LIBS) 32test_pending_call_timeout_LDFLAGS=@R_DYNAMIC_LDFLAG@ 33 34test_threads_init_SOURCES = \ 35 test-threads-init.c 36 37test_threads_init_LDADD=$(top_builddir)/dbus/libdbus-internal.la $(DBUS_TEST_LIBS) 38test_threads_init_LDFLAGS=@R_DYNAMIC_LDFLAG@ 39 40test_ids_SOURCES = \ 41 test-ids.c 42 43test_ids_LDADD=$(top_builddir)/dbus/libdbus-internal.la $(DBUS_TEST_LIBS) 44test_ids_LDFLAGS=@R_DYNAMIC_LDFLAG@ 45 46test_shutdown_SOURCES = \ 47 test-shutdown.c 48 49test_shutdown_CFLAGS= 50test_shutdown_LDADD=$(top_builddir)/dbus/libdbus-internal.la ../libdbus-testutils.la $(DBUS_TEST_LIBS) 51test_shutdown_LDFLAGS=@R_DYNAMIC_LDFLAG@ 52 53test_privserver_SOURCES = \ 54 test-privserver.c 55 56test_privserver_CFLAGS= 57test_privserver_LDADD=$(top_builddir)/dbus/libdbus-internal.la ../libdbus-testutils.la $(DBUS_TEST_LIBS) 58test_privserver_LDFLAGS=@R_DYNAMIC_LDFLAG@ 59 60test_privserver_client_SOURCES = \ 61 test-privserver-client.c 62 63test_privserver_client_CFLAGS= 64test_privserver_client_LDADD=$(top_builddir)/dbus/libdbus-internal.la ../libdbus-testutils.la $(DBUS_TEST_LIBS) 65test_privserver_client_LDFLAGS=@R_DYNAMIC_LDFLAG@ 66 67endif 68