1 configdir=$(sysconfdir)/dbus-1 2 3 AM_CPPFLAGS = \ 4 -I$(top_srcdir) \ 5 $(DBUS_STATIC_BUILD_CPPFLAGS) \ 6 $(DBUS_X_CFLAGS) \ 7 -DDBUS_COMPILATION \ 8 -DDBUS_MACHINE_UUID_FILE=\""$(localstatedir)/lib/dbus/machine-id"\" \ 9 $(NULL) 10 11 # if assertions are enabled, improve backtraces 12 AM_LDFLAGS = @R_DYNAMIC_LDFLAG@ 13 14 bin_PROGRAMS = \ 15 dbus-launch \ 16 dbus-monitor \ 17 dbus-send \ 18 $(NULL) 19 20 if DBUS_UNIX 21 bin_PROGRAMS += \ 22 dbus-cleanup-sockets \ 23 dbus-uuidgen \ 24 $(NULL) 25 endif 26 27 dbus_send_SOURCES= \ 28 dbus-print-message.c \ 29 dbus-print-message.h \ 30 dbus-send.c 31 32 dbus_monitor_SOURCES= \ 33 dbus-monitor.c \ 34 dbus-print-message.c \ 35 dbus-print-message.h 36 37 if DBUS_WIN 38 dbus_launch_SOURCES= \ 39 dbus-launch-win.c \ 40 dbus-launch.h 41 else 42 dbus_launch_SOURCES= \ 43 dbus-launch.c \ 44 dbus-launch-x11.c \ 45 dbus-launch.h 46 endif 47 48 dbus_cleanup_sockets_SOURCES= \ 49 dbus-cleanup-sockets.c 50 51 dbus_uuidgen_SOURCES= \ 52 dbus-uuidgen.c 53 54 dbus_send_LDADD = \ 55 $(top_builddir)/dbus/libdbus-1.la \ 56 $(NULL) 57 58 dbus_monitor_LDADD = \ 59 $(top_builddir)/dbus/libdbus-1.la \ 60 $(NETWORK_libs) \ 61 $(NULL) 62 63 dbus_uuidgen_LDADD = \ 64 $(top_builddir)/dbus/libdbus-1.la \ 65 $(NULL) 66 67 dbus_launch_LDADD = \ 68 $(DBUS_X_LIBS) \ 69 $(NULL) 70 71 EXTRA_DIST = run-with-tmp-session-bus.sh strtoll.c strtoull.c 72 CLEANFILES = \ 73 run-with-tmp-session-bus.conf 74 75 # create the /var/lib/dbus directory for dbus-uuidgen 76 install-data-local: 77 $(MKDIR_P) $(DESTDIR)$(localstatedir)/lib/dbus 78 79 installcheck-local: 80 test -d $(DESTDIR)$(localstatedir)/lib/dbus 81