2002-03-10 Seth Nickell <snickell@stanford.edu> Make the settings daemon a singleton BonoboObject so capplets can detect whether its running and activate it if its not. * Makefile.am: * factory.c: (main): * gnome-settings-daemon.c: (awake_impl), (finalize), (gnome_settings_daemon_class_init), (gnome_settings_daemon_init), (gnome_settings_daemon_new): * gnome-settings-daemon.h: Convert the settings-daemon into a BonoboObject and add code to register it with bonobo-activation. Still has a main loop that can be run normally to launch the settings daemon.
65 lines
No EOL
1.8 KiB
Makefile
65 lines
No EOL
1.8 KiB
Makefile
INCLUDES=$(GNOME_SETTINGS_DAEMON_CFLAGS) -I$(top_srcdir)/libbackground -I$(top_srcdir)
|
|
|
|
bin_PROGRAMS=gnome2-settings-daemon
|
|
|
|
gnome2_settings_daemon_SOURCES = \
|
|
factory.c \
|
|
gnome-settings-daemon.h \
|
|
gnome-settings-daemon.c \
|
|
gnome-settings-mouse.h \
|
|
gnome-settings-mouse.c \
|
|
gnome-settings-keyboard.h \
|
|
gnome-settings-keyboard.c \
|
|
gnome-settings-background.h \
|
|
gnome-settings-background.c \
|
|
gnome-settings-xsettings.c \
|
|
gnome-settings-xsettings.h \
|
|
gnome-settings-wm.c \
|
|
gnome-settings-wm.h \
|
|
gnome-settings-locate-pointer.c \
|
|
gnome-settings-locate-pointer.h \
|
|
gnome-settings-sound.c \
|
|
gnome-settings-sound.h \
|
|
xsettings-common.c \
|
|
xsettings-manager.c \
|
|
xsettings-common.h \
|
|
xsettings-manager.h \
|
|
$(CORBA_GENERATED)
|
|
|
|
gnome2_settings_daemon_LDADD = \
|
|
$(GNOME_SETTINGS_DAEMON_LIBS) \
|
|
$(top_builddir)/libbackground/libbackground.la \
|
|
$(top_builddir)/libsounds/libsounds.a \
|
|
$(XF86MISC_LIBS)
|
|
|
|
CORBA_GENERATED_HEADER_FILES = GNOME_SettingsDaemon.h
|
|
|
|
CORBA_GENERATED = \
|
|
$(CORBA_GENERATED_HEADER_FILES) \
|
|
GNOME_SettingsDaemon-common.c \
|
|
GNOME_SettingsDaemon-stubs.c \
|
|
GNOME_SettingsDaemon-skels.c
|
|
|
|
BUILT_SOURCES=$(CORBA_GENERATED)
|
|
|
|
idl_dir = $(top_srcdir)/idl
|
|
|
|
IDL_FLAGS = -D__GNOME_SettingsDaemon_COMPILATION -I $(idl_dir) -I $(datadir)/idl \
|
|
-I $(LIBBONOBO_IDL_DIR) \
|
|
-I $(BONOBO_ACTIVATION_IDL_DIR)
|
|
|
|
$(CORBA_GENERATED): $(idl_dir)/GNOME_SettingsDaemon.idl
|
|
$(ORBIT_IDL) $(IDL_FLAGS) $(idl_dir)/GNOME_SettingsDaemon.idl
|
|
|
|
serverdir = $(libdir)/bonobo/servers
|
|
server_in_files = GNOME_SettingsDaemon.server.in
|
|
server_DATA = $(server_in_files:.server.in=.server)
|
|
|
|
@INTLTOOL_SERVER_RULE@
|
|
|
|
CLEANFILES = $(BUILT_SOURCES)
|
|
|
|
EXTRA_DIST = \
|
|
$(BUILT_SOURCES) \
|
|
$(server_DATA) \
|
|
$(server_in_files) \
|