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