Fixed building of catalogs.
[AROS.git] / workbench / classes / zune / nlist / nbalance_mcc / version.h
blob5229483a01c8a6252b9577a6dc0903226de87144
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 16
32 #define LIB_DATE "25.04.2013"
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(__PPC__) || defined(__powerpc__)
59 #define CPU "PPC"
60 #elif defined(_M68060) || defined(__M68060) || defined(__mc68060)
61 #define CPU "m68060"
62 #elif defined(_M68040) || defined(__M68040) || defined(__mc68040)
63 #define CPU "m68040"
64 #elif defined(_M68030) || defined(__M68030) || defined(__mc68030)
65 #define CPU "m68030"
66 #elif defined(_M68020) || defined(__M68020) || defined(__mc68020)
67 #define CPU "m68k"
68 #elif defined(_M68000) || defined(__M68000) || defined(__mc68000)
69 #define CPU "m68000"
70 #elif defined(__i386__)
71 #define CPU "x86"
72 #elif defined(__x86_64__)
73 #define CPU "x86_64"
74 #else
75 #warning "Unsupported CPU model - check CPU define"
76 #define CPU "???"
77 #endif
79 #endif // _VERSION_H_