Makefile revision 38434b7b59fbfa76d67e81896d1f5b650ec8e692
235N/A# Makefile for the VirtualBox Linux Host Driver. 822N/A# (For 2.6.x this file must be called 'Makefile'!) 235N/A# Copyright (C) 2006-2007 innotek GmbH 919N/A# This file is part of VirtualBox Open Source Edition (OSE), as 919N/A# you can redistribute it and/or modify it under the terms of the GNU 919N/A# General Public License (GPL) as published by the Free Software 919N/A# Foundation, in version 2 as it comes in the "COPYING" file of the 919N/A# VirtualBox OSE distribution. VirtualBox OSE is distributed in the 919N/A# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. 919N/A# The contents of this file may alternatively be used under the terms 919N/A# of the Common Development and Distribution License Version 1.0 919N/A# VirtualBox OSE distribution, in which case the provisions of the 919N/A# CDDL are applicable instead of those of the GPL. 919N/A# You may elect to license modified versions of this file under the 919N/A# terms and conditions of either the GPL or the CDDL or both. 235N/A# First, figure out which architecture we're targeting and the build type. 822N/A# (We have to support basic cross building (ARCH=i386|x86_64).) 235N/A# While at it, warn about BUILD_* vars found to help with user problems. 1366N/A# override is required by the Debian guys 1270N/A # building from this directory 493N/A # kernel base directory 963N/A # build for the current kernel, version check 1124N/A # check if versions match -- works only for later 2.6 kernels 970N/A # build for a dedicated kernel, no version check 935N/A # module install dir, only for current kernel 235N/A # guess kernel version (24 or 26) 935N/Aelse # neq($(KERNELRELEASE),) 963N/A # building from kbuild (make -C <kernel_directory> M=`pwd`) 963N/A # guess kernel version (24 or 26) 822N/A # IPRT_DEBUG_SEMS indicates thread wrt sems state via the comm field. 606N/A# Use the RTR0MemObj API - testing.