VirtualBox

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

Last change on this file since 28801 was 28800, checked in by vboxsync, 14 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.1 KB
Line 
1# $Id: Makefile 28800 2010-04-27 08:22:32Z 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 VBoxGuest-freebsd.c \
30 GenericRequest.c \
31 HGCMInternal.c \
32 Init.c \
33 PhysHeap.c \
34 SysHlp.c \
35 VMMDev.c
36
37# Include needed interface headers so they are created during build
38SRCS += \
39 device_if.h \
40 bus_if.h \
41 pci_if.h \
42
43.PATH: ${.CURDIR}/alloc
44SRCS += \
45 heapsimple.c
46
47.PATH: ${.CURDIR}/common/err
48SRCS += \
49 RTErrConvertFromErrno.c \
50 RTErrConvertToErrno.c
51
52.PATH: ${.CURDIR}/common/log
53SRCS += \
54 log.c \
55 logellipsis.c \
56 logrel.c \
57 logrelellipsis.c \
58 logcom.c \
59 logformat.c
60
61.PATH: ${.CURDIR}/common/misc
62SRCS += \
63 RTAssertMsg1Weak.c \
64 RTAssertMsg2.c \
65 RTAssertMsg2Add.c \
66 RTAssertMsg2AddWeak.c \
67 RTAssertMsg2AddWeakV.c \
68 RTAssertMsg2Weak.c \
69 RTAssertMsg2WeakV.c \
70 assert.c \
71 handletable.c \
72 handletablectx.c \
73 once.c \
74 thread.c
75
76.PATH: ${.CURDIR}/common/string
77SRCS += \
78 strformat.c \
79 strformatrt.c \
80 strformattype.c \
81 strprintf.c \
82 strtonum.c \
83 memchr.c
84
85.PATH: ${.CURDIR}/common/rand
86SRCS += \
87 rand.c \
88 randadv.c \
89 randparkmiller.c
90
91.PATH: ${.CURDIR}/common/path
92SRCS += \
93 RTPathStripFilename.c
94
95.PATH: ${.CURDIR}/common/checksum
96SRCS += \
97 crc32.c \
98 ipv4.c
99
100.PATH: ${.CURDIR}/common/table
101SRCS += \
102 avlpv.c
103
104.PATH: ${.CURDIR}/generic
105SRCS += \
106 uuid-generic.c \
107 RTAssertShouldPanic-generic.c \
108 RTLogWriteDebugger-generic.c \
109 RTLogWriteStdOut-stub-generic.c \
110 RTLogWriteStdErr-stub-generic.c \
111 RTRandAdvCreateSystemFaster-generic.c \
112 RTRandAdvCreateSystemTruer-generic.c \
113 RTTimerCreate-generic.c \
114 timer-generic.c \
115 mppresent-generic.c
116
117.PATH: ${.CURDIR}/r0drv
118SRCS += \
119 alloc-r0drv.c \
120 initterm-r0drv.c \
121 memobj-r0drv.c \
122 powernotification-r0drv.c
123
124.PATH: ${.CURDIR}/r0drv/freebsd
125SRCS += \
126 assert-r0drv-freebsd.c \
127 alloc-r0drv-freebsd.c \
128 initterm-r0drv-freebsd.c \
129 memobj-r0drv-freebsd.c \
130 memuserkernel-r0drv-freebsd.c \
131 mp-r0drv-freebsd.c \
132 process-r0drv-freebsd.c \
133 semevent-r0drv-freebsd.c \
134 semeventmulti-r0drv-freebsd.c \
135 semfastmutex-r0drv-freebsd.c \
136 spinlock-r0drv-freebsd.c \
137 thread-r0drv-freebsd.c \
138 thread2-r0drv-freebsd.c \
139 time-r0drv-freebsd.c
140
141.PATH: ${.CURDIR}/r0drv/generic
142SRCS += \
143 semspinmutex-r0drv-generic.c \
144 mpnotification-r0drv-generic.c \
145 RTMpIsCpuWorkPending-r0drv-generic.c
146
147.PATH: ${.CURDIR}/VBox
148SRCS += \
149 log-vbox.c \
150 logbackdoor.c
151
152.include <bsd.kmod.mk>
153
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