1#/*++
2#
3# Copyright (c) 2004 - 2006, 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#  Module Name:
13#
14#   PeiSmbusLib.inf
15#
16#  Abstract:
17#
18#    Component description file for PeiSmbusLib.
19#
20#--*/
21
22[defines]
23BASE_NAME       = EdkIIGluePeiSmbusLib
24COMPONENT_TYPE  = LIBRARY
25
26[sources.common]
27  PeiSmbusLib.c
28  SmbusLib.c
29
30[sources.ia32]
31
32[sources.x64]
33
34[sources.ipf]
35
36[sources.ebc]
37
38
39[includes.common]
40  .
41  ../../Include
42  ../../include/Library
43  $(EDK_SOURCE)/Foundation
44  $(EDK_SOURCE)/Foundation/Framework
45  $(EDK_SOURCE)/Foundation/Efi
46  $(EDK_SOURCE)/Foundation/Include
47  $(EDK_SOURCE)/Foundation/Efi/Include
48  $(EDK_SOURCE)/Foundation/Framework/Include
49  $(EDK_SOURCE)/Foundation/Include/IndustryStandard
50  $(EDK_SOURCE)/Foundation/Core/Dxe
51  $(EDK_SOURCE)/Foundation/Library/Dxe/Include
52  $(EDK_SOURCE)/Foundation/Cpu/Pentium/Include
53  $(EDK_SOURCE)/Foundation/Framework/Guid/DataHubRecords
54  $(EDK_SOURCE)/Foundation/Framework/Guid/StatusCodeDataTypeId
55  $(EDK_SOURCE)/Foundation/Include/Pei
56
57[libraries.common]
58  EdkIIGlueBaseMemoryLib
59  EdkIIGluePeiServicesTablePointerLibMm7
60#
61# If necessary, EdkIIGluePeiServicesTablePointerLib can be
62# used to replace EdkIIGluePeiServicesTablePointerLibMm7
63#
64
65
66[libraries.ia32]
67
68[libraries.x64]
69
70[nmake.common]
71  C_FLAGS = $(C_FLAGS) /D EDKII_GLUE_LIBRARY_IMPLEMENTATION
72  LIB_STD_FLAGS = $(LIB_STD_FLAGS) /IGNORE:4006 /IGNORE:4221
73
74[nmake.ia32]
75  C_FLAGS = $(C_FLAGS) /D MDE_CPU_IA32
76
77[nmake.x64]
78  C_FLAGS = $(C_FLAGS) /D MDE_CPU_X64
79
80[nmake.ipf]
81  C_FLAGS = $(C_FLAGS) /D MDE_CPU_IPF
82
83[nmake.ebc]
84  EBC_C_STD_FLAGS = $(EBC_C_STD_FLAGS) /D EDKII_GLUE_LIBRARY_IMPLEMENTATION
85  EBC_LIB_STD_FLAGS = $(EBC_LIB_STD_FLAGS)  /IGNORE:4006 /IGNORE:4221
86  EBC_C_STD_FLAGS = $(EBC_C_STD_FLAGS) /D MDE_CPU_EBC
87