]>
git.proxmox.com Git - mirror_edk2.git/blob - EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/AutoGen.h
3 Copyright (c) 2004 - 2006, Intel Corporation
4 All rights reserved. This program and the accompanying materials
5 are licensed and made available under the terms and conditions of the BSD License
6 which accompanies this distribution. The full text of the license may be found at
7 http://opensource.org/licenses/bsd-license.php
9 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
19 This file is supposed to be used by a .dxe file. To write common .dxs file for R8.x
20 and R9, a header file named AutoGen.h musted be present. In R8.x-GlueLib code base,
21 this AutoGen.h plays the role as the AutoGen.h in R9. Here the AutoGen.h isn't auto-generated
26 #ifndef __EDKII_GLUELIB_AUTOGEN_H__
27 #define __EDKII_GLUELIB_AUTOGEN_H__
32 // BUILD_WITH_GLUELIB was used at the very beginning of EdkIIGlueLib development and
33 // BUILD_WITH_EDKII_GLUE_LIB was introduced later with newer EDK. The old one, BUILD_WITH_GLUELIB,
34 // is remained here only to keep source level compatibility with modules which already use it.
36 // Both macros are of same effect: to indicate a module it's using EdkIIGlueLib. For newly created
37 // modules, BUILD_WITH_EDKII_GLUE_LIB is recommended to use.
39 // The macros can be used in .dxs files and source files.
42 #ifndef BUILD_WITH_EDKII_GLUE_LIB
43 #define BUILD_WITH_EDKII_GLUE_LIB
46 #ifndef BUILD_WITH_GLUELIB
47 #define BUILD_WITH_GLUELIB