* configure.in: Add test/name-test/Makefile to the generated
[platform/upstream/dbus.git] / test / name-test / Makefile.am
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=$(ABSOLUTE_TOP_BUILDDIR)
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 
20
21 test_names_SOURCES=                             \
22         test-names.c                             
23
24 test_names_LDADD=$(top_builddir)/dbus/libdbus-1.la $(top_builddir)/dbus/libdbus-convenience.la
25 endif
26