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