* bus/config-parser.c (service_dirs_find_dir): use
[platform/upstream/dbus.git] / tools / Makefile.am
1 configdir=$(sysconfdir)/dbus-1
2
3 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"\"
4
5 bin_PROGRAMS=dbus-send dbus-monitor dbus-launch dbus-cleanup-sockets dbus-uuidgen
6
7 dbus_send_SOURCES=                              \
8         dbus-print-message.c                    \
9         dbus-print-message.h                    \
10         dbus-send.c
11
12 dbus_monitor_SOURCES=                           \
13         dbus-monitor.c                          \
14         dbus-print-message.c                    \
15         dbus-print-message.h
16
17 dbus_launch_SOURCES=                            \
18         dbus-launch.c                           \
19         dbus-launch-x11.c                       \
20         dbus-launch.h
21
22 dbus_cleanup_sockets_SOURCES=                   \
23         dbus-cleanup-sockets.c
24
25 dbus_uuidgen_SOURCES=                           \
26         dbus-uuidgen.c
27
28 dbus_send_LDADD= $(top_builddir)/dbus/libdbus-1.la $(DBUS_CLIENT_LIBS)
29 dbus_send_LDFLAGS=@R_DYNAMIC_LDFLAG@
30
31 dbus_monitor_LDADD= $(top_builddir)/dbus/libdbus-1.la $(DBUS_CLIENT_LIBS)
32 dbus_monitor_LDFLAGS=@R_DYNAMIC_LDFLAG@
33
34 dbus_uuidgen_LDADD= $(top_builddir)/dbus/libdbus-1.la $(DBUS_CLIENT_LIBS)
35 dbus_uuidgen_LDFLAGS=@R_DYNAMIC_LDFLAG@
36
37 dbus_launch_LDADD= $(DBUS_X_LIBS) $(DBUS_CLIENT_LIBS)
38 dbus_launch_LDFLAGS=@R_DYNAMIC_LDFLAG@
39
40 man_MANS = dbus-send.1 dbus-monitor.1 dbus-launch.1 dbus-cleanup-sockets.1 dbus-uuidgen.1
41 EXTRA_DIST = $(man_MANS) run-with-tmp-session-bus.sh
42 CLEANFILES =                            \
43         run-with-tmp-session-bus.conf
44
45 #create the /var/lib/data directory for dbus-uuidgen
46 localstatelibdir = $(localstatedir)/lib/dbus
47 localstatelib_DATA =