repo init
[linux-rt-nao.git] / lib / cimarron / build_num.h
blob95a6e1c1255c12a03925339d37288a8f2504b6e5
1 #ifndef BUILD_NUM_H
2 #define BUILD_NUM_H
4 #ifdef AMD_BUILDNUM_DEFINED
5 #error "Caution: You have muliple version files in your path. Please correct this."
6 #endif
8 #define AMD_BUILDNUM_DEFINED
10 /* Define the following for your driver */
12 #define _NAME "AMD LX Cimarron Support Module"
13 #define _MAJOR 01
14 #define _MINOR 03
16 /* This defines the current buildlevel and revision of the code */
17 #define _BL 01
18 #define _BLREV 00
20 #ifdef _BLREV
21 #define _BUILDLEVEL _x(_BL)_x(_BLREV)
22 #else
23 #define _BUILDLEVEL _x(_BL)
24 #endif
26 /* Use this macro to get the version string */
28 #define _VERSION_NUMBER _x(_MAJOR) "." _x(_MINOR) "." _BUILDLEVEL
29 #define AMD_VERSION _NAME " " _VERSION_NUMBER
31 /* Syntatic sugar for use above - you probably don't have to touch this */
33 #define _x(s) _s(s)
34 #define _s(s) #s
36 #endif