Makefile revision 03008243d31ee0f98824a3da97198aecfd9cdd89
1332N/A# Makefile for the VirtualBox Linux Host Driver. 1332N/A# Copyright (C) 2006-2007 Oracle Corporation 1332N/A# This file is part of VirtualBox Open Source Edition (OSE), as 1332N/A# you can redistribute it and/or modify it under the terms of the GNU 1332N/A# General Public License (GPL) as published by the Free Software 1332N/A# Foundation, in version 2 as it comes in the "COPYING" file of the 1332N/A# VirtualBox OSE distribution. VirtualBox OSE is distributed in the 1332N/A# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. 1332N/A# The contents of this file may alternatively be used under the terms 1332N/A# of the Common Development and Distribution License Version 1.0 1332N/A# VirtualBox OSE distribution, in which case the provisions of the 1332N/A# CDDL are applicable instead of those of the GPL. 1332N/A# You may elect to license modified versions of this file under the 1332N/A# terms and conditions of either the GPL or the CDDL or both. 1332N/A# First, figure out which architecture we're targeting and the build type. 1332N/A# (We have to support basic cross building (ARCH=i386|x86_64).) 1332N/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)