1INCLUDES=-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 6if DBUS_BUILD_TESTS 7TESTS_ENVIRONMENT=DBUS_TOP_BUILDDIR=@abs_top_builddir@ DBUS_TOP_SRCDIR=@abs_top_srcdir@ 8TESTS=run-test.sh 9else 10TESTS= 11endif 12 13EXTRA_DIST=run-test.sh 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-names test-pending-call-dispatch test-threads-init 20 21test_names_SOURCES= \ 22 test-names.c 23 24test_names_LDADD=$(top_builddir)/dbus/libdbus-convenience.la $(DBUS_TEST_LIBS) 25test_names_LDFLAGS=@R_DYNAMIC_LDFLAG@ 26 27test_pending_call_dispatch_SOURCES = \ 28 test-pending-call-dispatch.c 29 30test_pending_call_dispatch_LDADD=$(top_builddir)/dbus/libdbus-convenience.la $(DBUS_TEST_LIBS) 31test_pending_call_dispatch_LDFLAGS=@R_DYNAMIC_LDFLAG@ 32 33test_threads_init_SOURCES = \ 34 test-threads-init.c 35 36test_threads_init_LDADD=$(top_builddir)/dbus/libdbus-convenience.la $(DBUS_TEST_LIBS) 37test_threads_init_LDFLAGS=@R_DYNAMIC_LDFLAG@ 38 39endif 40 41