2 configdir=$(sysconfdir)/dbus-1
4 INCLUDES=-I$(top_srcdir) $(DBUS_BUS_CFLAGS) \
5 -DDAEMON_NAME=\"dbus-daemon-1\" -DDBUS_COMPILATION \
6 -DDBUS_SYSTEM_CONFIG_FILE=\""$(configdir)/system.conf"\" \
7 -DDBUS_SESSION_CONFIG_FILE=\""$(configdir)/session.conf"\"
19 bin_PROGRAMS=dbus-daemon-1
22 XML_SOURCES=config-loader-libxml.c
25 XML_SOURCES=config-loader-expat.c
55 dbus_daemon_1_SOURCES= \
59 dbus_daemon_1_LDADD= \
62 $(top_builddir)/dbus/libdbus-convenience.la
64 ## note that TESTS has special meaning (stuff to use in make check)
65 ## so if adding tests not to be run in make check, don't add them to
68 TESTS_ENVIRONMENT=DBUS_TEST_DATA=$(top_builddir)/test/data DBUS_TEST_HOMEDIR=$(top_builddir)/dbus
74 ## we use noinst_PROGRAMS not check_PROGRAMS so that we build
75 ## even when not doing "make check"
76 noinst_PROGRAMS=$(TESTS)
82 bus_test_LDADD=$(top_builddir)/dbus/libdbus-convenience.la $(DBUS_BUS_LIBS)
84 ## mop up the gcov files
86 /bin/rm *.bb *.bbg *.da *.gcov || true
89 $(mkinstalldirs) $(DESTDIR)/$(localstatedir)/run/dbus
90 $(mkinstalldirs) $(DESTDIR)/$(configdir)/system.d
91 $(mkinstalldirs) $(DESTDIR)/$(libdir)/dbus-1.0/services
94 SCRIPT_IN_FILES=messagebus.in
97 if DBUS_INIT_SCRIPTS_RED_HAT
99 initddir=$(sysconfdir)/rc.d/init.d
107 MAN_IN_FILES=dbus-daemon-1.1.in
108 man_MANS = dbus-daemon-1.1
112 EXTRA_DIST=$(CONFIG_IN_FILES) $(SCRIPT_IN_FILES) $(man_MANS) $(MAN_IN_FILES)