summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMarc Mutz <marc@kdab.net>2009-04-21 16:22:11 +0200
committerRalf Habacker <ralf.habacker@freenet.de>2009-12-01 08:36:30 +0100
commit6bb37dc5427c62b418ddbb24ff01b0aea2bd8a9d (patch)
tree21ee977ffac3f4047432e08f66d3c3c10e40ad62 /tools
parenta871d0f42e472d83f30faecb8f1840c3bac26ae6 (diff)
tools/Makefile.am: conditional compilation for W32 (cherry picked from commit 8b2f7581ef46b6e9bd29b8399657c039cb49f030)
Diffstat (limited to 'tools')
-rw-r--r--tools/Makefile.am7
1 files changed, 6 insertions, 1 deletions
diff --git a/tools/Makefile.am b/tools/Makefile.am
index 9fad7a78..f597d59e 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 \