EDK2 doxygen online documents - Firmware Encoding Index 1
EDK2 doxygen online documents - Firmware Encoding Index

EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/AutoGen.h

Go to the documentation of this file.
00001 /*++
00002 
00003 Copyright (c) 2004 - 2011, Intel Corporation. All rights reserved.<BR>
00004 This program and the accompanying materials                          
00005 are licensed and made available under the terms and conditions of the BSD License         
00006 which accompanies this distribution.  The full text of the license may be found at        
00007 http://opensource.org/licenses/bsd-license.php                                            
00008                                                                                           
00009 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,                     
00010 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.  
00011 
00012 
00013 Module Name:
00014 
00015   AutoGen.h
00016   
00017 Abstract: 
00018 
00019   This file is supposed to be used by a .dxe file. To write common .dxs file for EDK
00020   and EDKII, a header file named AutoGen.h musted be present. In EDK-GlueLib code base, 
00021   this AutoGen.h plays the role as the AutoGen.h in EDKII. Here the AutoGen.h isn't auto-generated 
00022   by any tool.
00023 
00024 --*/
00025 
00026 #ifndef __EDKII_GLUELIB_AUTOGEN_H__
00027 #define __EDKII_GLUELIB_AUTOGEN_H__
00028 
00029 
00030 //
00031 //  Explanation:
00032 //    BUILD_WITH_GLUELIB was used at the very beginning of EdkIIGlueLib development and 
00033 //    BUILD_WITH_EDKII_GLUE_LIB was introduced later with newer EDK. The old one, BUILD_WITH_GLUELIB, 
00034 //    is remained here only to keep source level compatibility with modules which already use it.
00035 //
00036 //  Both macros are of same effect: to indicate a module it's using EdkIIGlueLib. For newly created 
00037 //  modules, BUILD_WITH_EDKII_GLUE_LIB is recommended to use.
00038 //
00039 //  The macros can be used in .dxs files and source files.
00040 //
00041 
00042 #ifndef BUILD_WITH_EDKII_GLUE_LIB
00043   #define BUILD_WITH_EDKII_GLUE_LIB
00044 #endif
00045 
00046 #ifndef BUILD_WITH_GLUELIB
00047   #define BUILD_WITH_GLUELIB
00048 #endif
00049 
00050 #endif
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Defines