VirtualBox

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

Last change on this file since 72352 was 70160, checked in by vboxsync, 7 years ago

VboxGuest: linux & freebsd needs more source to deal with string dependencies...

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 4.1 KB
Line 
1# $Id: Makefile 70160 2017-12-15 16:54:43Z vboxsync $
2## @file
3# VirtualBox Guest Additions Module Makefile.
4#
5
6#
7# Copyright (C) 2006-2017 Oracle Corporation
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# The contents of this file may alternatively be used under the terms
18# of the Common Development and Distribution License Version 1.0
19# (CDDL) only, as it comes in the "COPYING.CDDL" file of the
20# VirtualBox OSE distribution, in which case the provisions of the
21# CDDL are applicable instead of those of the GPL.
22#
23# You may elect to license modified versions of this file under the
24# terms and conditions of either the GPL or the CDDL or both.
25#
26KMOD = vboxguest
27
28CFLAGS += -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
29
30.if (${MACHINE_ARCH} == "i386")
31 CFLAGS += -DRT_ARCH_X86
32.elif (${MACHINE_ARCH} == "amd64")
33 CFLAGS += -DRT_ARCH_AMD64
34.endif
35
36SRCS = \
37 VBoxGuest.c \
38 VBoxGuest-freebsd.c \
39 VBoxGuestR0LibGenericRequest.c \
40 VBoxGuestR0LibHGCMInternal.c \
41 VBoxGuestR0LibInit.c \
42 VBoxGuestR0LibPhysHeap.c \
43 VBoxGuestR0LibVMMDev.c
44
45# Include needed interface headers so they are created during build
46SRCS += \
47 device_if.h \
48 bus_if.h \
49 pci_if.h \
50
51.PATH: ${.CURDIR}/alloc
52SRCS += \
53 heapsimple.c
54
55.PATH: ${.CURDIR}/common/err
56SRCS += \
57 RTErrConvertFromErrno.c \
58 RTErrConvertToErrno.c \
59 errinfo.c
60
61.PATH: ${.CURDIR}/common/log
62SRCS += \
63 log.c \
64 logellipsis.c \
65 logrel.c \
66 logrelellipsis.c \
67 logcom.c \
68 logformat.c
69
70.PATH: ${.CURDIR}/common/misc
71SRCS += \
72 RTAssertMsg1Weak.c \
73 RTAssertMsg2.c \
74 RTAssertMsg2Add.c \
75 RTAssertMsg2AddWeak.c \
76 RTAssertMsg2AddWeakV.c \
77 RTAssertMsg2Weak.c \
78 RTAssertMsg2WeakV.c \
79 assert.c \
80 handletable.c \
81 handletablectx.c \
82 once.c \
83 thread.c
84
85.PATH: ${.CURDIR}/common/string
86SRCS += \
87 RTStrCat.c \
88 RTStrCmp.c \
89 RTStrCopy.c \
90 RTStrCopyEx.c \
91 RTStrCopyP.c \
92 RTStrICmpAscii.c \
93 RTStrNICmpAscii.c \
94 RTStrNCmp.c \
95 RTStrNLen.c \
96 stringalloc.c \
97 strformat.c \
98 strformatnum.c \
99 strformatrt.c \
100 strformattype.c \
101 strprintf.c \
102 strtonum.c \
103 memchr.c \
104 utf-8.c
105
106.PATH: ${.CURDIR}/common/rand
107SRCS += \
108 rand.c \
109 randadv.c \
110 randparkmiller.c
111
112.PATH: ${.CURDIR}/common/path
113SRCS += \
114 RTPathStripFilename.c
115
116.PATH: ${.CURDIR}/common/checksum
117SRCS += \
118 crc32.c \
119 ipv4.c
120
121.PATH: ${.CURDIR}/common/table
122SRCS += \
123 avlpv.c
124
125.PATH: ${.CURDIR}/common/time
126SRCS += \
127 time.c
128
129.PATH: ${.CURDIR}/generic
130SRCS += \
131 uuid-generic.c \
132 RTAssertShouldPanic-generic.c \
133 RTLogWriteDebugger-generic.c \
134 RTLogWriteStdOut-stub-generic.c \
135 RTLogWriteStdErr-stub-generic.c \
136 RTRandAdvCreateSystemFaster-generic.c \
137 RTRandAdvCreateSystemTruer-generic.c \
138 RTSemEventWait-2-ex-generic.c \
139 RTSemEventWaitNoResume-2-ex-generic.c \
140 RTSemEventMultiWait-2-ex-generic.c \
141 RTSemEventMultiWaitNoResume-2-ex-generic.c \
142 RTTimerCreate-generic.c \
143 rtStrFormatKernelAddress-generic.c \
144 timer-generic.c \
145 errvars-generic.c \
146 mppresent-generic.c
147
148.PATH: ${.CURDIR}/r0drv
149SRCS += \
150 alloc-r0drv.c \
151 initterm-r0drv.c \
152 memobj-r0drv.c \
153 powernotification-r0drv.c
154
155.PATH: ${.CURDIR}/r0drv/freebsd
156SRCS += \
157 assert-r0drv-freebsd.c \
158 alloc-r0drv-freebsd.c \
159 initterm-r0drv-freebsd.c \
160 memobj-r0drv-freebsd.c \
161 memuserkernel-r0drv-freebsd.c \
162 mp-r0drv-freebsd.c \
163 process-r0drv-freebsd.c \
164 semevent-r0drv-freebsd.c \
165 semeventmulti-r0drv-freebsd.c \
166 semfastmutex-r0drv-freebsd.c \
167 semmutex-r0drv-freebsd.c \
168 spinlock-r0drv-freebsd.c \
169 thread-r0drv-freebsd.c \
170 thread2-r0drv-freebsd.c \
171 time-r0drv-freebsd.c
172
173.PATH: ${.CURDIR}/r0drv/generic
174SRCS += \
175 semspinmutex-r0drv-generic.c \
176 mpnotification-r0drv-generic.c \
177 RTMpIsCpuWorkPending-r0drv-generic.c
178
179.PATH: ${.CURDIR}/VBox
180SRCS += \
181 log-vbox.c \
182 logbackdoor.c
183
184.include <bsd.kmod.mk>
185
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