2003-05-16 Havoc Pennington <hp@redhat.com>
[platform/upstream/dbus.git] / tools / Makefile.am
1 INCLUDES=-I$(top_srcdir) $(DBUS_CLIENT_CFLAGS) $(DBUS_GLIB_CFLAGS)
2
3 if HAVE_GLIB
4 GLIB_TOOLS=dbus-monitor
5 else
6 GLIB_TOOLS=
7 endif
8
9 bin_PROGRAMS=dbus-send $(GLIB_TOOLS) dbus-launch
10
11 dbus_send_SOURCES=                              \
12         dbus-print-message.c                    \
13         dbus-print-message.h                    \
14         dbus-send.c
15
16 dbus_monitor_SOURCES=                           \
17         dbus-monitor.c                          \
18         dbus-print-message.c                    \
19         dbus-print-message.h
20
21 dbus_launch_SOURCES=                            \
22         dbus-launch.c
23
24 dbus_send_LDADD= $(top_builddir)/dbus/libdbus-1.la
25 dbus_monitor_LDADD= $(top_builddir)/glib/libdbus-glib-1.la
26 ## dbus-launch doesn't link to anything
27 dbus_launch_LDADD= $(DBUS_X_LIBS)
28
29 man_MANS = dbus-send.1 dbus-monitor.1 dbus-launch.1
30 EXTRA_DIST = $(man_MANS)