VirtualBox

source: vbox/trunk/src/libs/zlib-1.2.12/Makefile.kmk@ 96407

最後變更 在這個檔案從96407是 96407,由 vboxsync 提交於 3 年 前

scm copyright and license note update

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Id Revision
檔案大小: 1.7 KB
 
1# $Id: Makefile.kmk 96407 2022-08-22 17:43:14Z vboxsync $
2## @file
3# Sub-Makefile for zlib.
4#
5
6#
7# Copyright (C) 2006-2022 Oracle and/or its affiliates.
8#
9# This file is part of VirtualBox base platform packages, as
10# available from https://www.alldomusa.eu.org.
11#
12# This program is free software; you can redistribute it and/or
13# modify it under the terms of the GNU General Public License
14# as published by the Free Software Foundation, in version 3 of the
15# License.
16#
17# This program is distributed in the hope that it will be useful, but
18# WITHOUT ANY WARRANTY; without even the implied warranty of
19# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20# General Public License for more details.
21#
22# You should have received a copy of the GNU General Public License
23# along with this program; if not, see <https://www.gnu.org/licenses>.
24#
25# SPDX-License-Identifier: GPL-3.0-only
26#
27
28SUB_DEPTH = ../../..
29include $(KBUILD_PATH)/subheader.kmk
30
31LIBRARIES += VBox-zlib
32if1of ($(KBUILD_TARGET),os2 win)
33 # only required for vbox-img
34 LIBRARIES += VBox-zlib-static
35endif
36VBox-zlib_TEMPLATE = VBoxR3RuntimeDllNonPedanticFast
37VBox-zlib_DEFS = verbose=-1 NO_VIZ=1
38VBox-zlib_SOURCES = \
39 adler32.c \
40 compress.c \
41 crc32.c \
42 gzclose.c \
43 gzlib.c \
44 gzread.c \
45 gzwrite.c \
46 uncompr.c \
47 deflate.c \
48 trees.c \
49 zutil.c \
50 inflate.c \
51 infback.c \
52 inftrees.c \
53 inffast.c
54
55VBox-zlib-static_TEMPLATE = VBoxR3StaticNonPedantic
56VBox-zlib-static_DEFS = $(VBox-zlib_DEFS)
57ifdef VBOX_WITH_NOCRT_STATIC
58VBox-zlib-static_DEFS += IPRT_NO_CRT_FOR_3RD_PARTY
59endif
60VBox-zlib-static_SOURCES = $(VBox-zlib_SOURCES)
61
62ifdef VBOX_WITH_32_ON_64_MAIN_API # 32-bit edition.
63 LIBRARIES += VBox-zlib-x86
64 VBox-zlib-x86_TEMPLATE = VBoxR3DllNonPedantic-x86
65 VBox-zlib-x86_EXTENDS = VBox-zlib
66endif
67
68include $(FILE_KBUILD_SUB_FOOTER)
69
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette