From: Marc Mutz Date: Tue, 21 Apr 2009 14:22:11 +0000 (+0200) Subject: tools/Makefile.am: conditional compilation for W32 (cherry picked from commit 8b2f758... X-Git-Tag: dbus-1.3.1~183 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6bb37dc5427c62b418ddbb24ff01b0aea2bd8a9d;p=thirdparty%2Fdbus.git tools/Makefile.am: conditional compilation for W32 (cherry picked from commit 8b2f7581ef46b6e9bd29b8399657c039cb49f030) --- diff --git a/tools/Makefile.am b/tools/Makefile.am index 9fad7a78a..f597d59e7 100644 --- a/tools/Makefile.am +++ b/tools/Makefile.am @@ -2,7 +2,12 @@ configdir=$(sysconfdir)/dbus-1 INCLUDES=-I$(top_srcdir) $(DBUS_CLIENT_CFLAGS) $(DBUS_X_CFLAGS) -DDBUS_LOCALEDIR=\"@EXPANDED_DATADIR@/locale\" -DDBUS_COMPILATION -DDBUS_DAEMONDIR=\"@DBUS_DAEMONDIR@\" -DDBUS_MACHINE_UUID_FILE=\""$(localstatedir)/lib/dbus/machine-id"\" -bin_PROGRAMS=dbus-send dbus-monitor dbus-launch dbus-cleanup-sockets dbus-uuidgen +extra_bin_programs= +if DBUS_UNIX +extra_bin_programs += dbus-launch dbus-cleanup-sockets +endif + +bin_PROGRAMS=dbus-send dbus-monitor $(extra_bin_programs) dbus-uuidgen dbus_send_SOURCES= \ dbus-print-message.c \