Makefile revision 4b7b314038b5d0bbed7585c0a87901fc2b004409
842ae4bd224140319ae7feec1872b93dfd491143fielding# $Id$
842ae4bd224140319ae7feec1872b93dfd491143fielding## @file
842ae4bd224140319ae7feec1872b93dfd491143fielding# Makefile for the VirtualBox FreeBSD Host Driver.
842ae4bd224140319ae7feec1872b93dfd491143fielding#
842ae4bd224140319ae7feec1872b93dfd491143fielding
842ae4bd224140319ae7feec1872b93dfd491143fielding#
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding#
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd# Copyright (C) 2006-2007 Oracle Corporation
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding#
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd# This file is part of VirtualBox Open Source Edition (OSE), as
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd# available from http://www.virtualbox.org. This file is free software;
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd# you can redistribute it and/or modify it under the terms of the GNU
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd# General Public License (GPL) as published by the Free Software
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd# Foundation, in version 2 as it comes in the "COPYING" file of the
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding#
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding
0f081398cf0eef8cc7c66a535d450110a92dc8aefieldingKMOD = vboxnetadp
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding
0f081398cf0eef8cc7c66a535d450110a92dc8aefieldingCFLAGS += -DRT_OS_FREEBSD -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 -DVBOX -DRT_WITH_VBOX -Iinclude -I. -Ir0drv -w -DVBOX_WITH_HARDENING -DVIMAGE
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding.if (${MACHINE_ARCH} == "i386")
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding CFLAGS += -DRT_ARCH_X86
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding.elif (${MACHINE_ARCH} == "amd64")
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding CFLAGS += -DRT_ARCH_AMD64
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding.endif
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding
0f081398cf0eef8cc7c66a535d450110a92dc8aefieldingSRCS = \
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding VBoxNetAdp-freebsd.c \
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding VBoxNetAdp.c
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding
0f081398cf0eef8cc7c66a535d450110a92dc8aefieldingSRCS += device_if.h bus_if.h
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding.include <bsd.kmod.mk>
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding