Makefile.kmk revision c58f1213e628a545081c70e26c6b67a841cff880
# $Id$
## @file
# Sub-Makefile for liblzf.
#
#
# Copyright (C) 2006-2012 Oracle Corporation
#
# This file is part of VirtualBox Open Source Edition (OSE), as
# available from http://www.virtualbox.org. This file is free software;
# you can redistribute it and/or modify it under the terms of the GNU
# General Public License (GPL) as published by the Free Software
# Foundation, in version 2 as it comes in the "COPYING" file of the
# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
#
SUB_DEPTH = ../../..
include $(KBUILD_PATH)/subheader.kmk
LIBRARIES += VBox-liblzf
if1of ($(KBUILD_TARGET),os2 win)
# only required for vbox-img
LIBRARIES += VBox-liblzf-static
endif
VBox-liblzf_TEMPLATE = VBOXR3
VBox-liblzf_BLD_TYPE = release # WARNING! Always optimizing this lib.
VBox-liblzf_DEFS = ULTRA_FAST=1 HLOG=12
VBox-liblzf_DEFS.x86 = STRICT_ALIGN=0
VBox-liblzf_DEFS.amd64 = STRICT_ALIGN=0
VBox-liblzf_SOURCES = \
lzf_c.c \
VBox-liblzf-static_TEMPLATE = VBOXR3STATIC
VBox-liblzf-static_BLD_TYPE = $(VBox-liblzf_BLD_TYPE)
VBox-liblzf-static_DEFS = $(VBox-liblzf_DEFS)
VBox-liblzf-static_SOURCES = $(VBox-liblzf_SOURCES)
include $(FILE_KBUILD_SUB_FOOTER)