Makefile revision a7aa94e0115a73841f34ebbfa00f63fa1904e51f
0N/A# Makefile for the VirtualBox Linux Host Driver. 0N/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 873N/A# of the Common Development and Distribution License Version 1.0 0N/A# VirtualBox OSE distribution, in which case the provisions of the 0N/A# CDDL are applicable instead of those of the GPL. 0N/A# You may elect to license modified versions of this file under the 3215N/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. 0N/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. # 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. endif # eq($(MAKECMDGOALS),clean)