AC_SUBST(MESSAGE_BUS_TYPE, [$enable_dbus_type])
AM_CONDITIONAL(HAVE_SYSTEM_BUS, [test x$enable_dbus_type = xsystem])
+AM_CONDITIONAL(USE_DBUS_SERVICE, [test x$enable_dbus_type != xp2p])
# Check for systemd
VAR_SYSTEMD="`pkg-config --variable systemdsystemunitdir systemd`"
libgum_dbus_glue_la_SOURCES = \
$(DBUS_BUILT_SOURCES) \
$(NULL)
-
+
+if USE_DBUS_SERVICE
dbusinterfacesdir = $(DBUS_INTERFACES_DIR)
dbusinterfaces_DATA = \
$(INTERFACES_DIR)/org.tizen.SecurityAccounts.gUserManagement.User.xml \
$(INTERFACES_DIR)/org.tizen.SecurityAccounts.gUserManagement.UserService.xml \
$(INTERFACES_DIR)/org.tizen.SecurityAccounts.gUserManagement.Group.xml \
$(INTERFACES_DIR)/org.tizen.SecurityAccounts.gUserManagement.GroupService.xml
+endif
EXTRA_DIST = interfaces
gumd-dbus-group-adapter.h \
$(NULL)
+if USE_DBUS_SERVICE
dbusservicedir = $(DBUS_SERVICES_DIR)
dbusservice_DATA = \
$(SERVICES_DIR)/org.tizen.SecurityAccounts.gUserManagement.service
nodist_dbusservice_DATA = \
$(SERVICES_DIR)/org.tizen.SecurityAccounts.gUserManagement.service
+endif
EXTRA_DIST = \
gumd-dbus.conf.in