1#/*++
2#
3#  Copyright (c) 2006 - 2010, 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#     CompilerStubLib.inf
15#
16#   Abstract:
17#
18#     Component description file for the CompilerStub.
19#
20#--*/
21
22[defines]
23BASE_NAME       = CompilerStub
24COMPONENT_TYPE  = LIBRARY
25
26[sources.common]
27
28[sources.ia32]
29  Ia32/memcpyRep1.asm | MSFT
30  Ia32/memcpyRep1.asm | INTEL
31  Ia32/memsetRep4.asm | MSFT
32  Ia32/memsetRep4.asm | INTEL
33  memcpy.c            | GCC
34  memset.c            | GCC
35
36[sources.x64]
37  x64/memcpyRep4.asm | MSFT
38  x64/memcpyRep4.asm | INTEL
39  x64/memsetRep4.asm | MSFT
40  x64/memsetRep4.asm | INTEL
41  memcpy.c           | GCC
42  memset.c           | GCC
43
44[sources.Ipf]
45  memcpy.c
46  memset.c
47
48[sources.ARM]
49  Dummy.c
50
51[sources.AARCH64]
52  Dummy.c
53
54[includes.common]
55  $(EDK_SOURCE)/Foundation
56  $(EDK_SOURCE)/Foundation/Framework
57  $(EDK_SOURCE)/Foundation/Efi
58  $(EDK_SOURCE)/Foundation/Include
59  $(EDK_SOURCE)/Foundation/Efi/Include
60  $(EDK_SOURCE)/Foundation/Framework/Include
61  $(EDK_SOURCE)/Foundation/Include/IndustryStandard
62  $(EDK_SOURCE)
63  $(EDK_SOURCE)/Foundation/Core/Dxe
64  $(EDK_SOURCE)/Foundation/Library/Dxe/Include
65  $(EDK_SOURCE)/Foundation/Include/Pei
66  $(EDK_SOURCE)/Foundation/Library/Pei/Include
67  $(EDK_SOURCE)/Foundation/Framework/Ppi/CpuIo
68  $(EDK_SOURCE)/Foundation/Framework
69
70[libraries.common]
71
72[libraries.ARM]
73  CompilerIntrinsicsLib
74
75[libraries.AArch64]
76  CompilerIntrinsicsLib
77
78[nmake.common]
79
80[nmake.ia32,nmake.x64]
81  C_FLAGS= $(C_FLAGS) /GL-
82