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