grub2: bring back build of aros-side grub2 tools
[AROS.git] / workbench / classes / zune / betterstring / mcc / version.h
blob5e46600b67923fece9261decc83f7453c4dbc993
1 /***************************************************************************
3 BetterString.mcc - A better String gadget MUI Custom Class
4 Copyright (C) 1997-2000 Allan Odgaard
5 Copyright (C) 2005-2013 by BetterString.mcc Open Source Team
7 This library is free software; you can redistribute it and/or
8 modify it under the terms of the GNU Lesser General Public
9 License as published by the Free Software Foundation; either
10 version 2.1 of the License, or (at your option) any later version.
12 This library is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 Lesser General Public License for more details.
17 BetterString class Support Site: http://www.sf.net/projects/bstring-mcc/
19 $Id$
21 ***************************************************************************/
23 #ifndef _VERSION_H_
24 #define _VERSION_H_
26 // transforms a define into a string
27 #define STR(x) STR2(x)
28 #define STR2(x) #x
30 // for setting all necessary version information
31 #define LIB_VERSION 11
32 #define LIB_REVISION 28
33 #define LIB_DATE "04.04.2014"
34 #define LIB_COPYRIGHT "Copyright (C) 2005-2014 BetterString.mcc Open Source Team"
36 // set the LIB_REV_STRING
37 #define LIB_REV_STRING STR(LIB_VERSION) "." STR(LIB_REVISION)
39 // identify the system we are compiling for
40 #if defined(__amigaos4__)
41 #define SYSTEM "AmigaOS4"
42 #define SYSTEMSHORT "OS4"
43 #elif defined(__MORPHOS__)
44 #define SYSTEM "MorphOS"
45 #define SYSTEMSHORT "MOS"
46 #elif defined(__AROS__)
47 #define SYSTEM "AROS"
48 #define SYSTEMSHORT SYSTEM
49 #elif defined(__AMIGA__)
50 #define SYSTEM "AmigaOS3"
51 #define SYSTEMSHORT "OS3"
52 #else
53 #warning "Unsupported System - check SYSTEM define"
54 #define SYSTEM "???"
55 #define SYSTEMSHORT "???"
56 #endif
58 // identify the CPU model
59 #if defined(__PPC__) || defined(__powerpc__)
60 #define CPU "PPC"
61 #elif defined(_M68060) || defined(__M68060) || defined(__mc68060)
62 #define CPU "m68060"
63 #elif defined(_M68040) || defined(__M68040) || defined(__mc68040)
64 #define CPU "m68040"
65 #elif defined(_M68030) || defined(__M68030) || defined(__mc68030)
66 #define CPU "m68030"
67 #elif defined(_M68020) || defined(__M68020) || defined(__mc68020)
68 #define CPU "m68k"
69 #elif defined(_M68000) || defined(__M68000) || defined(__mc68000)
70 #define CPU "m68000"
71 #elif defined(__i386__)
72 #define CPU "x86"
73 #elif defined(__x86_64__)
74 #define CPU "x86_64"
75 #elif defined(__arm__)
76 #define CPU "ARM"
77 #else
78 #warning "Unsupported CPU model - check CPU define"
79 #define CPU "???"
80 #endif
82 #endif // _VERSION_H_