Makefile revision c366016ffe1788c6847d0a967a954713725cab5e
c366016ffe1788c6847d0a967a954713725cab5evboxsync# Makefile for the VirtualBox FreeBSD Host Driver.
c366016ffe1788c6847d0a967a954713725cab5evboxsync# Copyright (C) 2006-2007 Sun Microsystems, Inc.
c366016ffe1788c6847d0a967a954713725cab5evboxsync# This file is part of VirtualBox Open Source Edition (OSE), as
c366016ffe1788c6847d0a967a954713725cab5evboxsync# available from http://www.virtualbox.org. This file is free software;
c366016ffe1788c6847d0a967a954713725cab5evboxsync# you can redistribute it and/or modify it under the terms of the GNU
c366016ffe1788c6847d0a967a954713725cab5evboxsync# General Public License (GPL) as published by the Free Software
c366016ffe1788c6847d0a967a954713725cab5evboxsync# Foundation, in version 2 as it comes in the "COPYING" file of the
c366016ffe1788c6847d0a967a954713725cab5evboxsync# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
c366016ffe1788c6847d0a967a954713725cab5evboxsync# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
c366016ffe1788c6847d0a967a954713725cab5evboxsync# The contents of this file may alternatively be used under the terms
c366016ffe1788c6847d0a967a954713725cab5evboxsync# of the Common Development and Distribution License Version 1.0
c366016ffe1788c6847d0a967a954713725cab5evboxsync# (CDDL) only, as it comes in the "COPYING.CDDL" file of the
c366016ffe1788c6847d0a967a954713725cab5evboxsync# VirtualBox OSE distribution, in which case the provisions of the
c366016ffe1788c6847d0a967a954713725cab5evboxsync# CDDL are applicable instead of those of the GPL.
c366016ffe1788c6847d0a967a954713725cab5evboxsync# You may elect to license modified versions of this file under the
c366016ffe1788c6847d0a967a954713725cab5evboxsync# terms and conditions of either the GPL or the CDDL or both.
c366016ffe1788c6847d0a967a954713725cab5evboxsync# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
c366016ffe1788c6847d0a967a954713725cab5evboxsync# Clara, CA 95054 USA or visit http://www.sun.com if you need
c366016ffe1788c6847d0a967a954713725cab5evboxsync# additional information or have any questions.
c366016ffe1788c6847d0a967a954713725cab5evboxsyncCFLAGS += -DRT_OS_FREEBSD -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 -DVBOX -DRT_WITH_VBOX -Iinclude -I. -Ir0drv -w -DVBOX_WITH_HARDENING -DVBOX_WITH_64_BITS_GUESTS
c366016ffe1788c6847d0a967a954713725cab5evboxsync r0drv/generic/RTMpIsCpuWorkPending-r0drv-generic.c \
c366016ffe1788c6847d0a967a954713725cab5evboxsync# HACK ALERT: The generated object files are not stored in the same directories as the
c366016ffe1788c6847d0a967a954713725cab5evboxsync# C files but in the current directory. Linking will fail because
c366016ffe1788c6847d0a967a954713725cab5evboxsync# it searches in the given directories for object files but doesn't
c366016ffe1788c6847d0a967a954713725cab5evboxsync# find them. Redefine the varaiable used for linking with the correct paths
c366016ffe1788c6847d0a967a954713725cab5evboxsync# to the files. KEEP IN SYNC WITH ABOVE DEFINITION!!!