saf-version.h

Go to the documentation of this file.
00001 /****************************************************************************
00002  *
00003  * Copyright (C) 2006-2009 Micro Focus (IP) Limited.
00004  * All rights reserved.
00005  *
00006  * The software and information contained herein are proprietary to, and
00007  * comprise valuable trade secrets of, Micro Focus International Ltd., 
00008  * which intends to preserve as trade secrets such software and 
00009  * information. This software is an unpublished copyright of Micro Focus  
00010  * and may not be used, copied, transmitted, or stored in any manner.  
00011  * This software and information or any other copies thereof may not be
00012  * provided or otherwise made available to any other person.
00013  *
00014  *      Enterprise Server SAF (Security) Manager
00015  *      Module Version
00016  *
00017  *      @(#)saf-version.h       $Revision: 1.8 $     
00018  *
00019  *      $Date: 2009/04/07 14:56:54 $
00020  *
00021  ****************************************************************************/
00022 
00023 /* Start of source module saf-version.h */
00024 #if !defined(SafVERSION_H)
00025 #define SafVERSION_H
00026 
00057 #define SafVERSION_MAJOR  1     
00058 #define SafVERSION_MINOR  8     
00059 #define SafVERSION_BUILD  2     
00062 /***
00063 NOTE: When updating the version here, also be sure to update it in the
00064 DLL version below.  It's automatically picked up by the RC file, and
00065 the makefile sets it for the Doxygen documentation.
00066 ***/
00067 
00068 #define SafVERSION ((SafVERSION_MAJOR << 16) \
00069                    |(SafVERSION_MINOR << 8)  \
00070                    |(SafVERSION_BUILD))
00071 
00072 #define SafVER_DEC SafVERSION_MAJOR*10000+SafVERSION_MINOR*100+SafVERSION_BUILD
00073 
00074 #if defined(WIN32)
00075    #pragma comment(linker, "/version:1.8")
00076 #endif
00077 
00078 
00079 /* String version */
00080 #if !defined SafSTRING
00081    #define SafDO_STR(x) #x
00082    #define SafSTRING(x) SafDO_STR(x)
00083 #endif
00084 
00085 #define SafVERSION_STRING   SafSTRING(SafVERSION_MAJOR) "." \
00086                             SafSTRING(SafVERSION_MINOR) "." \
00087                             SafSTRING(SafVERSION_BUILD)
00088 
00089 
00090 
00091 #endif
00092 
00093 /* End of saf-version.h */
00094