VirtualBox

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

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

Additions/FreeBSD: Fix build

  • 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 27149 2010-03-07 17:04:23Z 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
89.PATH: ${.CURDIR}/common/rand
90SRCS += \
91 rand.c \
92 randadv.c \
93 randparkmiller.c
94
95.PATH: ${.CURDIR}/common/path
96SRCS += \
97 RTPathStripFilename.c
98
99.PATH: ${.CURDIR}/common/checksum
100SRCS += \
101 crc32.c \
102 ipv4.c
103
104.PATH: ${.CURDIR}/common/table
105SRCS += \
106 avlpv.c
107
108.PATH: ${.CURDIR}/generic
109SRCS += \
110 uuid-generic.c \
111 RTAssertShouldPanic-generic.c \
112 RTLogWriteDebugger-generic.c \
113 RTLogWriteStdOut-stub-generic.c \
114 RTLogWriteStdErr-stub-generic.c \
115 RTRandAdvCreateSystemFaster-generic.c \
116 RTRandAdvCreateSystemTruer-generic.c \
117 RTTimerCreate-generic.c \
118 timer-generic.c \
119 mppresent-generic.c
120
121.PATH: ${.CURDIR}/r0drv
122SRCS += \
123 alloc-r0drv.c \
124 initterm-r0drv.c \
125 memobj-r0drv.c \
126 powernotification-r0drv.c
127
128.PATH: ${.CURDIR}/r0drv/freebsd
129SRCS += \
130 assert-r0drv-freebsd.c \
131 alloc-r0drv-freebsd.c \
132 initterm-r0drv-freebsd.c \
133 memobj-r0drv-freebsd.c \
134 memuserkernel-r0drv-freebsd.c \
135 mp-r0drv-freebsd.c \
136 process-r0drv-freebsd.c \
137 semevent-r0drv-freebsd.c \
138 semeventmulti-r0drv-freebsd.c \
139 semfastmutex-r0drv-freebsd.c \
140 spinlock-r0drv-freebsd.c \
141 thread-r0drv-freebsd.c \
142 thread2-r0drv-freebsd.c \
143 time-r0drv-freebsd.c
144
145.PATH: ${.CURDIR}/r0drv/generic
146SRCS += \
147 semspinmutex-r0drv-generic.c \
148 mpnotification-r0drv-generic.c \
149 RTMpIsCpuWorkPending-r0drv-generic.c
150
151.PATH: ${.CURDIR}/VBox
152SRCS += \
153 log-vbox.c \
154 logbackdoor.c
155
156.include <bsd.kmod.mk>
157
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