VirtualBox

source: vbox/trunk/src/libs/zlib-1.2.8/Makefile.kmk@ 68848

Last change on this file since 68848 was 63110, checked in by vboxsync, 8 years ago

Config.kmk,zlib/Makefile.kmk: Non-pedantic MSC and such.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.4 KB
Line 
1# $Id: Makefile.kmk 63110 2016-08-06 20:29:59Z vboxsync $
2## @file
3# Sub-Makefile for zlib.
4#
5
6#
7# Copyright (C) 2006-2016 Oracle Corporation
8#
9# This file is part of VirtualBox Open Source Edition (OSE), as
10# available from http://www.virtualbox.org. This file is free software;
11# you can redistribute it and/or modify it under the terms of the GNU
12# General Public License (GPL) as published by the Free Software
13# Foundation, in version 2 as it comes in the "COPYING" file of the
14# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
15# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
16#
17
18SUB_DEPTH = ../../..
19include $(KBUILD_PATH)/subheader.kmk
20
21LIBRARIES += VBox-zlib
22if1of ($(KBUILD_TARGET),os2 win)
23 # only required for vbox-img
24 LIBRARIES += VBox-zlib-static
25endif
26VBox-zlib_TEMPLATE = VBoxR3RuntimeDllNonPedantic
27VBox-zlib_DEFS = verbose=-1 NO_VIZ=1
28VBox-zlib_SOURCES = \
29 adler32.c \
30 compress.c \
31 crc32.c \
32 gzclose.c \
33 gzlib.c \
34 gzread.c \
35 gzwrite.c \
36 uncompr.c \
37 deflate.c \
38 trees.c \
39 zutil.c \
40 inflate.c \
41 infback.c \
42 inftrees.c \
43 inffast.c
44
45VBox-zlib-static_TEMPLATE = VBoxR3StaticNonPedantic
46VBox-zlib-static_DEFS = $(VBox-zlib_DEFS)
47VBox-zlib-static_SOURCES = $(VBox-zlib_SOURCES)
48
49ifdef VBOX_WITH_32_ON_64_MAIN_API # 32-bit edition.
50 LIBRARIES += VBox-zlib-x86
51 VBox-zlib-x86_TEMPLATE = VBoxR3DllNonPedantic-x86
52 VBox-zlib-x86_EXTENDS = VBox-zlib
53endif
54
55include $(FILE_KBUILD_SUB_FOOTER)
56
Note: See TracBrowser for help on using the repository browser.

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