VirtualBox

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

Last change on this file since 32394 was 31518, checked in by vboxsync, 14 years ago

VBoxGuest: linux/freebsd source file export and building.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 3.1 KB
Line 
1# $Id: Makefile 31518 2010-08-10 11:34:07Z vboxsync $
2## @file
3# VirtualBox Guest Additions Module Makefile.
4#
5
6#
7# Copyright (C) 2006-2009 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#
17KMOD = vboxguest
18
19CFLAGS += -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
20
21.if (${MACHINE_ARCH} == "i386")
22 CFLAGS += -DRT_ARCH_X86
23.elif (${MACHINE_ARCH} == "amd64")
24 CFLAGS += -DRT_ARCH_AMD64
25.endif
26
27SRCS = \
28 VBoxGuest.c \
29 VBoxGuest2.c \
30 VBoxGuest-freebsd.c \
31 GenericRequest.c \
32 HGCMInternal.c \
33 Init.c \
34 PhysHeap.c \
35 SysHlp.c \
36 VMMDev.c
37
38# Include needed interface headers so they are created during build
39SRCS += \
40 device_if.h \
41 bus_if.h \
42 pci_if.h \
43
44.PATH: ${.CURDIR}/alloc
45SRCS += \
46 heapsimple.c
47
48.PATH: ${.CURDIR}/common/err
49SRCS += \
50 RTErrConvertFromErrno.c \
51 RTErrConvertToErrno.c
52
53.PATH: ${.CURDIR}/common/log
54SRCS += \
55 log.c \
56 logellipsis.c \
57 logrel.c \
58 logrelellipsis.c \
59 logcom.c \
60 logformat.c
61
62.PATH: ${.CURDIR}/common/misc
63SRCS += \
64 RTAssertMsg1Weak.c \
65 RTAssertMsg2.c \
66 RTAssertMsg2Add.c \
67 RTAssertMsg2AddWeak.c \
68 RTAssertMsg2AddWeakV.c \
69 RTAssertMsg2Weak.c \
70 RTAssertMsg2WeakV.c \
71 assert.c \
72 handletable.c \
73 handletablectx.c \
74 once.c \
75 thread.c
76
77.PATH: ${.CURDIR}/common/string
78SRCS += \
79 RTStrCopy.c \
80 strformat.c \
81 strformatrt.c \
82 strformattype.c \
83 strprintf.c \
84 strtonum.c \
85 memchr.c
86
87.PATH: ${.CURDIR}/common/rand
88SRCS += \
89 rand.c \
90 randadv.c \
91 randparkmiller.c
92
93.PATH: ${.CURDIR}/common/path
94SRCS += \
95 RTPathStripFilename.c
96
97.PATH: ${.CURDIR}/common/checksum
98SRCS += \
99 crc32.c \
100 ipv4.c
101
102.PATH: ${.CURDIR}/common/table
103SRCS += \
104 avlpv.c
105
106.PATH: ${.CURDIR}/generic
107SRCS += \
108 uuid-generic.c \
109 RTAssertShouldPanic-generic.c \
110 RTLogWriteDebugger-generic.c \
111 RTLogWriteStdOut-stub-generic.c \
112 RTLogWriteStdErr-stub-generic.c \
113 RTRandAdvCreateSystemFaster-generic.c \
114 RTRandAdvCreateSystemTruer-generic.c \
115 RTTimerCreate-generic.c \
116 timer-generic.c \
117 mppresent-generic.c
118
119.PATH: ${.CURDIR}/r0drv
120SRCS += \
121 alloc-r0drv.c \
122 initterm-r0drv.c \
123 memobj-r0drv.c \
124 powernotification-r0drv.c
125
126.PATH: ${.CURDIR}/r0drv/freebsd
127SRCS += \
128 assert-r0drv-freebsd.c \
129 alloc-r0drv-freebsd.c \
130 initterm-r0drv-freebsd.c \
131 memobj-r0drv-freebsd.c \
132 memuserkernel-r0drv-freebsd.c \
133 mp-r0drv-freebsd.c \
134 process-r0drv-freebsd.c \
135 semevent-r0drv-freebsd.c \
136 semeventmulti-r0drv-freebsd.c \
137 semfastmutex-r0drv-freebsd.c \
138 spinlock-r0drv-freebsd.c \
139 thread-r0drv-freebsd.c \
140 thread2-r0drv-freebsd.c \
141 time-r0drv-freebsd.c
142
143.PATH: ${.CURDIR}/r0drv/generic
144SRCS += \
145 semspinmutex-r0drv-generic.c \
146 mpnotification-r0drv-generic.c \
147 RTMpIsCpuWorkPending-r0drv-generic.c
148
149.PATH: ${.CURDIR}/VBox
150SRCS += \
151 log-vbox.c \
152 logbackdoor.c
153
154.include <bsd.kmod.mk>
155
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