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
20 ***************************************************************************/
25 // transforms a define into a string
26 #define STR(x) STR2(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__)
47 #define SYSTEMSHORT SYSTEM
48 #elif defined(__AMIGA__)
49 #define SYSTEM "AmigaOS3"
50 #define SYSTEMSHORT "OS3"
52 #warning "Unsupported System - check SYSTEM define"
54 #define SYSTEMSHORT "???"
57 // identify the CPU model
60 #elif defined(__PPC__) || defined(__powerpc__)
62 #elif defined(_M68060) || defined(__M68060) || defined(__mc68060)
64 #elif defined(_M68040) || defined(__M68040) || defined(__mc68040)
66 #elif defined(_M68030) || defined(__M68030) || defined(__mc68030)
68 #elif defined(_M68020) || defined(__M68020) || defined(__mc68020)
70 #elif defined(_M68000) || defined(__M68000) || defined(__mc68000)
72 #elif defined(__i386__)
74 #elif defined(__x86_64__)
77 #warning "Unsupported CPU model - check CPU define"