VirtualBox

source: vbox/trunk/src/VBox/Additions/common/VBoxGuest/freebsd/Makefile@ 26180

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

*: The rest of the %V* format specifiers are history.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 3.3 KB
Line 
1# $Id: Makefile 26180 2010-02-02 22:52:04Z vboxsync $
2## @file
3# VirtualBox Guest Additions Module Makefile.
4#
5
6#
7# Copyright (C) 2006-2009 Sun Microsystems, Inc.
8#
9# This file is part of VirtualBox Open Source Edition (OSE), as
10# available from http://www.virtualbox.org. This file is free software;
11# you can redistribute it and/or modify it under the terms of the GNU
12# General Public License (GPL) as published by the Free Software
13# Foundation, in version 2 as it comes in the "COPYING" file of the
14# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
15# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
16#
17# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
18# Clara, CA 95054 USA or visit http://www.sun.com if you need
19# additional information or have any questions.
20#
21KMOD = vboxguest
22
23CFLAGS += -DRT_OS_FREEBSD -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 -DVBOX -DRT_WITH_VBOX -Iinclude -I. -Ir0drv -w -DVBGL_VBOXGUEST -DVBOX_WITH_HGCM -DVBOX_WITH_64_BITS_GUESTS
24
25.if (${MACHINE_ARCH} == "i386")
26 CFLAGS += -DRT_ARCH_X86
27.elif (${MACHINE_ARCH} == "amd64")
28 CFLAGS += -DRT_ARCH_AMD64
29.endif
30
31SRCS = \
32 VBoxGuest.c \
33 VBoxGuest-freebsd.c \
34 GenericRequest.c \
35 HGCMInternal.c \
36 Init.c \
37 PhysHeap.c \
38 SysHlp.c \
39 VMMDev.c
40
41# Include needed interface headers so they are created during build
42SRCS += \
43 device_if.h \
44 bus_if.h \
45 pci_if.h \
46
47.PATH: ${.CURDIR}/alloc
48SRCS += \
49 heapsimple.c
50
51.PATH: ${.CURDIR}/common/err
52SRCS += \
53 RTErrConvertFromErrno.c \
54 RTErrConvertToErrno.c
55
56.PATH: ${.CURDIR}/common/log
57SRCS += \
58 log.c \
59 logellipsis.c \
60 logrel.c \
61 logrelellipsis.c \
62 logcom.c \
63 logformat.c
64
65.PATH: ${.CURDIR}/common/misc
66SRCS += \
67 RTAssertMsg1Weak.c \
68 RTAssertMsg2.c \
69 RTAssertMsg2Add.c \
70 RTAssertMsg2AddWeak.c \
71 RTAssertMsg2AddWeakV.c \
72 RTAssertMsg2Weak.c \
73 RTAssertMsg2WeakV.c \
74 assert.c \
75 handletable.c \
76 handletablectx.c \
77 once.c \
78 thread.c
79
80.PATH: ${.CURDIR}/common/string
81SRCS += \
82 strformat.c \
83 strformatrt.c \
84 strformattype.c \
85 strprintf.c \
86 strtonum.c \
87 memchr.c \
88 string.c
89
90.PATH: ${.CURDIR}/common/rand
91SRCS += \
92 rand.c \
93 randadv.c \
94 randparkmiller.c
95
96.PATH: ${.CURDIR}/common/path
97SRCS += \
98 RTPathStripFilename.c
99
100.PATH: ${.CURDIR}/common/checksum
101SRCS += \
102 crc32.c \
103 ipv4.c
104
105.PATH: ${.CURDIR}/common/table
106SRCS += \
107 avlpv.c
108
109.PATH: ${.CURDIR}/generic
110SRCS += \
111 uuid-generic.c \
112 RTAssertShouldPanic-generic.c \
113 RTLogWriteDebugger-generic.c \
114 RTLogWriteStdOut-stub-generic.c \
115 RTLogWriteStdErr-stub-generic.c \
116 RTRandAdvCreateSystemFaster-generic.c \
117 RTRandAdvCreateSystemTruer-generic.c \
118 RTTimerCreate-generic.c \
119 timer-generic.c \
120 mppresent-generic.c
121
122.PATH: ${.CURDIR}/r0drv
123SRCS += \
124 alloc-r0drv.c \
125 initterm-r0drv.c \
126 memobj-r0drv.c \
127 powernotification-r0drv.c
128
129.PATH: ${.CURDIR}/r0drv/freebsd
130SRCS += \
131 assert-r0drv-freebsd.c \
132 alloc-r0drv-freebsd.c \
133 initterm-r0drv-freebsd.c \
134 memobj-r0drv-freebsd.c \
135 memuserkernel-r0drv-freebsd.c \
136 mp-r0drv-freebsd.c \
137 process-r0drv-freebsd.c \
138 semevent-r0drv-freebsd.c \
139 semeventmulti-r0drv-freebsd.c \
140 semfastmutex-r0drv-freebsd.c \
141 spinlock-r0drv-freebsd.c \
142 thread-r0drv-freebsd.c \
143 thread2-r0drv-freebsd.c \
144 time-r0drv-freebsd.c
145
146.PATH: ${.CURDIR}/r0drv/generic
147SRCS += \
148 semspinmutex-r0drv-generic.c \
149 mpnotification-r0drv-generic.c \
150 RTMpIsCpuWorkPending-r0drv-generic.c
151
152.PATH: ${.CURDIR}/VBox
153SRCS += \
154 log-vbox.c \
155 logbackdoor.c
156
157.include <bsd.kmod.mk>
158
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