tools-make/clean_os.sh
Adam Fedor e1c31a72de * target.make (netbsd): Remove static libs version of netbsd
target and make (netbsdelf) work for all netbsd versions.
* clean_os.sh: Don't clean netbsd targets. Fixes Bug #14635.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@21839 72102866-910b-0410-8b05-ffd578937521
2005-10-17 20:31:39 +00:00

51 lines
1.2 KiB
Bash
Executable file

#!/bin/sh
#
# clean_os.sh
#
# Clean up the target OS name for GNUstep.
#
# 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,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# Nothing to clean right now
case "$1" in
# Remove version number for FreeBSD
freebsd2*)
echo freebsdaout
exit 0
;;
freebsd*)
echo freebsd
exit 0
;;
# Remove version number for Darwin
darwin7*)
echo darwin7
exit 0
;;
darwin6*)
echo darwin6
exit 0
;;
darwin5*)
echo darwin5
exit 0
;;
*)
echo $1
exit 0
;;
esac