Makefile revision 37136b5ecb07042e5ba50f86849a79d1cba5d5f1
253N/A# VirtualBox Guest Additions Module Makefile. 253N/A# Copyright (C) 2006-2007 Sun Microsystems, Inc. 253N/A# This file is part of VirtualBox Open Source Edition (OSE), as 253N/A# you can redistribute it and/or modify it under the terms of the GNU 253N/A# General Public License (GPL) as published by the Free Software 253N/A# Foundation, in version 2 as it comes in the "COPYING" file of the 253N/A# VirtualBox OSE distribution. VirtualBox OSE is distributed in the 253N/A# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. 253N/A# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa 253N/A# additional information or have any questions. 253N/A# First, figure out which architecture we're targeting and the build type. 253N/A# (We have to support basic cross building (ARCH=i386|x86_64).) 253N/A# While at it, warn about BUILD_* vars found to help with user problems. 253N/A# override is required by the Debian guys 253N/A # building from this directory 253N/A # kernel base directory 3477N/A # module install dir, only for current kernel 253N/A # guess kernel version (24 or 26) 253N/Aelse # neq($(KERNELRELEASE),) 253N/A # building from kbuild (make -C <kernel_directory> M=`pwd`) 3817N/A # guess kernel version (24 or 26) endif # neq($(KERNELRELEASE),) endif # eq($(MAKECMDGOALS),clean)