1998-05-28 06:56:11 +00:00
|
|
|
#! /bin/sh
|
1997-09-22 22:49:02 +00:00
|
|
|
#
|
|
|
|
# MediaBook.sh
|
|
|
|
#
|
|
|
|
# Variable initialization for the MediaBook environment
|
|
|
|
#
|
|
|
|
# Copyright (C) 1997 NET-Community
|
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
#
|
|
|
|
|
|
|
|
if [ -z $1 ]; then
|
|
|
|
MB_ROOT=~
|
|
|
|
else
|
|
|
|
MB_ROOT=$1
|
|
|
|
fi
|
|
|
|
|
|
|
|
export MB_ROOT
|
|
|
|
|
|
|
|
#
|
1997-11-14 01:03:10 +00:00
|
|
|
# Save the original environment variables
|
1997-09-22 22:49:02 +00:00
|
|
|
#
|
1997-11-14 01:03:10 +00:00
|
|
|
MB_ORIG_PATH=$PATH
|
|
|
|
MB_ORIG_LD_LIBRARY_PATH=$LD_LIBRARY_PATH
|
|
|
|
|
|
|
|
export MB_ORIG_PATH MB_PROD_LD_LIBRARY_PATH
|
1997-09-22 22:49:02 +00:00
|
|
|
|
1997-11-14 01:03:10 +00:00
|
|
|
#
|
|
|
|
# GCC environment variables
|
1999-02-18 06:22:33 +00:00
|
|
|
# we will use this for hosting Project Center
|
1997-11-14 01:03:10 +00:00
|
|
|
#
|
|
|
|
#GCC_EXEC_PREFIX=$GNUSTEP_SYSTEM_ROOT/Libraries/$GNUSTEP_HOST_CPU/$GNUSTEP_HOST_OS/gcc-lib/
|
|
|
|
#export GCC_EXEC_PREFIX
|
1997-09-22 22:49:02 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# variables for current system directories
|
|
|
|
#
|
|
|
|
MB_SYS=
|
|
|
|
MB_CUR=
|
|
|
|
MB_CUR_SYS=
|
|
|
|
MB_CUR_TOP=
|
|
|
|
MB_CUR_VER=
|
|
|
|
MB_CUR_SOU=
|
|
|
|
MB_CUR_H=
|
|
|
|
MB_CUR_TST=
|
|
|
|
MB_CUR_DOC=
|
|
|
|
MB_CUR_BIN=
|
|
|
|
|
|
|
|
export MB_SYS MB_CUR
|
|
|
|
export MB_CUR_SYS MB_CUR_TOP
|
|
|
|
export MB_CUR_VER MB_CUR_SOU MB_CUR_H MB_CUR_TST MB_CUR_DOC MB_CUR_BIN
|
|
|
|
|
|
|
|
#
|
|
|
|
# Perform any user initialization
|
|
|
|
#
|
|
|
|
if [ -e ~/MB.init ]
|
|
|
|
then
|
|
|
|
. ~/MB.init
|
|
|
|
fi
|