• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*++
2 
3 Copyright (c) 2004 - 2011, Intel Corporation. All rights reserved.<BR>
4 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
8 
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.
11 
12 
13 Module Name:
14 
15   AutoGen.h
16 
17 Abstract:
18 
19   This file is supposed to be used by a .dxe file. To write common .dxs file for EDK
20   and EDKII, a header file named AutoGen.h musted be present. In EDK-GlueLib code base,
21   this AutoGen.h plays the role as the AutoGen.h in EDKII. Here the AutoGen.h isn't auto-generated
22   by any tool.
23 
24 --*/
25 
26 #ifndef __EDKII_GLUELIB_AUTOGEN_H__
27 #define __EDKII_GLUELIB_AUTOGEN_H__
28 
29 
30 //
31 //  Explanation:
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.
35 //
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.
38 //
39 //  The macros can be used in .dxs files and source files.
40 //
41 
42 #ifndef BUILD_WITH_EDKII_GLUE_LIB
43   #define BUILD_WITH_EDKII_GLUE_LIB
44 #endif
45 
46 #ifndef BUILD_WITH_GLUELIB
47   #define BUILD_WITH_GLUELIB
48 #endif
49 
50 #endif
51