Makefile revision c366016ffe1788c6847d0a967a954713725cab5e
c366016ffe1788c6847d0a967a954713725cab5evboxsync# $Id$
c366016ffe1788c6847d0a967a954713725cab5evboxsync## @file
c366016ffe1788c6847d0a967a954713725cab5evboxsync# Makefile for the VirtualBox FreeBSD Host Driver.
c366016ffe1788c6847d0a967a954713725cab5evboxsync#
c366016ffe1788c6847d0a967a954713725cab5evboxsync
c366016ffe1788c6847d0a967a954713725cab5evboxsync#
c366016ffe1788c6847d0a967a954713725cab5evboxsync#
c366016ffe1788c6847d0a967a954713725cab5evboxsync# Copyright (C) 2006-2007 Sun Microsystems, Inc.
c366016ffe1788c6847d0a967a954713725cab5evboxsync#
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#
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#
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#
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.
c366016ffe1788c6847d0a967a954713725cab5evboxsync#
c366016ffe1788c6847d0a967a954713725cab5evboxsync
c366016ffe1788c6847d0a967a954713725cab5evboxsyncKMOD = vboxnetadp
c366016ffe1788c6847d0a967a954713725cab5evboxsync
c366016ffe1788c6847d0a967a954713725cab5evboxsyncCFLAGS += -DRT_OS_FREEBSD -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 -DVBOX -DRT_WITH_VBOX -Iinclude -I. -Ir0drv -w -DVBOX_WITH_HARDENING
c366016ffe1788c6847d0a967a954713725cab5evboxsync
c366016ffe1788c6847d0a967a954713725cab5evboxsync.if (${MACHINE_ARCH} == "i386")
c366016ffe1788c6847d0a967a954713725cab5evboxsync CFLAGS += -DRT_ARCH_X86
c366016ffe1788c6847d0a967a954713725cab5evboxsync.elif (${MACHINE_ARCH} == "amd64")
c366016ffe1788c6847d0a967a954713725cab5evboxsync CFLAGS += -DRT_ARCH_AMD64
c366016ffe1788c6847d0a967a954713725cab5evboxsync.endif
c366016ffe1788c6847d0a967a954713725cab5evboxsync
c366016ffe1788c6847d0a967a954713725cab5evboxsyncSRCS = \
c366016ffe1788c6847d0a967a954713725cab5evboxsync VBoxNetAdp-freebsd.c \
c366016ffe1788c6847d0a967a954713725cab5evboxsync VBoxNetAdp.c
c366016ffe1788c6847d0a967a954713725cab5evboxsync
c366016ffe1788c6847d0a967a954713725cab5evboxsyncSRCS += device_if.h bus_if.h
c366016ffe1788c6847d0a967a954713725cab5evboxsync
c366016ffe1788c6847d0a967a954713725cab5evboxsync.include <bsd.kmod.mk>
c366016ffe1788c6847d0a967a954713725cab5evboxsync