summaryrefslogtreecommitdiff
path: root/libxfsm
diff options
context:
space:
mode:
authorBenedikt Meurer <benny@xfce.org>2004-11-01 16:10:55 +0000
committerBenedikt Meurer <benny@xfce.org>2004-11-01 16:10:55 +0000
commit1c83667bc7b468c098758621711c4b354d0e4de7 (patch)
tree3930970cab769beb14ac1037165d12eca26ff3ba /libxfsm
parent330740fbc99384acea2e96df09d72217f81164a1 (diff)
downloadxfce4-session-1c83667bc7b468c098758621711c4b354d0e4de7.tar.gz
Resolve the libxfsm build order problem. Issue a detailed message if the
failsafe session couldn't be loaded. Imported the xfce4-session-logout hack from Brian, requested too often to ignore. Update the man pages, esp. mention the XDG variables in the xfce4-session man page. Update the po files. (Old svn revision: 4711)
Diffstat (limited to 'libxfsm')
-rw-r--r--libxfsm/.cvsignore6
-rw-r--r--libxfsm/Makefile.am43
-rw-r--r--libxfsm/Makefile.in630
-rw-r--r--libxfsm/xfce4-session-1.0.pc.in11
-rw-r--r--libxfsm/xfsm-splash-engine.h124
-rw-r--r--libxfsm/xfsm-splash-rc.c138
-rw-r--r--libxfsm/xfsm-splash-rc.h76
-rw-r--r--libxfsm/xfsm-util.c242
-rw-r--r--libxfsm/xfsm-util.h56
9 files changed, 1326 insertions, 0 deletions
diff --git a/libxfsm/.cvsignore b/libxfsm/.cvsignore
new file mode 100644
index 00000000..a91da2bc
--- /dev/null
+++ b/libxfsm/.cvsignore
@@ -0,0 +1,6 @@
+.deps
+.libs
+Makefile
+libxfsm-4.2.*
+xfce4-session-1.0.pc
+
diff --git a/libxfsm/Makefile.am b/libxfsm/Makefile.am
new file mode 100644
index 00000000..215b6bf8
--- /dev/null
+++ b/libxfsm/Makefile.am
@@ -0,0 +1,43 @@
+INCLUDES = \
+ -I$(top_srcdir)
+
+# common library
+lib_LTLIBRARIES = libxfsm-4.2.la
+
+libxfsm_4_2_la_SOURCES = \
+ xfsm-splash-rc.c \
+ xfsm-splash-rc.h \
+ xfsm-util.h \
+ xfsm-util.c
+
+libxfsm_4_2_la_CFLAGS = \
+ @LIBX11_CFLAGS@ \
+ @LIBXFCEGUI4_CFLAGS@
+
+libxfsm_4_2_la_LDFLAGS = \
+ -export-dynamic \
+ -version-info 0:1:0
+
+if HAVE_OS_CYGWIN
+libxfsm_4_2_la_LDFLAGS += \
+ -no-undefined \
+ @LIBX11_LDFLAGS@
+
+libxfsm_4_2_la_LIBADD = \
+ @LIBX11_LIBS@ \
+ @LIBXFCEGUI4_LIBS@
+endif
+
+
+libxfsmincludedir = \
+ $(includedir)/xfce4/xfce4-session-4.2/libxfsm
+
+libxfsminclude_HEADERS = \
+ xfsm-splash-engine.h \
+ xfsm-splash-rc.h
+
+
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = xfce4-session-1.0.pc
+
+
diff --git a/libxfsm/Makefile.in b/libxfsm/Makefile.in
new file mode 100644
index 00000000..0ddb6e24
--- /dev/null
+++ b/libxfsm/Makefile.in
@@ -0,0 +1,630 @@
+# Makefile.in generated by automake 1.8.3 from Makefile.am.
+# @configure_input@
+
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+# 2003, 2004 Free Software Foundation, Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+@SET_MAKE@
+
+
+
+SOURCES = $(libxfsm_4_2_la_SOURCES)
+
+srcdir = @srcdir@
+top_srcdir = @top_srcdir@
+VPATH = @srcdir@
+pkgdatadir = $(datadir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+top_builddir = ..
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+INSTALL = @INSTALL@
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+host_triplet = @host@
+@HAVE_OS_CYGWIN_TRUE@am__append_1 = \
+@HAVE_OS_CYGWIN_TRUE@ -no-undefined \
+@HAVE_OS_CYGWIN_TRUE@ @LIBX11_LDFLAGS@
+
+subdir = libxfsm
+DIST_COMMON = $(libxfsminclude_HEADERS) $(srcdir)/Makefile.am \
+ $(srcdir)/Makefile.in $(srcdir)/xfce4-session-1.0.pc.in
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/m4/X11.m4 \
+ $(top_srcdir)/m4/debug.m4 $(top_srcdir)/m4/depends.m4 \
+ $(top_srcdir)/m4/glib-gettext.m4 $(top_srcdir)/m4/i18n.m4 \
+ $(top_srcdir)/m4/pkg.m4 $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+CONFIG_HEADER = $(top_builddir)/config.h
+CONFIG_CLEAN_FILES = xfce4-session-1.0.pc
+am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(libxfsmincludedir)"
+libLTLIBRARIES_INSTALL = $(INSTALL)
+LTLIBRARIES = $(lib_LTLIBRARIES)
+libxfsm_4_2_la_DEPENDENCIES =
+am_libxfsm_4_2_la_OBJECTS = libxfsm_4_2_la-xfsm-splash-rc.lo \
+ libxfsm_4_2_la-xfsm-util.lo
+libxfsm_4_2_la_OBJECTS = $(am_libxfsm_4_2_la_OBJECTS)
+DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
+depcomp = $(SHELL) $(top_srcdir)/depcomp
+am__depfiles_maybe = depfiles
+@AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/libxfsm_4_2_la-xfsm-splash-rc.Plo \
+@AMDEP_TRUE@ ./$(DEPDIR)/libxfsm_4_2_la-xfsm-util.Plo
+COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) \
+ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+ $(AM_CFLAGS) $(CFLAGS)
+CCLD = $(CC)
+LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+ $(AM_LDFLAGS) $(LDFLAGS) -o $@
+SOURCES = $(libxfsm_4_2_la_SOURCES)
+DIST_SOURCES = $(libxfsm_4_2_la_SOURCES)
+pkgconfigDATA_INSTALL = $(INSTALL_DATA)
+DATA = $(pkgconfig_DATA)
+libxfsmincludeHEADERS_INSTALL = $(INSTALL_HEADER)
+HEADERS = $(libxfsminclude_HEADERS)
+ETAGS = etags
+CTAGS = ctags
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = @ACLOCAL@
+AMDEP_FALSE = @AMDEP_FALSE@
+AMDEP_TRUE = @AMDEP_TRUE@
+AMTAR = @AMTAR@
+AR = @AR@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+CATALOGS = @CATALOGS@
+CATOBJEXT = @CATOBJEXT@
+CC = @CC@
+CCDEPMODE = @CCDEPMODE@
+CFLAGS = @CFLAGS@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CXX = @CXX@
+CXXCPP = @CXXCPP@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DATADIRNAME = @DATADIRNAME@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+ECHO = @ECHO@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+EXEEXT = @EXEEXT@
+F77 = @F77@
+FFLAGS = @FFLAGS@
+GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
+GMOFILES = @GMOFILES@
+GMSGFMT = @GMSGFMT@
+GNOME_CFLAGS = @GNOME_CFLAGS@
+GNOME_LIBS = @GNOME_LIBS@
+GNOME_REQUIRED_VERSION = @GNOME_REQUIRED_VERSION@
+HAVE_OS_CYGWIN_FALSE = @HAVE_OS_CYGWIN_FALSE@
+HAVE_OS_CYGWIN_TRUE = @HAVE_OS_CYGWIN_TRUE@
+ICEAUTH = @ICEAUTH@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+INSTOBJEXT = @INSTOBJEXT@
+INTLLIBS = @INTLLIBS@
+LDFLAGS = @LDFLAGS@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LIBSM_CFLAGS = @LIBSM_CFLAGS@
+LIBSM_LDFLAGS = @LIBSM_LDFLAGS@
+LIBSM_LIBS = @LIBSM_LIBS@
+LIBTOOL = @LIBTOOL@
+LIBX11_CFLAGS = @LIBX11_CFLAGS@
+LIBX11_LDFLAGS = @LIBX11_LDFLAGS@
+LIBX11_LIBS = @LIBX11_LIBS@
+LIBXFCE4MCS_CLIENT_CFLAGS = @LIBXFCE4MCS_CLIENT_CFLAGS@
+LIBXFCE4MCS_CLIENT_LIBS = @LIBXFCE4MCS_CLIENT_LIBS@
+LIBXFCE4MCS_CLIENT_REQUIRED_VERSION = @LIBXFCE4MCS_CLIENT_REQUIRED_VERSION@
+LIBXFCE4UTIL_CFLAGS = @LIBXFCE4UTIL_CFLAGS@
+LIBXFCE4UTIL_LIBS = @LIBXFCE4UTIL_LIBS@
+LIBXFCE4UTIL_REQUIRED_VERSION = @LIBXFCE4UTIL_REQUIRED_VERSION@
+LIBXFCEGUI4_CFLAGS = @LIBXFCEGUI4_CFLAGS@
+LIBXFCEGUI4_LIBS = @LIBXFCEGUI4_LIBS@
+LIBXFCEGUI4_REQUIRED_VERSION = @LIBXFCEGUI4_REQUIRED_VERSION@
+LN_S = @LN_S@
+LTLIBOBJS = @LTLIBOBJS@
+MAINT = @MAINT@
+MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
+MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
+MAKEINFO = @MAKEINFO@
+MKINSTALLDIRS = @MKINSTALLDIRS@
+MSGFMT = @MSGFMT@
+OBJEXT = @OBJEXT@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+PKG_CONFIG = @PKG_CONFIG@
+POFILES = @POFILES@
+POSUB = @POSUB@
+PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@
+PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@
+RANLIB = @RANLIB@
+RM = @RM@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+STRIP = @STRIP@
+SUDO = @SUDO@
+USE_NLS = @USE_NLS@
+VERSION = @VERSION@
+XFCE_MCS_MANAGER_CFLAGS = @XFCE_MCS_MANAGER_CFLAGS@
+XFCE_MCS_MANAGER_LIBS = @XFCE_MCS_MANAGER_LIBS@
+XFCE_MCS_MANAGER_PLUGINSDIR = @XFCE_MCS_MANAGER_PLUGINSDIR@
+XFCE_MCS_MANAGER_REQUIRED_VERSION = @XFCE_MCS_MANAGER_REQUIRED_VERSION@
+XGETTEXT = @XGETTEXT@
+X_CFLAGS = @X_CFLAGS@
+X_EXTRA_LIBS = @X_EXTRA_LIBS@
+X_LIBS = @X_LIBS@
+X_PRE_LIBS = @X_PRE_LIBS@
+ac_ct_AR = @ac_ct_AR@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+ac_ct_F77 = @ac_ct_F77@
+ac_ct_RANLIB = @ac_ct_RANLIB@
+ac_ct_STRIP = @ac_ct_STRIP@
+am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
+am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
+am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
+am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+datadir = @datadir@
+exec_prefix = @exec_prefix@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+sysconfdir = @sysconfdir@
+target_alias = @target_alias@
+INCLUDES = \
+ -I$(top_srcdir)
+
+
+# common library
+lib_LTLIBRARIES = libxfsm-4.2.la
+libxfsm_4_2_la_SOURCES = \
+ xfsm-splash-rc.c \
+ xfsm-splash-rc.h \
+ xfsm-util.h \
+ xfsm-util.c
+
+libxfsm_4_2_la_CFLAGS = \
+ @LIBX11_CFLAGS@ \
+ @LIBXFCEGUI4_CFLAGS@
+
+libxfsm_4_2_la_LDFLAGS = \
+ -export-dynamic \
+ -version-info 0:1:0\
+$(am__append_1)
+@HAVE_OS_CYGWIN_TRUE@libxfsm_4_2_la_LIBADD = \
+@HAVE_OS_CYGWIN_TRUE@ @LIBX11_LIBS@ \
+@HAVE_OS_CYGWIN_TRUE@ @LIBXFCEGUI4_LIBS@
+
+libxfsmincludedir = \
+ $(includedir)/xfce4/xfce4-session-4.2/libxfsm
+
+libxfsminclude_HEADERS = \
+ xfsm-splash-engine.h \
+ xfsm-splash-rc.h
+
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = xfce4-session-1.0.pc
+all: all-am
+
+.SUFFIXES:
+.SUFFIXES: .c .lo .o .obj
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+ && exit 0; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign libxfsm/Makefile'; \
+ cd $(top_srcdir) && \
+ $(AUTOMAKE) --foreign libxfsm/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+xfce4-session-1.0.pc: $(top_builddir)/config.status $(srcdir)/xfce4-session-1.0.pc.in
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
+install-libLTLIBRARIES: $(lib_LTLIBRARIES)
+ @$(NORMAL_INSTALL)
+ test -z "$(libdir)" || $(mkdir_p) "$(DESTDIR)$(libdir)"
+ @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+ if test -f $$p; then \
+ f="`echo $$p | sed -e 's|^.*/||'`"; \
+ echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \
+ $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \
+ else :; fi; \
+ done
+
+uninstall-libLTLIBRARIES:
+ @$(NORMAL_UNINSTALL)
+ @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+ p="`echo $$p | sed -e 's|^.*/||'`"; \
+ echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \
+ $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \
+ done
+
+clean-libLTLIBRARIES:
+ -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
+ @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+ dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
+ test "$$dir" = "$$p" && dir=.; \
+ echo "rm -f \"$${dir}/so_locations\""; \
+ rm -f "$${dir}/so_locations"; \
+ done
+libxfsm-4.2.la: $(libxfsm_4_2_la_OBJECTS) $(libxfsm_4_2_la_DEPENDENCIES)
+ $(LINK) -rpath $(libdir) $(libxfsm_4_2_la_LDFLAGS) $(libxfsm_4_2_la_OBJECTS) $(libxfsm_4_2_la_LIBADD) $(LIBS)
+
+mostlyclean-compile:
+ -rm -f *.$(OBJEXT)
+
+distclean-compile:
+ -rm -f *.tab.c
+
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libxfsm_4_2_la-xfsm-splash-rc.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libxfsm_4_2_la-xfsm-util.Plo@am__quote@
+
+.c.o:
+@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
+@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(COMPILE) -c $<
+
+.c.obj:
+@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
+@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
+
+.c.lo:
+@am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
+@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
+
+libxfsm_4_2_la-xfsm-splash-rc.o: xfsm-splash-rc.c
+@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libxfsm_4_2_la_CFLAGS) $(CFLAGS) -MT libxfsm_4_2_la-xfsm-splash-rc.o -MD -MP -MF "$(DEPDIR)/libxfsm_4_2_la-xfsm-splash-rc.Tpo" -c -o libxfsm_4_2_la-xfsm-splash-rc.o `test -f 'xfsm-splash-rc.c' || echo '$(srcdir)/'`xfsm-splash-rc.c; \
+@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libxfsm_4_2_la-xfsm-splash-rc.Tpo" "$(DEPDIR)/libxfsm_4_2_la-xfsm-splash-rc.Po"; else rm -f "$(DEPDIR)/libxfsm_4_2_la-xfsm-splash-rc.Tpo"; exit 1; fi
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='xfsm-splash-rc.c' object='libxfsm_4_2_la-xfsm-splash-rc.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/libxfsm_4_2_la-xfsm-splash-rc.Po' tmpdepfile='$(DEPDIR)/libxfsm_4_2_la-xfsm-splash-rc.TPo' @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libxfsm_4_2_la_CFLAGS) $(CFLAGS) -c -o libxfsm_4_2_la-xfsm-splash-rc.o `test -f 'xfsm-splash-rc.c' || echo '$(srcdir)/'`xfsm-splash-rc.c
+
+libxfsm_4_2_la-xfsm-splash-rc.obj: xfsm-splash-rc.c
+@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libxfsm_4_2_la_CFLAGS) $(CFLAGS) -MT libxfsm_4_2_la-xfsm-splash-rc.obj -MD -MP -MF "$(DEPDIR)/libxfsm_4_2_la-xfsm-splash-rc.Tpo" -c -o libxfsm_4_2_la-xfsm-splash-rc.obj `if test -f 'xfsm-splash-rc.c'; then $(CYGPATH_W) 'xfsm-splash-rc.c'; else $(CYGPATH_W) '$(srcdir)/xfsm-splash-rc.c'; fi`; \
+@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libxfsm_4_2_la-xfsm-splash-rc.Tpo" "$(DEPDIR)/libxfsm_4_2_la-xfsm-splash-rc.Po"; else rm -f "$(DEPDIR)/libxfsm_4_2_la-xfsm-splash-rc.Tpo"; exit 1; fi
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='xfsm-splash-rc.c' object='libxfsm_4_2_la-xfsm-splash-rc.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/libxfsm_4_2_la-xfsm-splash-rc.Po' tmpdepfile='$(DEPDIR)/libxfsm_4_2_la-xfsm-splash-rc.TPo' @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libxfsm_4_2_la_CFLAGS) $(CFLAGS) -c -o libxfsm_4_2_la-xfsm-splash-rc.obj `if test -f 'xfsm-splash-rc.c'; then $(CYGPATH_W) 'xfsm-splash-rc.c'; else $(CYGPATH_W) '$(srcdir)/xfsm-splash-rc.c'; fi`
+
+libxfsm_4_2_la-xfsm-splash-rc.lo: xfsm-splash-rc.c
+@am__fastdepCC_TRUE@ if $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libxfsm_4_2_la_CFLAGS) $(CFLAGS) -MT libxfsm_4_2_la-xfsm-splash-rc.lo -MD -MP -MF "$(DEPDIR)/libxfsm_4_2_la-xfsm-splash-rc.Tpo" -c -o libxfsm_4_2_la-xfsm-splash-rc.lo `test -f 'xfsm-splash-rc.c' || echo '$(srcdir)/'`xfsm-splash-rc.c; \
+@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libxfsm_4_2_la-xfsm-splash-rc.Tpo" "$(DEPDIR)/libxfsm_4_2_la-xfsm-splash-rc.Plo"; else rm -f "$(DEPDIR)/libxfsm_4_2_la-xfsm-splash-rc.Tpo"; exit 1; fi
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='xfsm-splash-rc.c' object='libxfsm_4_2_la-xfsm-splash-rc.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/libxfsm_4_2_la-xfsm-splash-rc.Plo' tmpdepfile='$(DEPDIR)/libxfsm_4_2_la-xfsm-splash-rc.TPlo' @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libxfsm_4_2_la_CFLAGS) $(CFLAGS) -c -o libxfsm_4_2_la-xfsm-splash-rc.lo `test -f 'xfsm-splash-rc.c' || echo '$(srcdir)/'`xfsm-splash-rc.c
+
+libxfsm_4_2_la-xfsm-util.o: xfsm-util.c
+@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libxfsm_4_2_la_CFLAGS) $(CFLAGS) -MT libxfsm_4_2_la-xfsm-util.o -MD -MP -MF "$(DEPDIR)/libxfsm_4_2_la-xfsm-util.Tpo" -c -o libxfsm_4_2_la-xfsm-util.o `test -f 'xfsm-util.c' || echo '$(srcdir)/'`xfsm-util.c; \
+@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libxfsm_4_2_la-xfsm-util.Tpo" "$(DEPDIR)/libxfsm_4_2_la-xfsm-util.Po"; else rm -f "$(DEPDIR)/libxfsm_4_2_la-xfsm-util.Tpo"; exit 1; fi
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='xfsm-util.c' object='libxfsm_4_2_la-xfsm-util.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/libxfsm_4_2_la-xfsm-util.Po' tmpdepfile='$(DEPDIR)/libxfsm_4_2_la-xfsm-util.TPo' @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libxfsm_4_2_la_CFLAGS) $(CFLAGS) -c -o libxfsm_4_2_la-xfsm-util.o `test -f 'xfsm-util.c' || echo '$(srcdir)/'`xfsm-util.c
+
+libxfsm_4_2_la-xfsm-util.obj: xfsm-util.c
+@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libxfsm_4_2_la_CFLAGS) $(CFLAGS) -MT libxfsm_4_2_la-xfsm-util.obj -MD -MP -MF "$(DEPDIR)/libxfsm_4_2_la-xfsm-util.Tpo" -c -o libxfsm_4_2_la-xfsm-util.obj `if test -f 'xfsm-util.c'; then $(CYGPATH_W) 'xfsm-util.c'; else $(CYGPATH_W) '$(srcdir)/xfsm-util.c'; fi`; \
+@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libxfsm_4_2_la-xfsm-util.Tpo" "$(DEPDIR)/libxfsm_4_2_la-xfsm-util.Po"; else rm -f "$(DEPDIR)/libxfsm_4_2_la-xfsm-util.Tpo"; exit 1; fi
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='xfsm-util.c' object='libxfsm_4_2_la-xfsm-util.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/libxfsm_4_2_la-xfsm-util.Po' tmpdepfile='$(DEPDIR)/libxfsm_4_2_la-xfsm-util.TPo' @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libxfsm_4_2_la_CFLAGS) $(CFLAGS) -c -o libxfsm_4_2_la-xfsm-util.obj `if test -f 'xfsm-util.c'; then $(CYGPATH_W) 'xfsm-util.c'; else $(CYGPATH_W) '$(srcdir)/xfsm-util.c'; fi`
+
+libxfsm_4_2_la-xfsm-util.lo: xfsm-util.c
+@am__fastdepCC_TRUE@ if $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libxfsm_4_2_la_CFLAGS) $(CFLAGS) -MT libxfsm_4_2_la-xfsm-util.lo -MD -MP -MF "$(DEPDIR)/libxfsm_4_2_la-xfsm-util.Tpo" -c -o libxfsm_4_2_la-xfsm-util.lo `test -f 'xfsm-util.c' || echo '$(srcdir)/'`xfsm-util.c; \
+@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libxfsm_4_2_la-xfsm-util.Tpo" "$(DEPDIR)/libxfsm_4_2_la-xfsm-util.Plo"; else rm -f "$(DEPDIR)/libxfsm_4_2_la-xfsm-util.Tpo"; exit 1; fi
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='xfsm-util.c' object='libxfsm_4_2_la-xfsm-util.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/libxfsm_4_2_la-xfsm-util.Plo' tmpdepfile='$(DEPDIR)/libxfsm_4_2_la-xfsm-util.TPlo' @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libxfsm_4_2_la_CFLAGS) $(CFLAGS) -c -o libxfsm_4_2_la-xfsm-util.lo `test -f 'xfsm-util.c' || echo '$(srcdir)/'`xfsm-util.c
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+
+distclean-libtool:
+ -rm -f libtool
+uninstall-info-am:
+install-pkgconfigDATA: $(pkgconfig_DATA)
+ @$(NORMAL_INSTALL)
+ test -z "$(pkgconfigdir)" || $(mkdir_p) "$(DESTDIR)$(pkgconfigdir)"
+ @list='$(pkgconfig_DATA)'; for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ f="`echo $$p | sed -e 's|^.*/||'`"; \
+ echo " $(pkgconfigDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(pkgconfigdir)/$$f'"; \
+ $(pkgconfigDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgconfigdir)/$$f"; \
+ done
+
+uninstall-pkgconfigDATA:
+ @$(NORMAL_UNINSTALL)
+ @list='$(pkgconfig_DATA)'; for p in $$list; do \
+ f="`echo $$p | sed -e 's|^.*/||'`"; \
+ echo " rm -f '$(DESTDIR)$(pkgconfigdir)/$$f'"; \
+ rm -f "$(DESTDIR)$(pkgconfigdir)/$$f"; \
+ done
+install-libxfsmincludeHEADERS: $(libxfsminclude_HEADERS)
+ @$(NORMAL_INSTALL)
+ test -z "$(libxfsmincludedir)" || $(mkdir_p) "$(DESTDIR)$(libxfsmincludedir)"
+ @list='$(libxfsminclude_HEADERS)'; for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ f="`echo $$p | sed -e 's|^.*/||'`"; \
+ echo " $(libxfsmincludeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(libxfsmincludedir)/$$f'"; \
+ $(libxfsmincludeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(libxfsmincludedir)/$$f"; \
+ done
+
+uninstall-libxfsmincludeHEADERS:
+ @$(NORMAL_UNINSTALL)
+ @list='$(libxfsminclude_HEADERS)'; for p in $$list; do \
+ f="`echo $$p | sed -e 's|^.*/||'`"; \
+ echo " rm -f '$(DESTDIR)$(libxfsmincludedir)/$$f'"; \
+ rm -f "$(DESTDIR)$(libxfsmincludedir)/$$f"; \
+ done
+
+ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | \
+ $(AWK) ' { files[$$0] = 1; } \
+ END { for (i in files) print i; }'`; \
+ mkid -fID $$unique
+tags: TAGS
+
+TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
+ $(TAGS_FILES) $(LISP)
+ tags=; \
+ here=`pwd`; \
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | \
+ $(AWK) ' { files[$$0] = 1; } \
+ END { for (i in files) print i; }'`; \
+ test -z "$(ETAGS_ARGS)$$tags$$unique" \
+ || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ $$tags $$unique
+ctags: CTAGS
+CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
+ $(TAGS_FILES) $(LISP)
+ tags=; \
+ here=`pwd`; \
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | \
+ $(AWK) ' { files[$$0] = 1; } \
+ END { for (i in files) print i; }'`; \
+ test -z "$(CTAGS_ARGS)$$tags$$unique" \
+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
+ $$tags $$unique
+
+GTAGS:
+ here=`$(am__cd) $(top_builddir) && pwd` \
+ && cd $(top_srcdir) \
+ && gtags -i $(GTAGS_ARGS) $$here
+
+distclean-tags:
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+ list='$(DISTFILES)'; for file in $$list; do \
+ case $$file in \
+ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
+ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
+ esac; \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+ dir="/$$dir"; \
+ $(mkdir_p) "$(distdir)$$dir"; \
+ else \
+ dir=''; \
+ fi; \
+ if test -d $$d/$$file; then \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
+ fi; \
+ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
+ else \
+ test -f $(distdir)/$$file \
+ || cp -p $$d/$$file $(distdir)/$$file \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+check: check-am
+all-am: Makefile $(LTLIBRARIES) $(DATA) $(HEADERS)
+installdirs:
+ for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(libxfsmincludedir)"; do \
+ test -z "$$dir" || $(mkdir_p) "$$dir"; \
+ done
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ `test -z '$(STRIP)' || \
+ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -rm -f $(CONFIG_CLEAN_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \
+ mostlyclean-am
+
+distclean: distclean-am
+ -rm -rf ./$(DEPDIR)
+ -rm -f Makefile
+distclean-am: clean-am distclean-compile distclean-generic \
+ distclean-libtool distclean-tags
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+info: info-am
+
+info-am:
+
+install-data-am: install-libxfsmincludeHEADERS install-pkgconfigDATA
+
+install-exec-am: install-libLTLIBRARIES
+
+install-info: install-info-am
+
+install-man:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -rf ./$(DEPDIR)
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-compile mostlyclean-generic \
+ mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am: uninstall-info-am uninstall-libLTLIBRARIES \
+ uninstall-libxfsmincludeHEADERS uninstall-pkgconfigDATA
+
+.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
+ clean-libLTLIBRARIES clean-libtool ctags distclean \
+ distclean-compile distclean-generic distclean-libtool \
+ distclean-tags distdir dvi dvi-am html html-am info info-am \
+ install install-am install-data install-data-am install-exec \
+ install-exec-am install-info install-info-am \
+ install-libLTLIBRARIES install-libxfsmincludeHEADERS \
+ install-man install-pkgconfigDATA install-strip installcheck \
+ installcheck-am installdirs maintainer-clean \
+ maintainer-clean-generic mostlyclean mostlyclean-compile \
+ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+ tags uninstall uninstall-am uninstall-info-am \
+ uninstall-libLTLIBRARIES uninstall-libxfsmincludeHEADERS \
+ uninstall-pkgconfigDATA
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
diff --git a/libxfsm/xfce4-session-1.0.pc.in b/libxfsm/xfce4-session-1.0.pc.in
new file mode 100644
index 00000000..06cc2f0f
--- /dev/null
+++ b/libxfsm/xfce4-session-1.0.pc.in
@@ -0,0 +1,11 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: xfce4-session
+Description: Xfce 4 session manager
+Requires: libxfcegui4-1.0
+Version: @VERSION@
+Libs: -L${libdir} -lxfsm-4.2
+Cflags: -I${includedir}/xfce4/xfce4-session-4.2
diff --git a/libxfsm/xfsm-splash-engine.h b/libxfsm/xfsm-splash-engine.h
new file mode 100644
index 00000000..a5a4cf2e
--- /dev/null
+++ b/libxfsm/xfsm-splash-engine.h
@@ -0,0 +1,124 @@
+/* $Id$ */
+/*-
+ * Copyright (c) 2003-2004 Benedikt Meurer <benny@xfce.org>
+ * All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+ * 02111-1307, USA.
+ */
+
+#ifndef __XFSM_SPLASH_ENGINE_H__
+#define __XFSM_SPLASH_ENGINE_H__
+
+#include <time.h>
+
+#include <gtk/gtk.h>
+
+#include <libxfsm/xfsm-splash-rc.h>
+
+
+#define XFSM_CHOOSE_LOGOUT 0
+#define XFSM_CHOOSE_LOAD 1
+#define XFSM_CHOOSE_NEW 2
+
+
+typedef struct _XfsmSplashEngine XfsmSplashEngine;
+typedef struct _XfsmSplashConfig XfsmSplashConfig;
+typedef struct _XfsmSessionInfo XfsmSessionInfo;
+
+
+struct _XfsmSplashEngine
+{
+ /* provided by the session manager */
+ GdkDisplay *display;
+ GdkScreen *primary_screen;
+ int primary_monitor;
+
+
+ /* to be filled in by the engine */
+ gpointer user_data;
+
+ /* load config from rc and display the splash window */
+ void (*setup) (XfsmSplashEngine *engine,
+ XfsmSplashRc *rc);
+
+ /* tells the engine that the session will start now, where
+ steps is the approx. number of apps started in the session,
+ name is the name of the session and the preview at 52x42
+ (OPTIONAL) */
+ void (*start) (XfsmSplashEngine *engine,
+ const gchar *name,
+ GdkPixbuf *preview,
+ unsigned steps);
+
+ /* place, run, hide the dialog and return the result of the run.
+ override on demand (OPTIONAL) */
+ int (*run) (XfsmSplashEngine *engine,
+ GtkWidget *dialog);
+
+ /* display the text (OPTIONAL) */
+ void (*next) (XfsmSplashEngine *engine,
+ const gchar *text);
+
+ /* choose a session (OPTIONAL), should return XFSM_CHOOSE_* */
+ int (*choose) (XfsmSplashEngine *engine,
+ GList *sessions,
+ const gchar *default_session,
+ gchar **name_return);
+
+ void (*destroy) (XfsmSplashEngine *engine);
+
+ gpointer _reserved[8];
+};
+
+
+struct _XfsmSplashConfig
+{
+ /* provided by the session manager */
+ XfsmSplashRc *rc;
+
+
+ /* to be filled in by the config (freed by the session manager) */
+ gchar *name;
+ gchar *description;
+ gchar *version;
+ gchar *author;
+ gchar *homepage;
+
+ /* config internals (config is responsible for freeing during destroy) */
+ gpointer user_data;
+
+ /* generate preview for engine, should be 320x240! (OPTIONAL) */
+ GdkPixbuf *(*preview) (XfsmSplashConfig *config);
+
+ /* display a configuration dialog (OPTIONAL) */
+ void (*configure) (XfsmSplashConfig *config,
+ GtkWidget *parent);
+
+ void (*destroy) (XfsmSplashConfig *config);
+
+ gpointer _reserved[8];
+};
+
+
+struct _XfsmSessionInfo
+{
+ gchar *name; /* name of the session */
+ time_t atime; /* last access time */
+ GdkPixbuf *preview; /* preview icon (52x42) */
+};
+
+
+#endif /* !__XFSM_SPLASH_ENGINE_H__ */
diff --git a/libxfsm/xfsm-splash-rc.c b/libxfsm/xfsm-splash-rc.c
new file mode 100644
index 00000000..8215a895
--- /dev/null
+++ b/libxfsm/xfsm-splash-rc.c
@@ -0,0 +1,138 @@
+/* $Id$ */
+/*-
+ * Copyright (c) 2003-2004 Benedikt Meurer <benny@xfce.org>
+ * All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+ * 02111-1307, USA.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+#include <libxfsm/xfsm-splash-rc.h>
+
+
+struct _XfsmSplashRc
+{
+ gchar *group;
+ XfceRc *rc;
+};
+
+
+XfsmSplashRc*
+xfsm_splash_rc_new (XfceRc *rc,
+ const gchar *group)
+{
+ XfsmSplashRc *splash_rc;
+
+ splash_rc = g_new (XfsmSplashRc, 1);
+ splash_rc->group = g_strdup (group);
+ splash_rc->rc = rc;
+
+ return splash_rc;
+}
+
+
+const gchar*
+xfsm_splash_rc_read_entry (XfsmSplashRc *splash_rc,
+ const gchar *key,
+ const gchar *fallback)
+{
+ xfce_rc_set_group (splash_rc->rc, splash_rc->group);
+ return xfce_rc_read_entry (splash_rc->rc, key, fallback);
+}
+
+
+gint
+xfsm_splash_rc_read_int_entry (XfsmSplashRc *splash_rc,
+ const gchar *key,
+ gint fallback)
+{
+ xfce_rc_set_group (splash_rc->rc, splash_rc->group);
+ return xfce_rc_read_int_entry (splash_rc->rc, key, fallback);
+}
+
+
+gboolean
+xfsm_splash_rc_read_bool_entry (XfsmSplashRc *splash_rc,
+ const gchar *key,
+ gboolean fallback)
+{
+ xfce_rc_set_group (splash_rc->rc, splash_rc->group);
+ return xfce_rc_read_bool_entry (splash_rc->rc, key, fallback);
+}
+
+
+gchar**
+xfsm_splash_rc_read_list_entry (XfsmSplashRc *splash_rc,
+ const gchar *key,
+ const gchar *delimiter)
+{
+ xfce_rc_set_group (splash_rc->rc, splash_rc->group);
+ return xfce_rc_read_list_entry (splash_rc->rc, key, delimiter);
+}
+
+
+void
+xfsm_splash_rc_write_entry (XfsmSplashRc *splash_rc,
+ const gchar *key,
+ const gchar *value)
+{
+ xfce_rc_set_group (splash_rc->rc, splash_rc->group);
+ xfce_rc_write_entry (splash_rc->rc, key, value);
+}
+
+
+void
+xfsm_splash_rc_write_int_entry (XfsmSplashRc *splash_rc,
+ const gchar *key,
+ gint value)
+{
+ xfce_rc_set_group (splash_rc->rc, splash_rc->group);
+ xfce_rc_write_int_entry (splash_rc->rc, key, value);
+}
+
+
+void
+xfsm_splash_rc_write_bool_entry (XfsmSplashRc *splash_rc,
+ const gchar *key,
+ gboolean value)
+{
+ xfce_rc_set_group (splash_rc->rc, splash_rc->group);
+ xfce_rc_write_bool_entry (splash_rc->rc, key, value);
+}
+
+
+void
+xfsm_splash_rc_write_list_entry (XfsmSplashRc *splash_rc,
+ const gchar *key,
+ gchar **value,
+ const gchar *delimiter)
+{
+ xfce_rc_set_group (splash_rc->rc, splash_rc->group);
+ xfce_rc_write_list_entry (splash_rc->rc, key, value, delimiter);
+}
+
+
+void
+xfsm_splash_rc_free (XfsmSplashRc *splash_rc)
+{
+ g_free (splash_rc->group);
+ g_free (splash_rc);
+}
+
+
diff --git a/libxfsm/xfsm-splash-rc.h b/libxfsm/xfsm-splash-rc.h
new file mode 100644
index 00000000..4da0cf79
--- /dev/null
+++ b/libxfsm/xfsm-splash-rc.h
@@ -0,0 +1,76 @@
+/* $Id$ */
+/*-
+ * Copyright (c) 2003-2004 Benedikt Meurer <benny@xfce.org>
+ * All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+ * 02111-1307, USA.
+ */
+
+#ifndef __XFSM_SPLASH_RC_H__
+#define __XFSM_SPLASH_RC_H__
+
+#include <gmodule.h>
+#include <libxfce4util/libxfce4util.h>
+
+
+G_BEGIN_DECLS;
+
+typedef struct _XfsmSplashRc XfsmSplashRc;
+
+
+G_MODULE_IMPORT
+XfsmSplashRc *xfsm_splash_rc_new (XfceRc *rc,
+ const gchar *group);
+G_MODULE_IMPORT
+const gchar *xfsm_splash_rc_read_entry (XfsmSplashRc *splash_rc,
+ const gchar *key,
+ const gchar *fallback);
+G_MODULE_IMPORT
+gint xfsm_splash_rc_read_int_entry (XfsmSplashRc *splash_rc,
+ const gchar *key,
+ gint fallback);
+G_MODULE_IMPORT
+gboolean xfsm_splash_rc_read_bool_entry (XfsmSplashRc *splash_rc,
+ const gchar *key,
+ gboolean fallback);
+G_MODULE_IMPORT
+gchar **xfsm_splash_rc_read_list_entry (XfsmSplashRc *splash_rc,
+ const gchar *key,
+ const gchar *delimiter);
+G_MODULE_IMPORT
+void xfsm_splash_rc_write_entry (XfsmSplashRc *splash_rc,
+ const gchar *key,
+ const gchar *value);
+G_MODULE_IMPORT
+void xfsm_splash_rc_write_int_entry (XfsmSplashRc *splash_rc,
+ const gchar *key,
+ gint value);
+G_MODULE_IMPORT
+void xfsm_splash_rc_write_bool_entry (XfsmSplashRc *splash_rc,
+ const gchar *key,
+ gboolean value);
+G_MODULE_IMPORT
+void xfsm_splash_rc_write_list_entry (XfsmSplashRc *splash_rc,
+ const gchar *key,
+ gchar **value,
+ const gchar *delimiter);
+void xfsm_splash_rc_free (XfsmSplashRc *splash_rc);
+
+G_END_DECLS;
+
+
+#endif /* !__XFSM_SPLASH_RC_H__ */
+
diff --git a/libxfsm/xfsm-util.c b/libxfsm/xfsm-util.c
new file mode 100644
index 00000000..d5bc3c5e
--- /dev/null
+++ b/libxfsm/xfsm-util.c
@@ -0,0 +1,242 @@
+/* $Id$ */
+/*-
+ * Copyright (c) 2003-2004 Benedikt Meurer <benny@xfce.org>
+ * Copyright (c) 2004 Jasper Huijsmans <jasper@xfce.org>
+ * All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+ * 02111-1307, USA.
+ *
+ * Parts of this file where taken from gnome-session/gsm-multiscreen.c,
+ * which was written by Mark McLoughlin <mark@skynet.ie>.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+#ifdef HAVE_MEMORY_H
+#include <memory.h>
+#endif
+#ifdef HAVE_STRING_H
+#include <string.h>
+#endif
+
+#include <X11/Xlib.h>
+
+#include <gdk/gdkx.h>
+
+#include <libxfcegui4/libxfcegui4.h>
+
+#include <libxfsm/xfsm-util.h>
+
+
+GtkWidget *
+xfsm_imgbtn_new(const gchar *text, const gchar *icon, GtkWidget **label_ret)
+{
+ GtkWidget *button;
+ GtkWidget *align;
+ GtkWidget *image;
+ GtkWidget *hbox;
+ GtkWidget *label;
+
+ button = gtk_button_new();
+
+ align = gtk_alignment_new(0.5f, 0.5f, 0.0f, 0.0f);
+ gtk_container_add(GTK_CONTAINER(button), align);
+ gtk_widget_show(align);
+
+ hbox = gtk_hbox_new(FALSE, 0);
+ gtk_container_add(GTK_CONTAINER(align), hbox);
+ gtk_widget_show(hbox);
+
+ image = gtk_image_new_from_stock(icon, GTK_ICON_SIZE_BUTTON);
+ gtk_box_pack_start(GTK_BOX(hbox), image, FALSE, FALSE, 2);
+ gtk_widget_show(image);
+
+ label = gtk_label_new_with_mnemonic(text);
+ gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 2);
+ gtk_widget_show(label);
+
+ if (label_ret != NULL)
+ *label_ret = label;
+
+ return button;
+}
+
+
+gboolean
+xfsm_start_application (gchar **command,
+ gchar **environment,
+ GdkScreen *screen,
+ const gchar *current_directory,
+ const gchar *client_machine,
+ const gchar *user_id)
+{
+ gboolean result;
+ gchar *screen_name;
+ gchar **argv;
+ gint argc;
+ gint size;
+
+ g_return_val_if_fail (command != NULL && *command != NULL, FALSE);
+
+ argv = g_new (gchar *, 21);
+ size = 20;
+ argc = 0;
+
+ if (client_machine != NULL)
+ {
+ /* setting current directory on a remote machine is not supported */
+ current_directory = NULL;
+
+ argv[argc++] = g_strdup ("xon");
+ argv[argc++] = g_strdup (client_machine);
+ }
+
+ if (screen != NULL)
+ {
+ if (client_machine != NULL)
+ screen_name = xfce_gdk_screen_get_fullname (screen);
+ else
+ screen_name = gdk_screen_make_display_name (screen);
+ argv[argc++] = g_strdup ("env");
+ argv[argc++] = g_strdup_printf ("DISPLAY=%s", screen_name);
+ g_free (screen_name);
+ }
+
+ for (; *command != NULL; ++command)
+ {
+ if (argc == size)
+ {
+ size *= 2;
+ argv = g_realloc (argv, (size + 1) * sizeof (*argv));
+ }
+
+ argv[argc++] = xfce_expand_variables (*command, environment);
+ }
+
+ argv[argc] = NULL;
+
+ result = g_spawn_async (current_directory,
+ argv,
+ environment,
+ G_SPAWN_LEAVE_DESCRIPTORS_OPEN | G_SPAWN_SEARCH_PATH,
+ NULL,
+ NULL,
+ NULL,
+ NULL);
+
+ g_strfreev (argv);
+
+ return result;
+}
+
+
+void
+xfsm_place_trash_window (GtkWindow *window,
+ GdkScreen *screen,
+ gint monitor)
+{
+ GtkRequisition requisition;
+ GdkRectangle geometry;
+
+ gdk_screen_get_monitor_geometry (screen, monitor, &geometry);
+ gtk_widget_size_request (GTK_WIDGET (window), &requisition);
+
+ gtk_window_move (window, 0, geometry.height - requisition.height);
+}
+
+
+gchar**
+xfsm_strv_copy (gchar **v)
+{
+ gchar **rv;
+ gsize len;
+ gsize n;
+
+ for (len = 0; v[len] != NULL; ++len) ;
+
+ rv = g_new (gchar *, len + 1);
+ for (n = 0; n < len; ++n)
+ rv[n] = g_strdup (v[n]);
+ rv[n] = NULL;
+
+ return rv;
+}
+
+
+gboolean
+xfsm_strv_equal (gchar **a, gchar **b)
+{
+ if ((a == NULL && b != NULL) || (a != NULL && b == NULL))
+ return FALSE;
+ else if (a == NULL || b == NULL)
+ return TRUE;
+
+ while (*a != NULL && *b != NULL)
+ {
+ if (strcmp (*a, *b) != 0)
+ return FALSE;
+
+ ++a;
+ ++b;
+ }
+
+ return (*a == NULL && *b == NULL);
+}
+
+
+void
+xfsm_window_add_border (GtkWindow *window)
+{
+ GtkWidget *box1, *box2;
+
+ box1 = gtk_event_box_new ();
+ gtk_widget_modify_bg (box1, GTK_STATE_NORMAL,
+ &(box1->style->bg [GTK_STATE_SELECTED]));
+ gtk_widget_show (box1);
+
+ box2 = gtk_event_box_new ();
+ gtk_widget_show (box2);
+ gtk_container_add (GTK_CONTAINER (box1), box2);
+
+ gtk_container_set_border_width (GTK_CONTAINER (box2), 3);
+ gtk_widget_reparent (GTK_BIN (window)->child, box2);
+
+ gtk_container_add (GTK_CONTAINER (window), box1);
+}
+
+
+void
+xfsm_window_grab_input (GtkWindow *window)
+{
+ GdkWindow *xwindow = GTK_WIDGET (window)->window;
+
+ gdk_pointer_grab (xwindow, TRUE, 0, NULL, NULL, GDK_CURRENT_TIME);
+ gdk_keyboard_grab (xwindow, FALSE, GDK_CURRENT_TIME);
+ XSetInputFocus (GDK_DISPLAY (), GDK_WINDOW_XWINDOW (xwindow),
+ RevertToParent, CurrentTime);
+}
+
+
+XfceRc*
+xfsm_open_config (gboolean readonly)
+{
+ return xfce_rc_config_open (XFCE_RESOURCE_CONFIG,
+ "xfce4-session/xfce4-session.rc",
+ readonly);
+}
+
diff --git a/libxfsm/xfsm-util.h b/libxfsm/xfsm-util.h
new file mode 100644
index 00000000..c38e1ec9
--- /dev/null
+++ b/libxfsm/xfsm-util.h
@@ -0,0 +1,56 @@
+/* $Id$ */
+/*-
+ * Copyright (c) 2003-2004 Benedikt Meurer <benny@xfce.org>
+ * All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+ * 02111-1307, USA.
+ */
+
+#ifndef __XFSM_UTIL_H__
+#define __XFSM_UTIL_H__
+
+#include <gtk/gtk.h>
+
+#include <libxfce4util/libxfce4util.h>
+
+G_BEGIN_DECLS;
+
+GtkWidget *xfsm_imgbtn_new(const gchar *, const gchar *, GtkWidget **);
+
+gboolean xfsm_start_application (gchar **command,
+ gchar **environment,
+ GdkScreen *screen,
+ const gchar *current_directory,
+ const gchar *client_machine,
+ const gchar *user_id);
+
+void xfsm_place_trash_window (GtkWindow *window,
+ GdkScreen *screen,
+ gint monitor);
+
+/* XXX - move to libxfce4util? */
+gchar **xfsm_strv_copy (gchar **v);
+gboolean xfsm_strv_equal (gchar **a, gchar **b);
+
+void xfsm_window_add_border (GtkWindow *window);
+
+void xfsm_window_grab_input (GtkWindow *window);
+
+XfceRc *xfsm_open_config (gboolean readonly);
+
+G_END_DECLS;
+
+#endif /* !__XFSM_UTIL_H__ */