Makefile revision b39c3fa81cadaec00ebb2e7170a8db96998b7032
# Makefile for the VirtualBox Linux Host Network Filter Driver. # (For 2.6.x this file must be called 'Makefile'!) # Copyright (C) 2006-2010 Oracle Corporation # This file is part of VirtualBox Open Source Edition (OSE), as # 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. # First, figure out which architecture we're targeting and the build type. # (We have to support basic cross building (ARCH=i386|x86_64).) # While at it, warn about BUILD_* vars found to help with user problems. # override is required by the Debian guys # building from this directory # build for the current kernel, version check # check if versions match -- works only for later 2.6 kernels # build for a dedicated kernel, no version check # module install dir, only for current kernel endif # MODULE_DIR unspecified else # neq($(KERNELRELEASE),) # building from kbuild (make -C <kernel_directory> M=`pwd`) endif # neq($(KERNELRELEASE),) # IPRT_DEBUG_SEMS indicates thread wrt sems state via the comm field. #KFLAGS += -DIPRT_DEBUG_SEMS # By default we use remap_pfn_range() kernel API to make kernel pages # visible for userland. Unfortunately, it leads to situation that # during debug session all structures on that page (such as PVM pointer) # are not accessible to the debugger (see #3214). # This code enables experimental support # for vm_insert_page() kernel API, allowing to export kernel pages # to the userland in more debugger-friendly way. Due to stability # concerns, not enabled by default yet. else # eq ($(MAKECMDGOALS),clean) endif # eq($(MAKECMDGOALS),clean)