grub2: bring back build of aros-side grub2 tools
[AROS.git] / workbench / libs / codesets / src / version.h
blob730538c9edd3832b384d437774baba03819fef8c
1 /***************************************************************************
3 codesets.library - Amiga shared library for handling different codesets
4 Copyright (C) 2001-2005 by Alfonso [alfie] Ranieri <alforan@tin.it>.
5 Copyright (C) 2005-2014 codesets.library 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 codesets.library project: http://sourceforge.net/projects/codesetslib/
19 Most of the code included in this file was relicensed from GPL to LGPL
20 from the source code of SimpleMail (http://www.sf.net/projects/simplemail)
21 with full permissions by its authors.
23 $Id$
25 ***************************************************************************/
27 #ifndef _VERSION_H_
28 #define _VERSION_H_
30 #include "macros.h"
32 // for setting all necessary version information
33 #define LIB_VERSION 6
34 #define LIB_REVISION 18
35 #define LIB_DATE "04.04.2014"
36 #define LIB_COPYRIGHT "Copyright (C) 2005-2014 codesets.library Open Source Team"
38 // set the LIB_REV_STRING
39 #define LIB_REV_STRING STR(LIB_VERSION) "." STR(LIB_REVISION)
41 // identify the system we are compiling for
42 #if defined(__amigaos4__)
43 #define SYSTEM "AmigaOS4"
44 #define SYSTEMSHORT "OS4"
45 #elif defined(__MORPHOS__)
46 #define SYSTEM "MorphOS"
47 #define SYSTEMSHORT "MOS"
48 #elif defined(__AROS__)
49 #define SYSTEM "AROS"
50 #define SYSTEMSHORT SYSTEM
51 #elif defined(__AMIGA__)
52 #define SYSTEM "AmigaOS3"
53 #define SYSTEMSHORT "OS3"
54 #else
55 #warning "Unsupported System - check SYSTEM define"
56 #define SYSTEM "???"
57 #define SYSTEMSHORT "???"
58 #endif
60 // identify the CPU model
61 #if defined(__PPC__) || defined(__powerpc__)
62 #define CPU "PPC"
63 #elif defined(_M68060) || defined(__M68060) || defined(__mc68060)
64 #define CPU "m68060"
65 #elif defined(_M68040) || defined(__M68040) || defined(__mc68040)
66 #define CPU "m68040"
67 #elif defined(_M68030) || defined(__M68030) || defined(__mc68030)
68 #define CPU "m68030"
69 #elif defined(_M68020) || defined(__M68020) || defined(__mc68020)
70 #define CPU "m68k"
71 #elif defined(_M68000) || defined(__M68000) || defined(__mc68000)
72 #define CPU "m68000"
73 #elif defined(__i386__)
74 #define CPU "x86"
75 #elif defined(__x86_64__)
76 #define CPU "x86_64"
77 #elif defined(__arm__)
78 #define CPU "ARM"
79 #else
80 #warning "Unsupported CPU model - check CPU define"
81 #define CPU "???"
82 #endif
84 #endif // _VERSION_H_