]> err.no Git - sope/blob - gnustep-make/clean_os.sh
added -increaseSequence
[sope] / gnustep-make / clean_os.sh
1 #!/bin/sh
2 #
3 #   clean_os.sh
4 #
5 #   Clean up the target OS name for GNUstep.
6 #
7 #   Copyright (C) 1997 Free Software Foundation, Inc.
8 #
9 #   Author:  Scott Christley <scottc@net-community.com>
10 #
11 #   This file is part of the GNUstep Makefile Package.
12 #
13 #   This library is free software; you can redistribute it and/or
14 #   modify it under the terms of the GNU General Public License
15 #   as published by the Free Software Foundation; either version 2
16 #   of the License, or (at your option) any later version.
17 #   
18 #   You should have received a copy of the GNU General Public
19 #   License along with this library; see the file COPYING.LIB.
20 #   If not, write to the Free Software Foundation,
21 #   59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
22
23 # Nothing to clean right now
24 case "$1" in
25     # Remove version number for FreeBSD
26     freebsd2*)
27         echo freebsdaout
28         exit 0
29         ;;
30     freebsd*)
31         echo freebsd
32         exit 0
33         ;;
34     # Remove version number for NetBSD ELF targets
35     netbsdelf* | netbsd1.6* | netbsd2*)
36         echo netbsdelf
37         exit 0
38         ;;
39     # Remove version number for Darwin
40     darwin7*)
41         echo darwin7
42         exit 0
43         ;;
44     darwin6*)
45         echo darwin6
46         exit 0
47         ;;
48     darwin5*)
49         echo darwin5
50         exit 0
51         ;;
52     *)
53         echo $1
54         exit 0
55         ;;
56 esac