Makefile.kmk revision dea2812d54fc961d3194486fe0d0511833f91ca0
# $Id: Makefile.kmk$
## @file
# Adds sources list and defines required to LWIP pre-1.5.0 compilation
#
#
# 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.
#
#
# Recommended kmk flags:
#
# VBOX_WITH_NAT_SERVICE=1
# VBOX_WITH_LWIP_NAT=1
#
LWIP_INCS += \
LWIP_SOURCES += \
ifeq ($(USERNAME), vvl)
$(foreach lwip_file, $(LWIP_SOURCES), $(eval $(lwip_file)_DEFS=RTMEM_WRAP_TO_EF_APIS))
LWIPTEST_SOURCES= Network/lwip-new/test/unit/core/test_mem.c \
endif
ifdef VBOX_WITH_INIP
Network/DevINIP.cpp_DEFS += VBOX_WITH_NEW_LWIP
endif
ifdef VBOX_WITH_ISCSI
Storage/DrvVD.cpp_DEFS += VBOX_WITH_NEW_LWIP
endif