Tizen 2.0 Release
[profile/ivi/osmesa.git] / src / mesa / drivers / dri / r128 / server / r128_version.h
1 /*
2  * Copyright 2000 through 2003 by Marc Aurele La France (TSI @ UQV), tsi@xfree86.org
3  *
4  * Permission to use, copy, modify, distribute, and sell this software and its
5  * documentation for any purpose is hereby granted without fee, provided that
6  * the above copyright notice appear in all copies and that both that copyright
7  * notice and this permission notice appear in supporting documentation, and
8  * that the name of Marc Aurele La France not be used in advertising or
9  * publicity pertaining to distribution of the software without specific,
10  * written prior permission.  Marc Aurele La France makes no representations
11  * about the suitability of this software for any purpose.  It is provided
12  * "as-is" without express or implied warranty.
13  *
14  * MARC AURELE LA FRANCE DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
15  * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS.  IN NO
16  * EVENT SHALL MARC AURELE LA FRANCE BE LIABLE FOR ANY SPECIAL, INDIRECT OR
17  * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
18  * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
19  * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
20  * PERFORMANCE OF THIS SOFTWARE.
21  */
22
23 #ifndef _R128_VERSION_H_
24 #define _R128_VERSION_H_ 1
25
26 #undef  R128_NAME
27 #undef  R128_DRIVER_NAME
28 #undef  R128_VERSION_MAJOR
29 #undef  R128_VERSION_MINOR
30 #undef  R128_VERSION_PATCH
31 #undef  R128_VERSION_CURRENT
32 #undef  R128_VERSION_EVALUATE
33 #undef  R128_VERSION_STRINGIFY
34 #undef  R128_VERSION_NAME
35
36 #define R128_NAME          "R128"
37 #define R128_DRIVER_NAME   "r128"
38
39 #define R128_VERSION_MAJOR 4
40 #define R128_VERSION_MINOR 0
41 #define R128_VERSION_PATCH 1
42
43 #ifndef R128_VERSION_EXTRA
44 #define R128_VERSION_EXTRA ""
45 #endif
46
47 #define R128_VERSION_CURRENT \
48     ((R128_VERSION_MAJOR << 20) | \
49      (R128_VERSION_MINOR << 10) | \
50      (R128_VERSION_PATCH))
51
52 #define R128_VERSION_EVALUATE(__x) #__x
53 #define R128_VERSION_STRINGIFY(_x) R128_VERSION_EVALUATE(_x)
54 #define R128_VERSION_NAME                                         \
55     R128_VERSION_STRINGIFY(R128_VERSION_MAJOR) "."                \
56     R128_VERSION_STRINGIFY(R128_VERSION_MINOR) "."                \
57     R128_VERSION_STRINGIFY(R128_VERSION_MINOR) R128_VERSION_EXTRA
58
59 #endif /* _R128_VERSION_H_ */