Makefile revision 0780b79e94db3b60fb4a3057df7c64ba8b1cb75d
0N/A# Makefile for the VirtualBox Linux Host Driver. 0N/A# (For 2.6.x this file must be called 'Makefile'!) 2362N/A# Copyright (C) 2006-2007 Sun Microsystems, Inc. 0N/A# This file is part of VirtualBox Open Source Edition (OSE), as 0N/A# you can redistribute it and/or modify it under the terms of the GNU 0N/A# General Public License (GPL) as published by the Free Software 0N/A# Foundation, in version 2 as it comes in the "COPYING" file of the 0N/A# VirtualBox OSE distribution. VirtualBox OSE is distributed in the 0N/A# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. 0N/A# The contents of this file may alternatively be used under the terms 0N/A# of the Common Development and Distribution License Version 1.0 2362N/A# VirtualBox OSE distribution, in which case the provisions of the 2362N/A# CDDL are applicable instead of those of the GPL. 0N/A# You may elect to license modified versions of this file under the 0N/A# terms and conditions of either the GPL or the CDDL or both. 0N/A# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa 0N/A# additional information or have any questions. 0N/A# First, figure out which architecture we're targeting and the build type. 3171N/A# (We have to support basic cross building (ARCH=i386|x86_64).) 0N/A# While at it, warn about BUILD_* vars found to help with user problems. 0N/A# override is required by the Debian guys 0N/A # building from this directory 0N/A # kernel base directory 0N/A # build for the current kernel, version check 5980N/A # check if versions match -- works only for later 2.6 kernels 0N/A # build for a dedicated kernel, no version check 3171N/A # module install dir, only for current kernel 0N/A # guess kernel version (24 or 26) 0N/Aelse # neq($(KERNELRELEASE),) 0N/A # building from kbuild (make -C <kernel_directory> M=`pwd`) 0N/A # guess kernel version (24 or 26) endif # neq($(KERNELRELEASE),) # IPRT_DEBUG_SEMS indicates thread wrt sems state via the comm field. # Use the RTR0MemObj API - testing. # If this makes testboxes crash/burn/leak disable it and add a comment to defect #2116. endif # eq($(MAKECMDGOALS),clean)