mirror of
https://github.com/gnustep/tools-make.git
synced 2025-04-22 13:50:47 +00:00
63 lines
1.3 KiB
Bash
63 lines
1.3 KiB
Bash
|
#
|
||
|
# 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
|
||
|
|
||
|
#
|
||
|
# GCC environment variables
|
||
|
#
|
||
|
GCC_EXEC_PREFIX=$GNUSTEP_SYSTEM_ROOT/Libraries/$GNUSTEP_HOST_CPU/$GNUSTEP_HOST_OS/gcc-lib/
|
||
|
|
||
|
export GCC_EXEC_PREFIX
|
||
|
|
||
|
#
|
||
|
# 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
|