mirror of
https://github.com/gnustep/tools-make.git
synced 2025-05-06 03:40:44 +00:00
Have debugapp determine host information if necessary.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@2635 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
4671af8ef2
commit
49d14bdfd9
2 changed files with 24 additions and 0 deletions
|
@ -2,6 +2,7 @@ Thu Nov 13 15:08:13 1997 Scott Christley <scottc@net-community.com>
|
||||||
|
|
||||||
* rules.make: Replace dash with underscore for type not target.
|
* rules.make: Replace dash with underscore for type not target.
|
||||||
* openapp.in: Determine host information if necessary.
|
* openapp.in: Determine host information if necessary.
|
||||||
|
* debugapp.in: Determine host information if necessary.
|
||||||
* MediaBook.sh: Save original variables.
|
* MediaBook.sh: Save original variables.
|
||||||
* config.site (bindirtop): Define.
|
* config.site (bindirtop): Define.
|
||||||
* MediaBook.func (hostinfo, assignpaths): New functions.
|
* MediaBook.func (hostinfo, assignpaths): New functions.
|
||||||
|
|
23
debugapp.in
23
debugapp.in
|
@ -70,6 +70,29 @@ if [ -f "$full_appname/library_paths.openapp" ]; then
|
||||||
additional_library_paths="`cat $full_appname/library_paths.openapp`"
|
additional_library_paths="`cat $full_appname/library_paths.openapp`"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
#
|
||||||
|
# Determine the host information
|
||||||
|
#
|
||||||
|
if [ -z "$GNUSTEP_HOST" ]; then
|
||||||
|
GNUSTEP_HOST=`$GNUSTEP_SYSTEM_ROOT/Makefiles/config.guess`
|
||||||
|
export GNUSTEP_HOST
|
||||||
|
fi
|
||||||
|
if [ -z "$GNUSTEP_HOST_CPU" ]; then
|
||||||
|
GNUSTEP_HOST_CPU=`$GNUSTEP_SYSTEM_ROOT/Makefiles/cpu.sh $GNUSTEP_HOST`
|
||||||
|
GNUSTEP_HOST_CPU=`$GNUSTEP_SYSTEM_ROOT/Makefiles/clean_cpu.sh $GNUSTEP_HOST_CPU`
|
||||||
|
export GNUSTEP_HOST_CPU
|
||||||
|
fi
|
||||||
|
if [ -z "$GNUSTEP_HOST_VENDOR" ]; then
|
||||||
|
GNUSTEP_HOST_VENDOR=`$GNUSTEP_SYSTEM_ROOT/Makefiles/vendor.sh $GNUSTEP_HOST`
|
||||||
|
GNUSTEP_HOST_VENDOR=`$GNUSTEP_SYSTEM_ROOT/Makefiles/clean_vendor.sh $GNUSTEP_HOST_VENDOR`
|
||||||
|
export GNUSTEP_HOST_VENDOR
|
||||||
|
fi
|
||||||
|
if [ -z "$GNUSTEP_HOST_OS" ]; then
|
||||||
|
GNUSTEP_HOST_OS=`$GNUSTEP_SYSTEM_ROOT/Makefiles/os.sh $GNUSTEP_HOST`
|
||||||
|
GNUSTEP_HOST_OS=`$GNUSTEP_SYSTEM_ROOT/Makefiles/clean_os.sh $GNUSTEP_HOST_OS`
|
||||||
|
export GNUSTEP_HOST_OS
|
||||||
|
fi
|
||||||
|
|
||||||
appname=`echo $app | sed 's/\.[a-z]*$//'`
|
appname=`echo $app | sed 's/\.[a-z]*$//'`
|
||||||
. $GNUSTEP_SYSTEM_ROOT/Makefiles/ld_lib_path.sh
|
. $GNUSTEP_SYSTEM_ROOT/Makefiles/ld_lib_path.sh
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue