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