summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorAlan Coopersmith <Alan.Coopersmith@sun.com>2005-11-08 07:50:12 +0000
committerAlan Coopersmith <Alan.Coopersmith@sun.com>2005-11-08 07:50:12 +0000
commit515ba1756966081ca3fae0cdd5a776f5a4fc6ad1 (patch)
tree0edecfd8a1af1e40bb443bcd52aeea7b4c7436a7 /config
parent3834f880ba013be524cd5b4ce4ff75734742ad12 (diff)
Changes to match bug #3180 checkin to monolith:
Generate Xsession from Xsession.cpp Add SHELL_CMD to cpp substitutions configure.ac Set SHELL_CMD to /bin/ksh for sco, /bin/sh for all other OS'es.
Diffstat (limited to 'config')
-rw-r--r--config/Makefile.am14
1 files changed, 9 insertions, 5 deletions
diff --git a/config/Makefile.am b/config/Makefile.am
index eae6261..1650cf3 100644
--- a/config/Makefile.am
+++ b/config/Makefile.am
@@ -14,8 +14,10 @@ xdmconfig_DATA = \
Xresources \
Xservers
+xdmlib_SCRIPTS = \
+ Xsession
+
dist_xdmlib_SCRIPTS = \
- Xsession \
GiveConsole \
TakeConsole \
Xsetup_0 \
@@ -27,11 +29,12 @@ pixmapdir = $(XDM_PIXMAPDIR)
dist_pixmap_DATA = xorg-bw.xpm xorg.xpm
-BUILT_SOURCES = Xservers.ws xdm-config Xresources
+BUILT_SOURCES = Xservers.ws xdm-config Xresources Xsession
-CLEANFILES = $(BUILT_SOURCES) Xservers Xservers.ws xdm-config Xresources
+CLEANFILES = $(BUILT_SOURCES) Xservers
-EXTRA_DIST = Xservers.ws.cpp xdm-config.cpp Xresources.cpp Xservers.fs
+EXTRA_DIST = Xservers.ws.cpp Xservers.fs \
+ xdm-config.cpp Xresources.cpp Xsession.cpp
Xservers: Xservers.$(SERVERSTYPE)
ln -s Xservers.$(SERVERSTYPE) Xservers
@@ -46,7 +49,8 @@ XPMDEFINES = -DXPM -DBITMAPDIR=$(XDM_PIXMAPDIR) -DXDM_PIXMAP=$(XDM_PIXMAP) \
CPP_FILES_FLAGS = -DBINDIR=$(bindir) -DDEFAULTVT=$(DEFAULTVT) \
-DXDMDIR=$(XDMLIBDIR) -DXDMLOGDIR=$(XDMLOGDIR) \
-DXDMPIDDIR=$(XDMPIDDIR) -DXDMCONFIGDIR=$(XDMCONFIGDIR) \
- -DSU=$(SU) -DCHOOSERPATH=$(XDMLIBDIR)/chooser $(XPMDEFINES)
+ -DSU=$(SU) -DCHOOSERPATH=$(XDMLIBDIR)/chooser $(XPMDEFINES) \
+ -DSHELL_CMD=$(SHELL_CMD)
Xservers.ws: $(srcdir)/Xservers.ws.cpp
$(RAWCPP) $(RAWCPPFLAGS) $(CPP_FILES_FLAGS) < $(srcdir)/Xservers.ws.cpp | $(CPP_SED_MAGIC) > $@