mirror of
https://github.com/gnustep/tools-make.git
synced 2025-04-22 05:40:48 +00:00
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@9315 72102866-910b-0410-8b05-ffd578937521
38 lines
946 B
Bash
Executable file
38 lines
946 B
Bash
Executable file
#!/bin/sh
|
|
#
|
|
# clean_cpu.sh
|
|
#
|
|
# Clean up the target cpu name.
|
|
#
|
|
# Copyright (C) 1997 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.
|
|
|
|
case "$1" in
|
|
# Intel processors are made equivalent
|
|
i[3456]86)
|
|
echo ix86
|
|
exit 0
|
|
;;
|
|
# Make all alpha variants the same
|
|
alpha*)
|
|
echo alpha
|
|
exit 0
|
|
;;
|
|
*)
|
|
echo $1
|
|
exit 0
|
|
;;
|
|
esac
|