tools-make/GNUstep.csh.in
Scott Christley f70b83b05a * GNUmakefile.in: install/uninstall new files; create full
target subdirectories.
	* GNUstep.sh.in: Add shell magic name.
	* MediaBook.sh: Likewise.
	* clean_cpu.sh: Likewise.
	* clean_os.sh: Likewise.
	* clean_vendor.sh: Likewise.

	* Add csh support.
	* GNUstep.csh.in: New file.
	* ld_lib_path.csh: New file.
	* configure.in: Add GNUstep.csh.in to output files
	* configure: Regenerate.

	* Add documentation support.
	* documentation.make: New file.
	* common.make: Define documentation variables.
	* rules.make: Pass documentation variables to sub-makes.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@2784 72102866-910b-0410-8b05-ffd578937521
1998-04-06 03:01:59 +00:00

64 lines
2.3 KiB
Tcsh
Executable file

#!/bin/csh
#
# GNUstep.csh.in
#
# Shell initialization for the GNUstep environment.
#
# Copyright (C) 1998 Free Software Foundation, Inc.
#
# Author: Scott Christley <scottc@net-community.com>
#
# This file is part of the GNUstep Makefile Package.
#
# This library 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
# of the License, or (at your option) any later version.
#
# You should have received a copy of the GNU General Public
# License along with this library; see the file COPYING.LIB.
# If not, write to the Free Software Foundation,
# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
#
# Set the GNUstep system root and local root
#
setenv GNUSTEP_SYSTEM_ROOT @prefix@
setenv LIBRARY_COMBO @ac_cv_library_combo@
setenv GNUSTEP_LOCAL_ROOT @prefix@/Local
setenv GNUSTEP_USER_ROOT ~/GNUstep
#
# Determine the host information
#
setenv GNUSTEP_HOST `$GNUSTEP_SYSTEM_ROOT/Makefiles/config.guess`
setenv GNUSTEP_HOST_CPU `$GNUSTEP_SYSTEM_ROOT/Makefiles/cpu.sh $GNUSTEP_HOST`
setenv GNUSTEP_HOST_VENDOR `$GNUSTEP_SYSTEM_ROOT/Makefiles/vendor.sh $GNUSTEP_HOST`
setenv GNUSTEP_HOST_OS `$GNUSTEP_SYSTEM_ROOT/Makefiles/os.sh $GNUSTEP_HOST`
# Clean the host
setenv GNUSTEP_HOST_CPU `$GNUSTEP_SYSTEM_ROOT/Makefiles/clean_cpu.sh $GNUSTEP_HOST_CPU`
setenv GNUSTEP_HOST_VENDOR `$GNUSTEP_SYSTEM_ROOT/Makefiles/clean_vendor.sh $GNUSTEP_HOST_VENDOR`
setenv GNUSTEP_HOST_OS `$GNUSTEP_SYSTEM_ROOT/Makefiles/clean_os.sh $GNUSTEP_HOST_OS`
#
# Add the GNUstep tools directories to the path
#
setenv PATH $GNUSTEP_SYSTEM_ROOT/Tools:$PATH
setenv PATH $GNUSTEP_SYSTEM_ROOT/Tools/$GNUSTEP_HOST_CPU/$GNUSTEP_HOST_OS/$LIBRARY_COMBO:$PATH
setenv PATH $GNUSTEP_SYSTEM_ROOT/Tools/$GNUSTEP_HOST_CPU/$GNUSTEP_HOST_OS:$PATH
setenv PATH $GNUSTEP_LOCAL_ROOT/Tools/$GNUSTEP_HOST_CPU/$GNUSTEP_HOST_OS/$LIBRARY_COMBO:$PATH
setenv PATH $GNUSTEP_LOCAL_ROOT/Tools/$GNUSTEP_HOST_CPU/$GNUSTEP_HOST_OS:$PATH
setenv PATH $GNUSTEP_USER_ROOT/Tools/$GNUSTEP_HOST_CPU/$GNUSTEP_HOST_OS/$LIBRARY_COMBO:$PATH
setenv PATH $GNUSTEP_USER_ROOT/Tools/$GNUSTEP_HOST_CPU/$GNUSTEP_HOST_OS:$PATH
source $GNUSTEP_SYSTEM_ROOT/Makefiles/ld_lib_path.csh
#
# Perform any user initialization
#
if ( -e ~/.GNUstep/GNUstep.csh ) then
. ~/.GNUstep/GNUstep.csh
endif