VirtualBox

source: vbox/trunk/src/libs/liblzf-3.4/Makefile.kmk@ 74935

Last change on this file since 74935 was 69111, checked in by vboxsync, 7 years ago

(C) year

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.6 KB
Line 
1# $Id: Makefile.kmk 69111 2017-10-17 14:26:02Z vboxsync $
2## @file
3# Sub-Makefile for liblzf.
4#
5
6#
7# Copyright (C) 2006-2017 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
18
19SUB_DEPTH = ../../..
20include $(KBUILD_PATH)/subheader.kmk
21
22LIBRARIES += VBox-liblzf
23if1of ($(KBUILD_TARGET),os2 win)
24 # only required for vbox-img
25 LIBRARIES += VBox-liblzf-static
26endif
27VBox-liblzf_TEMPLATE = VBoxR3RuntimeDllNonPedanticFast
28VBox-liblzf_BLD_TYPE = release # WARNING! Always optimizing this lib.
29VBox-liblzf_DEFS = ULTRA_FAST=1 HLOG=12
30VBox-liblzf_DEFS.x86 = STRICT_ALIGN=0
31VBox-liblzf_DEFS.amd64 = STRICT_ALIGN=0
32VBox-liblzf_SOURCES = \
33 lzf_c.c \
34 lzf_d.c
35
36VBox-liblzf-static_TEMPLATE = VBoxR3StaticNonPedantic
37VBox-liblzf-static_BLD_TYPE = $(VBox-liblzf_BLD_TYPE)
38VBox-liblzf-static_DEFS = $(VBox-liblzf_DEFS)
39VBox-liblzf-static_DEFS.x86 = $(VBox-liblzf_DEFS.x86)
40VBox-liblzf-static_DEFS.amd64 = $(VBox-liblzf_DEFS.amd64)
41VBox-liblzf-static_SOURCES = $(VBox-liblzf_SOURCES)
42
43ifdef VBOX_WITH_32_ON_64_MAIN_API # 32-bit edition.
44 LIBRARIES += VBox-liblzf-x86
45 VBox-liblzf-x86_TEMPLATE = VBoxR3DllNonPedantic-x86
46 VBox-liblzf-x86_EXTENDS = VBox-liblzf
47endif
48
49
50include $(FILE_KBUILD_SUB_FOOTER)
51
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