Makefile revision c6b3d55ef646614cc689faa1fa4ddc961712b6ff
1503N/A# Makefile for the VirtualBox Linux Host Driver. 1503N/A# Copyright (C) 2006-2012 Oracle Corporation 1503N/A# This file is part of VirtualBox Open Source Edition (OSE), as 1503N/A# you can redistribute it and/or modify it under the terms of the GNU 1503N/A# General Public License (GPL) as published by the Free Software 1503N/A# Foundation, in version 2 as it comes in the "COPYING" file of the 1503N/A# VirtualBox OSE distribution. VirtualBox OSE is distributed in the 1503N/A# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. 1503N/A# The contents of this file may alternatively be used under the terms 1503N/A# of the Common Development and Distribution License Version 1.0 1503N/A# VirtualBox OSE distribution, in which case the provisions of the 3817N/A# CDDL are applicable instead of those of the GPL. 1503N/A# You may elect to license modified versions of this file under the 1503N/A# terms and conditions of either the GPL or the CDDL or both. 1503N/A# First, figure out which architecture we're targeting and the build type. 1503N/A# (We have to support basic cross building (ARCH=i386|x86_64).) 1503N/A# While at it, warn about BUILD_* vars found to help with user problems. 3477N/A# override is required by the Debian guys # building from this directory # build for the current kernel, 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. #KFLAGS += -DIPRT_DEBUG_SEMS # OL/UEK: disable module signing for external modules -- we don't have any private key else # eq ($(MAKECMDGOALS),clean) endif # eq($(MAKECMDGOALS),clean) echo "All exported IPRT symbols are properly renamed!"; \
echo "error: Some exported IPRT symbols was not properly renamed! See above." >&
2; \