[glib] Most of the gdbus test programs build only on Unix



commit a83a9a43ed2f461fea7a652470a3ef376aebd1f2
Author: Tor Lillqvist <tml iki fi>
Date:   Mon May 24 11:22:41 2010 +0300

    Most of the gdbus test programs build only on Unix

 gio/tests/Makefile.am |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/gio/tests/Makefile.am b/gio/tests/Makefile.am
index a534722..caab309 100644
--- a/gio/tests/Makefile.am
+++ b/gio/tests/Makefile.am
@@ -41,6 +41,10 @@ TEST_PROGS +=	 		\
 	gschema-compile		\
 	async-close-output-stream \
 	gdbus-addresses		\
+	$(NULL)
+
+if OS_UNIX
+TEST_PROGS +=			\
 	gdbus-connection	\
 	gdbus-names		\
 	gdbus-proxy		\
@@ -51,6 +55,7 @@ TEST_PROGS +=	 		\
 	gdbus-peer		\
 	gdbus-exit-on-close	\
 	$(NULL)
+endif
 
 SAMPLE_PROGS = 				\
 	resolver			\
@@ -210,7 +215,7 @@ gdbus_export_LDADD = $(progs_ldadd)
 gdbus_error_SOURCES = gdbus-error.c gdbus-sessionbus.c gdbus-sessionbus.h gdbus-tests.h gdbus-tests.c
 gdbus_error_LDADD = $(progs_ldadd)
 
-gdbus_peer_SOURCES = gdbus-peer.c gdbus-tests.h gdbus-tests.c
+gdbus_peer_SOURCES = gdbus-peer.c gdbus-sessionbus.c gdbus-sessionbus.h gdbus-tests.h gdbus-tests.c
 gdbus_peer_LDADD = $(progs_ldadd)
 
 gdbus_exit_on_close_SOURCES = gdbus-exit-on-close.c gdbus-sessionbus.c gdbus-sessionbus.h gdbus-tests.h gdbus-tests.c



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]