Corrections to SVN properties.
[AROS.git] / external / openurl / raPrefs / version.h
blob3190af5dbfc42c86c1c56ef9000b9145b8bf2c4c
1 /***************************************************************************
3 openurl.library - universal URL display and browser launcher library
4 Copyright (C) 1998-2005 by Troels Walsted Hansen, et al.
5 Copyright (C) 2005-2009 by openurl.library Open Source Team
7 This library is free software; it has been placed in the public domain
8 and you can freely redistribute it and/or modify it. Please note, however,
9 that some components may be under the LGPL or GPL license.
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.
15 openurl.library project: http://sourceforge.net/projects/openurllib/
17 $Id$
19 ***************************************************************************/
21 #ifndef _VERSION_H_
22 #define _VERSION_H_
24 #include "macros.h"
26 // for setting all necessary version information
27 #define LIB_VERSION 7
28 #define LIB_REVISION 12
29 #define LIB_DATE "20.12.2012"
30 #define LIB_COPYRIGHT "Copyright (c) 2005-2012 openurl.library Open Source Team"
32 // set the LIB_REV_STRING
33 #define LIB_REV_STRING STR(LIB_VERSION) "." STR(LIB_REVISION)
35 // identify the system we are compiling for
36 #if defined(__amigaos4__)
37 #define SYSTEM "AmigaOS4"
38 #define SYSTEMSHORT "OS4"
39 #elif defined(__MORPHOS__)
40 #define SYSTEM "MorphOS"
41 #define SYSTEMSHORT "MOS"
42 #elif defined(__AROS__)
43 #define SYSTEM "AROS"
44 #define SYSTEMSHORT SYSTEM
45 #elif defined(__AMIGA__)
46 #define SYSTEM "AmigaOS3"
47 #define SYSTEMSHORT "OS3"
48 #else
49 #warning "Unsupported System - check SYSTEM define"
50 #define SYSTEM "???"
51 #define SYSTEMSHORT "???"
52 #endif
54 // identify the CPU model
55 #if defined(__PPC__) || defined(__powerpc__)
56 #define CPU "PPC"
57 #elif defined(_M68060) || defined(__M68060) || defined(__mc68060)
58 #define CPU "m68060"
59 #elif defined(_M68040) || defined(__M68040) || defined(__mc68040)
60 #define CPU "m68040"
61 #elif defined(_M68030) || defined(__M68030) || defined(__mc68030)
62 #define CPU "m68030"
63 #elif defined(_M68020) || defined(__M68020) || defined(__mc68020)
64 #define CPU "m68k"
65 #elif defined(_M68000) || defined(__M68000) || defined(__mc68000)
66 #define CPU "m68000"
67 #elif defined(__i386__)
68 #define CPU "x86"
69 #elif defined(__x86_64__)
70 #define CPU "x86_64"
71 #elif defined(__arm__)
72 #define CPU "ARM"
73 #else
74 #warning "Unsupported CPU model - check CPU define"
75 #define CPU "???"
76 #endif
78 #endif // _VERSION_H_