VirtualBox

source: vbox/trunk/src/VBox/HostDrivers/Support/freebsd/Makefile@ 29826

Last change on this file since 29826 was 28800, checked in by vboxsync, 15 years ago

Automated rebranding to Oracle copyright/license strings via filemuncher

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 3.6 KB
Line 
1# $Id: Makefile 28800 2010-04-27 08:22:32Z vboxsync $
2## @file
3# Makefile for the VirtualBox FreeBSD Host Driver.
4#
5
6#
7#
8# Copyright (C) 2006-2007 Oracle Corporation
9#
10# This file is part of VirtualBox Open Source Edition (OSE), as
11# available from http://www.virtualbox.org. This file is free software;
12# you can redistribute it and/or modify it under the terms of the GNU
13# General Public License (GPL) as published by the Free Software
14# Foundation, in version 2 as it comes in the "COPYING" file of the
15# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
16# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
17#
18# The contents of this file may alternatively be used under the terms
19# of the Common Development and Distribution License Version 1.0
20# (CDDL) only, as it comes in the "COPYING.CDDL" file of the
21# VirtualBox OSE distribution, in which case the provisions of the
22# CDDL are applicable instead of those of the GPL.
23#
24# You may elect to license modified versions of this file under the
25# terms and conditions of either the GPL or the CDDL or both.
26#
27
28KMOD = vboxdrv
29
30CFLAGS += -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
31
32.if (${MACHINE_ARCH} == "i386")
33 CFLAGS += -DRT_ARCH_X86
34.elif (${MACHINE_ARCH} == "amd64")
35 CFLAGS += -DRT_ARCH_AMD64
36.endif
37
38SRCS = \
39 SUPDrv.c \
40 SUPDrvSem.c \
41
42# Include needed interface headers so they are created during build
43SRCS += \
44 device_if.h \
45 bus_if.h
46
47.PATH: ${.CURDIR}/freebsd
48SRCS += \
49 SUPDrv-freebsd.c
50
51.PATH: ${.CURDIR}/alloc
52SRCS += \
53 heapsimple.c
54
55.PATH: ${.CURDIR}/common/err
56SRCS += \
57 RTErrConvertFromErrno.c \
58 RTErrConvertToErrno.c
59
60.PATH: ${.CURDIR}/common/log
61SRCS += \
62 log.c \
63 logellipsis.c \
64 logrel.c \
65 logrelellipsis.c \
66 logcom.c \
67 logformat.c
68
69.PATH: ${.CURDIR}/common/misc
70SRCS += \
71 RTAssertMsg1Weak.c \
72 RTAssertMsg2.c \
73 RTAssertMsg2Add.c \
74 RTAssertMsg2AddWeak.c \
75 RTAssertMsg2AddWeakV.c \
76 RTAssertMsg2Weak.c \
77 RTAssertMsg2WeakV.c \
78 assert.c \
79 handletable.c \
80 handletablectx.c \
81 once.c \
82 thread.c
83
84.PATH: ${.CURDIR}/common/string
85SRCS += \
86 strformat.c \
87 strformatrt.c \
88 strformattype.c \
89 strprintf.c \
90 strtonum.c \
91 memchr.c \
92 stringalloc.c
93
94.PATH: ${.CURDIR}/common/rand
95SRCS += \
96 rand.c \
97 randadv.c \
98 randparkmiller.c
99
100.PATH: ${.CURDIR}/common/path
101SRCS += \
102 RTPathStripFilename.c
103
104.PATH: ${.CURDIR}/common/checksum
105SRCS += \
106 crc32.c \
107 ipv4.c
108
109.PATH: ${.CURDIR}/common/table
110SRCS += \
111 avlpv.c
112
113.PATH: ${.CURDIR}/generic
114SRCS += \
115 uuid-generic.c \
116 RTAssertShouldPanic-generic.c \
117 RTLogWriteDebugger-generic.c \
118 RTLogWriteStdOut-stub-generic.c \
119 RTLogWriteStdErr-stub-generic.c \
120 RTLogWriteUser-generic.c \
121 RTRandAdvCreateSystemFaster-generic.c \
122 RTRandAdvCreateSystemTruer-generic.c \
123 RTTimerCreate-generic.c \
124 timer-generic.c \
125 mppresent-generic.c
126
127.PATH: ${.CURDIR}/r0drv
128SRCS += \
129 alloc-r0drv.c \
130 initterm-r0drv.c \
131 memobj-r0drv.c \
132 powernotification-r0drv.c
133
134.PATH: ${.CURDIR}/r0drv/freebsd
135SRCS += \
136 assert-r0drv-freebsd.c \
137 alloc-r0drv-freebsd.c \
138 initterm-r0drv-freebsd.c \
139 memobj-r0drv-freebsd.c \
140 memuserkernel-r0drv-freebsd.c \
141 mp-r0drv-freebsd.c \
142 process-r0drv-freebsd.c \
143 semevent-r0drv-freebsd.c \
144 semeventmulti-r0drv-freebsd.c \
145 semfastmutex-r0drv-freebsd.c \
146 semmutex-r0drv-freebsd.c \
147 spinlock-r0drv-freebsd.c \
148 thread-r0drv-freebsd.c \
149 thread2-r0drv-freebsd.c \
150 time-r0drv-freebsd.c
151
152.PATH: ${.CURDIR}/r0drv/generic
153SRCS += \
154 semspinmutex-r0drv-generic.c \
155 mpnotification-r0drv-generic.c \
156 RTMpIsCpuWorkPending-r0drv-generic.c
157
158.PATH: ${.CURDIR}/VBox
159SRCS += \
160 log-vbox.c
161
162.include <bsd.kmod.mk>
163
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette