1 add_definitions("-DDBUS_COMPILATION")
4 ../../tools/dbus-print-message.c
5 ../../tools/dbus-print-message.h
6 ../../tools/dbus-send.c
7 ../../tools/tool-common.c
8 ../../tools/tool-common.h
11 set (dbus_monitor_SOURCES
12 ../../tools/dbus-monitor.c
13 ../../tools/dbus-print-message.c
14 ../../tools/dbus-print-message.h
15 ../../tools/tool-common.c
16 ../../tools/tool-common.h
19 set (dbus_test_tool_SOURCES
20 ../../tools/dbus-echo.c
21 ../../tools/dbus-spam.c
22 ../../tools/tool-common.c
23 ../../tools/tool-common.h
24 ../../tools/test-tool.c
25 ../../tools/test-tool.h
28 set (dbus_update_activation_environment_SOURCES
29 ../../tools/dbus-update-activation-environment.c
30 ../../tools/tool-common.c
31 ../../tools/tool-common.h
35 set (dbus_launch_SOURCES
36 ../../tools/dbus-launch-win.c
39 set (dbus_launch_SOURCES
40 ../../tools/dbus-launch.c
41 ../../tools/tool-common.c
42 ../../tools/tool-common.h
47 set (dbus_launch_SOURCES
48 ${dbus_launch_SOURCES}
49 ../../tools/dbus-launch-x11.c
53 set (dbus_cleanup_sockets_SOURCES
54 ../../tools/dbus-cleanup-sockets.c
57 add_executable(dbus-send ${dbus_send_SOURCES})
58 target_link_libraries(dbus-send ${DBUS_LIBRARIES})
59 install_targets(/bin dbus-send )
61 add_executable(dbus-test-tool ${dbus_test_tool_SOURCES})
62 target_link_libraries(dbus-test-tool ${DBUS_LIBRARIES})
63 install_targets(/bin dbus-test-tool )
65 add_executable(dbus-update-activation-environment ${dbus_update_activation_environment_SOURCES})
66 target_link_libraries(dbus-update-activation-environment ${DBUS_LIBRARIES})
67 install_targets(/bin dbus-update-activation-environment )
69 add_executable(dbus-launch ${dbus_launch_SOURCES})
70 target_link_libraries(dbus-launch ${DBUS_LIBRARIES})
72 target_link_libraries(dbus-launch ${X11_LIBRARIES} )
73 endif (DBUS_BUILD_X11)
74 install_targets(/bin dbus-launch )
76 add_executable(dbus-monitor ${dbus_monitor_SOURCES})
77 target_link_libraries(dbus-monitor ${DBUS_LIBRARIES})
78 install_targets(/bin dbus-monitor )
80 # create the /var/lib/dbus directory for dbus-uuidgen
81 install(DIRECTORY DESTINATION var/lib/dbus)