diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2011-06-15 14:25:43 +0100 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2011-07-29 11:49:13 +0100 |
commit | add0b02ee08a069b0d41d49d440ee1cee8161719 (patch) | |
tree | d297823f1df14146dbb86da394553ea9055348a8 /test/name-test | |
parent | 20ae813d5f46add1d238134a41ab931c6aa6706f (diff) | |
download | dbus-add0b02ee08a069b0d41d49d440ee1cee8161719.tar.gz |
test/name-test: use AM_CPPFLAGS instead of INCLUDES
Diffstat (limited to 'test/name-test')
-rw-r--r-- | test/name-test/Makefile.am | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/test/name-test/Makefile.am b/test/name-test/Makefile.am index f4754f39..574879f1 100644 --- a/test/name-test/Makefile.am +++ b/test/name-test/Makefile.am @@ -1,4 +1,9 @@ -INCLUDES=-I$(top_srcdir) -DDBUS_COMPILATION +# Everything in this directory is statically-linked to libdbus-internal +AM_CPPFLAGS = \ + -I$(top_srcdir) \ + -DDBUS_COMPILATION \ + -DDBUS_STATIC_BUILD \ + $(NULL) # if assertions are enabled, improve backtraces AM_LDFLAGS = @R_DYNAMIC_LDFLAG@ @@ -21,7 +26,6 @@ if DBUS_BUILD_TESTS ## build even when not doing "make check" noinst_PROGRAMS=test-pending-call-dispatch test-pending-call-timeout test-threads-init test-ids test-shutdown test-privserver test-privserver-client test-autolaunch -AM_CPPFLAGS = -DDBUS_STATIC_BUILD test_pending_call_dispatch_SOURCES = \ test-pending-call-dispatch.c |