Makefile revision d67d8d3162b0d9cac99842fc7da74e8371453046
2N/A# VirtualBox Guest Additions Module Makefile. 2N/A# Copyright (C) 2006-2009 Sun Microsystems, Inc. 2N/A# This file is part of VirtualBox Open Source Edition (OSE), as 2N/A# you can redistribute it and/or modify it under the terms of the GNU 2N/A# General Public License (GPL) as published by the Free Software 2N/A# Foundation, in version 2 as it comes in the "COPYING" file of the 2N/A# VirtualBox OSE distribution. VirtualBox OSE is distributed in the 2N/A# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. 2N/A# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa 2N/A# additional information or have any questions. 2N/A# First, figure out which architecture we're targeting and the build type. 4360N/A# (We have to support basic cross building (ARCH=i386|x86_64).) 2N/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 # module install dir, only for current kernel endif # MODULE_DIR unspecified # guess kernel version (24 or 26) else # neq($(KERNELRELEASE),) # building from kbuild (make -C <kernel_directory> M=`pwd`) # guess kernel version (24 or 26) endif # neq($(KERNELRELEASE),) endif # eq($(MAKECMDGOALS),clean)