]> git.proxmox.com Git - mirror_edk2.git/blame - MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
MdePkg/Library/BaseLib: Enable VS2017/ARM64 builds
[mirror_edk2.git] / MdePkg / Library / BaseSafeIntLib / BaseSafeIntLib.inf
CommitLineData
d7a09cb8
SB
1## @file\r
2# Safe Integer Library\r
3#\r
4# This library provides helper functions to prevent integer overflow during\r
5# type conversion, addition, subtraction, and multiplication.\r
6#\r
7# Copyright (c) 2017, Microsoft Corporation\r
8#\r
9# All rights reserved.\r
10# Redistribution and use in source and binary forms, with or without\r
11# modification, are permitted provided that the following conditions are met:\r
12# 1. Redistributions of source code must retain the above copyright notice,\r
13# this list of conditions and the following disclaimer.\r
14# 2. Redistributions in binary form must reproduce the above copyright notice,\r
15# this list of conditions and the following disclaimer in the documentation\r
16# and/or other materials provided with the distribution.\r
17#\r
18# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND\r
19# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\r
20# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.\r
21# IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,\r
22# INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,\r
23# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\r
24# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\r
25# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE\r
26# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF\r
27# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\r
28#\r
29##\r
30\r
31[Defines]\r
32 INF_VERSION = 0x00010005\r
33 BASE_NAME = BaseSafeIntLib\r
34 FILE_GUID = 4EA91BFA-3482-4930-B136-70679C6CE489\r
35 MODULE_TYPE = BASE\r
36 VERSION_STRING = 1.0\r
37 LIBRARY_CLASS = SafeIntLib\r
38\r
39#\r
40# The following information is for reference only and not required by the build tools.\r
41#\r
42# VALID_ARCHITECTURES = IA32 X64\r
43#\r
44\r
45[Sources]\r
46 SafeIntLib.c\r
47\r
48[Sources.Ia32, Sources.ARM]\r
49 SafeIntLib32.c\r
50\r
51[Sources.X64, Sources.IPF, Sources.AARCH64]\r
52 SafeIntLib64.c\r
53\r
54[Sources.EBC]\r
55 SafeIntLibEbc.c\r
56\r
57[Packages]\r
58 MdePkg/MdePkg.dec\r
dc9b2a57
DB
59\r
60[LibraryClasses]\r
61 BaseLib\r