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