mirror of
https://github.com/gnustep/tools-make.git
synced 2025-04-22 13:50:47 +00:00
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
66 lines
2.1 KiB
Tcsh
Executable file
66 lines
2.1 KiB
Tcsh
Executable file
#!/bin/csh
|
|
#
|
|
# ld_lib_path.csh
|
|
#
|
|
# Return the name of the environment variable for the operating
|
|
# system that is used by the dynamic loader.
|
|
#
|
|
# Copyright (C) 1998 Free Software Foundation, Inc.
|
|
#
|
|
# Author: Scott Christley <scottc@net-community.com>
|
|
# Author: Ovidiu Predescu <ovidiu@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.
|
|
#
|
|
|
|
# The first (and only) parameter to this script is the canonical
|
|
# operating system name.
|
|
|
|
set last_path_part="Libraries/${GNUSTEP_HOST_CPU}/${GNUSTEP_HOST_OS}/${LIBRARY_COMBO}"
|
|
|
|
set host_os=${GNUSTEP_HOST_OS}
|
|
|
|
if ( "${host_os}" == "" ) then
|
|
set host_os=${1}
|
|
endif
|
|
|
|
switch ( "${host_os}" )
|
|
|
|
case *nextstep4* :
|
|
setenv DYLD_LIBRARY_PATH "${GNUSTEP_USER_ROOT}/${last_path_part}:${GNUSTEP_LOCAL_ROOT}/${last_path_part}:${GNUSTEP_SYSTEM_ROOT}/${last_path_part}:${DYLD_LIBRARY_PATH}"
|
|
if ( "${additional_library_paths}" != "" ) then
|
|
foreach dir (${additional_library_paths})
|
|
set additional="${additional}${dir}:"
|
|
end
|
|
endif
|
|
|
|
if ( "${?additional}" == "1" ) then
|
|
setenv DYLD_LIBRARY_PATH="${additional}${DYLD_LIBRARY_PATH}"
|
|
endif
|
|
breaksw
|
|
|
|
case * :
|
|
setenv LD_LIBRARY_PATH "${GNUSTEP_USER_ROOT}/${last_path_part}:${GNUSTEP_LOCAL_ROOT}/${last_path_part}:${GNUSTEP_SYSTEM_ROOT}/${last_path_part}:${LD_LIBRARY_PATH}"
|
|
if ( "${additional_library_paths}" != ) then
|
|
foreach dir (${additional_library_paths})
|
|
set additional="${additional}${dir}:"
|
|
end
|
|
endif
|
|
|
|
if ( "${?additional}" == "1" ) then
|
|
setenv LD_LIBRARY_PATH="${additional}${LD_LIBRARY_PATH}"
|
|
endif
|
|
breaksw
|
|
|
|
endsw
|
|
|