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