Makefile revision 40b7f0c2d3f97e0c6171f34f96ec3e05eea44d72
# VirtualBox Guest Additions Module Makefile. # Copyright (C) 2006-2009 Sun Microsystems, Inc. # This file is part of VirtualBox Open Source Edition (OSE), as # you can redistribute it and/or modify it under the terms of the GNU # General Public License (GPL) as published by the Free Software # Foundation, in version 2 as it comes in the "COPYING" file of the # VirtualBox OSE distribution. VirtualBox OSE is distributed in the # hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa # additional information or have any questions. # First, figure out which architecture we're targeting and the build type. # (We have to support basic cross building (ARCH=i386|x86_64).) # 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)