VirtualBox

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

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

Linux/FreeBSD Additions: fixed missing RTStrCopy

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