c366016ffe1788c6847d0a967a954713725cab5evboxsync# $Id$
c366016ffe1788c6847d0a967a954713725cab5evboxsync## @file
c366016ffe1788c6847d0a967a954713725cab5evboxsync# Makefile for the VirtualBox FreeBSD Host Driver.
c366016ffe1788c6847d0a967a954713725cab5evboxsync#
c366016ffe1788c6847d0a967a954713725cab5evboxsync
c366016ffe1788c6847d0a967a954713725cab5evboxsync#
c366016ffe1788c6847d0a967a954713725cab5evboxsync#
c58f1213e628a545081c70e26c6b67a841cff880vboxsync# Copyright (C) 2006-2012 Oracle Corporation
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
c366016ffe1788c6847d0a967a954713725cab5evboxsyncKMOD = vboxnetadp
c366016ffe1788c6847d0a967a954713725cab5evboxsync
4b7b314038b5d0bbed7585c0a87901fc2b004409vboxsyncCFLAGS += -DRT_OS_FREEBSD -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 -DVBOX -DRT_WITH_VBOX -Iinclude -I. -Ir0drv -w -DVBOX_WITH_HARDENING -DVIMAGE
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