1 | # $Id: Makefile.kmk 11352 2008-08-12 12:54:16Z vboxsync $
|
---|
2 | ## @file
|
---|
3 | # Sub-Makefile for the IPRT (IPRT).
|
---|
4 | #
|
---|
5 |
|
---|
6 | #
|
---|
7 | # Copyright (C) 2006-2007 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 | # 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 | #
|
---|
26 | # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
|
---|
27 | # Clara, CA 95054 USA or visit http://www.sun.com if you need
|
---|
28 | # additional information or have any questions.
|
---|
29 | #
|
---|
30 |
|
---|
31 | ifdef VBOX_KBUILD_HACKING
|
---|
32 | SUB_DEPTH = ../../..
|
---|
33 | else
|
---|
34 | SUB_DEPTH = .
|
---|
35 | DEPTH ?= ../../..
|
---|
36 | endif
|
---|
37 | include $(KBUILD_PATH)/subheader.kmk
|
---|
38 |
|
---|
39 | ifdef VBOX_ONLY_ADDITIONS
|
---|
40 | #
|
---|
41 | # Only build the additions, sort out the legacy names first.
|
---|
42 | #
|
---|
43 | LIBRARIES += RuntimeGuestR0 RuntimeGuestR3 RuntimeGuestR3Mini
|
---|
44 | #LIBRARIES.os2 = RuntimeGuestR0OS2Warp3
|
---|
45 | LIBRARIES.win.x86 += RuntimeGuestR0NT4
|
---|
46 | ifndef VBOX_WITH_ADDITION_DRIVERS
|
---|
47 | if1of ($(KBUILD_TARGET), linux l4) # All drivers are optional, can skip RuntimeGuestR0.
|
---|
48 | LIBRARIES := $(filter-out RuntimeGuestR0, $(LIBRARIES))
|
---|
49 | endif
|
---|
50 | endif
|
---|
51 |
|
---|
52 | else
|
---|
53 |
|
---|
54 | #
|
---|
55 | # Normal build.
|
---|
56 | #
|
---|
57 | include $(PATH_SUB_CURRENT)/testcase/Makefile.kmk
|
---|
58 |
|
---|
59 | BLDPROGS += uniread
|
---|
60 | LIBRARIES += RuntimeR3 RuntimeR0 RuntimeGC RuntimeEFCPP RuntimeR3NoCRTGCC
|
---|
61 | ifdef VBOX_WITH_VBOXDRV
|
---|
62 | LIBRARIES += RuntimeR0Drv
|
---|
63 | endif
|
---|
64 | ifdef VBOX_WITH_ADDITIONS
|
---|
65 | LIBRARIES += RuntimeGuestR0 RuntimeGuestR3 RuntimeGuestR3Mini
|
---|
66 | #LIBRARIES.os2 += RuntimeGuestR0OS2Warp3
|
---|
67 | LIBRARIES.win.x86 += RuntimeGuestR0NT4
|
---|
68 | ifndef VBOX_WITH_ADDITION_DRIVERS
|
---|
69 | if1of ($(KBUILD_TARGET), linux l4) # All drivers are optional, can skip RuntimeGuestR0.
|
---|
70 | LIBRARIES := $(filter-out RuntimeGuestR0, $(LIBRARIES))
|
---|
71 | endif
|
---|
72 | endif
|
---|
73 | endif # VBOX_WITH_ADDITIONS
|
---|
74 | LIBRARIES.l4 += RuntimeR3L4 RuntimeLnxHostR3
|
---|
75 | DLLS += VBoxRT
|
---|
76 | OTHER_CLEAN += \
|
---|
77 | $(PATH_TARGET)/errmsgdata.h \
|
---|
78 | $(PATH_TARGET)/errmsgcomdata.h \
|
---|
79 | $(PATH_TARGET)/Doxyfile.iprt \
|
---|
80 | $(PATH_TARGET)/Doxyfile.iprt.dep \
|
---|
81 | $(PATH_TARGET)/docs.iprt
|
---|
82 |
|
---|
83 | endif
|
---|
84 |
|
---|
85 |
|
---|
86 | #
|
---|
87 | # Globals
|
---|
88 | #
|
---|
89 | VBOX_PATH_RUNTIME_SRC := $(PATH_SUB_CURRENT)
|
---|
90 |
|
---|
91 |
|
---|
92 | #
|
---|
93 | # Unicode Specification reader used to regenerate unidata.cpp.
|
---|
94 | #
|
---|
95 | uniread_TEMPLATE = VBOXBLDPROG
|
---|
96 | uniread_SOURCES = common/string/uniread.cpp
|
---|
97 | uniread_INCS = include
|
---|
98 |
|
---|
99 | #
|
---|
100 | # Win64 assembly sources.
|
---|
101 | #
|
---|
102 | RuntimeWin64ASM_SOURCES = \
|
---|
103 | win/amd64/ASMAtomicBitClear.asm \
|
---|
104 | win/amd64/ASMAtomicBitTestAndToggle.asm \
|
---|
105 | win/amd64/ASMAtomicBitToggle.asm \
|
---|
106 | win/amd64/ASMAtomicReadU64.asm \
|
---|
107 | win/amd64/ASMAtomicXchgU16.asm \
|
---|
108 | win/amd64/ASMAtomicXchgU8.asm \
|
---|
109 | win/amd64/ASMBitFirstClear.asm \
|
---|
110 | win/amd64/ASMBitFirstSet.asm \
|
---|
111 | win/amd64/ASMGetCS.asm \
|
---|
112 | win/amd64/ASMGetDS.asm \
|
---|
113 | win/amd64/ASMGetES.asm \
|
---|
114 | win/amd64/ASMGetFlags.asm \
|
---|
115 | win/amd64/ASMGetFS.asm \
|
---|
116 | win/amd64/ASMGetGS.asm \
|
---|
117 | win/amd64/ASMGetIDTR.asm \
|
---|
118 | win/amd64/ASMGetGDTR.asm \
|
---|
119 | win/amd64/ASMGetTR.asm \
|
---|
120 | win/amd64/ASMGetSS.asm \
|
---|
121 | win/amd64/ASMProbeReadByte.asm \
|
---|
122 | win/amd64/ASMSetFlags.asm \
|
---|
123 | win/amd64/ASMGetDR0.asm \
|
---|
124 | win/amd64/ASMGetDR1.asm \
|
---|
125 | win/amd64/ASMGetDR2.asm \
|
---|
126 | win/amd64/ASMGetDR3.asm \
|
---|
127 | win/amd64/ASMGetDR6.asm \
|
---|
128 | win/amd64/ASMGetDR7.asm \
|
---|
129 | common/asm/ASMMultU64ByU32DivByU32.asm
|
---|
130 |
|
---|
131 | #
|
---|
132 | # Win32 assembly sources.
|
---|
133 | #
|
---|
134 | RuntimeWin32ASM_SOURCES = \
|
---|
135 | common/asm/ASMMultU64ByU32DivByU32.asm
|
---|
136 |
|
---|
137 | #
|
---|
138 | # RuntimeR3 - Static Runtime for Ring-3 executables.
|
---|
139 | #
|
---|
140 | RuntimeR3_TEMPLATE = VBOXR3EXE
|
---|
141 | RuntimeR3_SDKS.win = WINPSDK W2K3DDK
|
---|
142 | RuntimeR3_DEFS = IN_RT_R3 IN_SUP_R3 LDR_WITH_NATIVE LDR_WITH_ELF32 LDR_WITH_PE RT_WITH_VBOX
|
---|
143 | ifdef IPRT_WITH_KSTUFF
|
---|
144 | RuntimeR3_DEFS += LDR_WITH_KLDR
|
---|
145 | endif
|
---|
146 | ifdef VBOX_MAIN_RELEASE_LOG ## @todo (dmik): temporary, until RTThreadSelf/RTThreadAdopt are properly updated
|
---|
147 | RuntimeR3_DEFS += RTCRITSECT_STRICT
|
---|
148 | endif
|
---|
149 | RuntimeR3_INCS = \
|
---|
150 | include \
|
---|
151 | $(PATH_ROOT)/src/libs/liblzf-1.51
|
---|
152 | ifdef IPRT_WITH_KSTUFF
|
---|
153 | RuntimeR3_INCS += \
|
---|
154 | $(PATH_ROOT)/src/libs/kStuff/kStuff/include
|
---|
155 | endif
|
---|
156 | RuntimeR3_INCS.l4 = \
|
---|
157 | $(L4_INCDIR)
|
---|
158 | # for iconv.h
|
---|
159 | RuntimeR3_INCS.freebsd = \
|
---|
160 | /usr/local/include
|
---|
161 |
|
---|
162 |
|
---|
163 | # RuntimeR3_INCS.solaris = \
|
---|
164 | # /usr/include
|
---|
165 |
|
---|
166 | RuntimeR3_SOURCES = \
|
---|
167 | common/alloc/alloc.cpp \
|
---|
168 | common/alloc/heapsimple.cpp \
|
---|
169 | common/checksum/crc32.cpp \
|
---|
170 | common/checksum/crc64.cpp \
|
---|
171 | common/checksum/md5.cpp \
|
---|
172 | common/checksum/ipv4.cpp \
|
---|
173 | common/err/errmsg.cpp \
|
---|
174 | common/err/RTErrConvertFromErrno.cpp \
|
---|
175 | common/ldr/ldr.cpp \
|
---|
176 | common/ldr/ldrELF.cpp \
|
---|
177 | common/ldr/ldrEx.cpp \
|
---|
178 | common/ldr/ldrFile.cpp \
|
---|
179 | common/ldr/ldrNative.cpp \
|
---|
180 | common/ldr/ldrPE.cpp \
|
---|
181 | common/log/log.cpp \
|
---|
182 | common/log/logcom.cpp \
|
---|
183 | common/log/logformat.cpp \
|
---|
184 | common/misc/assert.cpp \
|
---|
185 | common/misc/cache.cpp \
|
---|
186 | common/misc/cidr.cpp \
|
---|
187 | common/misc/getopt.cpp \
|
---|
188 | common/misc/handletable.cpp \
|
---|
189 | common/misc/handletablectx.cpp \
|
---|
190 | common/misc/handletablesimple.cpp \
|
---|
191 | common/misc/once.cpp \
|
---|
192 | common/misc/req.cpp \
|
---|
193 | common/misc/sanity-c.c \
|
---|
194 | common/misc/sanity-cpp.cpp \
|
---|
195 | common/misc/semspingpong.cpp \
|
---|
196 | common/misc/thread.cpp \
|
---|
197 | common/misc/zip.cpp \
|
---|
198 | common/rand/rand.cpp \
|
---|
199 | common/rand/randadv.cpp \
|
---|
200 | common/rand/randparkmiller.cpp \
|
---|
201 | common/string/RTStrNLen.cpp \
|
---|
202 | common/string/RTStrNLenEx.cpp \
|
---|
203 | common/string/straprintf.cpp \
|
---|
204 | common/string/strformat.cpp \
|
---|
205 | common/string/strformatrt.cpp \
|
---|
206 | common/string/strformattype.cpp \
|
---|
207 | common/string/string.cpp \
|
---|
208 | common/string/strprintf.cpp \
|
---|
209 | common/string/strspace.cpp \
|
---|
210 | common/string/strstrip.cpp \
|
---|
211 | common/string/strtonum.cpp \
|
---|
212 | common/string/uni.cpp \
|
---|
213 | common/string/unidata.cpp \
|
---|
214 | common/string/utf-16.cpp \
|
---|
215 | common/string/utf-8.cpp \
|
---|
216 | common/table/avlgcptr.cpp \
|
---|
217 | common/table/avlhcphys.cpp \
|
---|
218 | common/table/avllu32.cpp \
|
---|
219 | common/table/avlou32.cpp \
|
---|
220 | common/table/avlogcphys.cpp \
|
---|
221 | common/table/avlogcptr.cpp \
|
---|
222 | common/table/avlohcphys.cpp \
|
---|
223 | common/table/avloioport.cpp \
|
---|
224 | common/table/avlpv.cpp \
|
---|
225 | common/table/avlrgcptr.cpp \
|
---|
226 | common/table/avlrogcphys.cpp \
|
---|
227 | common/table/avlrogcptr.cpp \
|
---|
228 | common/table/avlroioport.cpp \
|
---|
229 | common/table/avlroogcptr.cpp \
|
---|
230 | common/table/avlu32.cpp \
|
---|
231 | common/table/avlul.cpp \
|
---|
232 | common/table/table.cpp \
|
---|
233 | common/time/time.cpp \
|
---|
234 | common/time/timeprog.cpp \
|
---|
235 | common/time/timesup.cpp \
|
---|
236 | generic/critsect-generic.cpp \
|
---|
237 | generic/env-generic.cpp \
|
---|
238 | generic/RTFileCopy-generic.cpp \
|
---|
239 | generic/RTFileReadAll-generic.cpp \
|
---|
240 | generic/RTFileReadAllEx-generic.cpp \
|
---|
241 | generic/RTFileReadAllByHandle-generic.cpp \
|
---|
242 | generic/RTFileReadAllByHandleEx-generic.cpp \
|
---|
243 | generic/RTFileReadAllFree-generic.cpp \
|
---|
244 | generic/RTLogWriteStdErr-generic.cpp \
|
---|
245 | generic/RTLogWriteStdOut-generic.cpp \
|
---|
246 | generic/RTLogWriteUser-generic.cpp \
|
---|
247 | generic/RTTimerLRCreate-generic.cpp \
|
---|
248 | generic/semfastmutex-generic.cpp \
|
---|
249 | generic/spinlock-generic.cpp \
|
---|
250 | generic/timerlr-generic.cpp \
|
---|
251 | r3/alloc-ef.cpp \
|
---|
252 | r3/alloc.cpp \
|
---|
253 | r3/dir.cpp \
|
---|
254 | r3/fileio.cpp \
|
---|
255 | r3/fs.cpp \
|
---|
256 | r3/init.cpp \
|
---|
257 | r3/path.cpp \
|
---|
258 | r3/process.cpp \
|
---|
259 | r3/stream.cpp \
|
---|
260 | r3/tcp.cpp
|
---|
261 |
|
---|
262 | #if1of ($(KBUILD_TARGET_ARCH),amd64 x86)
|
---|
263 | # RuntimeR3_SOURCES += common/time/timesupA.asm
|
---|
264 | #else
|
---|
265 | RuntimeR3_SOURCES += common/time/timesupref.cpp
|
---|
266 | #endif
|
---|
267 |
|
---|
268 | ifdef IPRT_WITH_KSTUFF
|
---|
269 | RuntimeR3_SOURCES += \
|
---|
270 | common/ldr/ldrkStuff.cpp
|
---|
271 | endif
|
---|
272 |
|
---|
273 | # VBox specific stuff.
|
---|
274 | RuntimeR3_SOURCES += \
|
---|
275 | VBox/strformat-vbox.cpp \
|
---|
276 | VBox/RTAssertDoBreakpoint-vbox.cpp \
|
---|
277 | VBox/log-vbox.cpp
|
---|
278 | ifneq ($(KBUILD_TARGET),win)
|
---|
279 | RuntimeR3_SOURCES += \
|
---|
280 | common/err/errmsgxpcom.cpp
|
---|
281 | endif
|
---|
282 |
|
---|
283 | RuntimeR3_SOURCES.win = \
|
---|
284 | generic/rand-stubs-generic.cpp \
|
---|
285 | generic/RTDirQueryInfo-generic.cpp \
|
---|
286 | generic/RTDirSetTimes-generic.cpp \
|
---|
287 | generic/semnoint-generic.cpp \
|
---|
288 | generic/semsrw-generic.cpp \
|
---|
289 | generic/RTMpGetCurFrequency-generic.cpp \
|
---|
290 | generic/RTMpGetMaxFrequency-generic.cpp \
|
---|
291 | nt/RTErrConvertFromNtStatus.cpp \
|
---|
292 | r3/posix/env-posix.cpp \
|
---|
293 | r3/win/RTSystemQueryOSInfo-win.cpp \
|
---|
294 | r3/win/alloc-win.cpp \
|
---|
295 | r3/win/dir-win.cpp \
|
---|
296 | r3/win/fileio-win.cpp \
|
---|
297 | r3/win/fs-win.cpp \
|
---|
298 | r3/win/ldrNative-win.cpp \
|
---|
299 | r3/win/mp-win.cpp \
|
---|
300 | r3/win/path-win.cpp \
|
---|
301 | r3/win/process-win.cpp \
|
---|
302 | r3/win/RTLogWriteDebugger-win.cpp \
|
---|
303 | r3/win/sched-win.cpp \
|
---|
304 | r3/win/sems-win.cpp \
|
---|
305 | r3/win/thread-win.cpp \
|
---|
306 | r3/win/time-win.cpp \
|
---|
307 | r3/win/timer-win.cpp \
|
---|
308 | r3/win/tls-win.cpp \
|
---|
309 | r3/win/utf16locale-win.cpp \
|
---|
310 | r3/win/utf8-win.cpp \
|
---|
311 | r3/win/uuid-win.cpp \
|
---|
312 | r3/win/RTUuidCreate-win.cpp \
|
---|
313 | win/errmsgwin.cpp \
|
---|
314 | win/RTErrConvertFromWin32.cpp
|
---|
315 |
|
---|
316 | RuntimeR3_SOURCES.win.amd64 = $(RuntimeWin64ASM_SOURCES)
|
---|
317 | RuntimeR3_SOURCES.win.x86 = $(RuntimeWin32ASM_SOURCES)
|
---|
318 |
|
---|
319 | RuntimeR3_SOURCES.linux = \
|
---|
320 | generic/pathhost-generic.cpp \
|
---|
321 | generic/RTDirQueryInfo-generic.cpp \
|
---|
322 | generic/RTDirSetTimes-generic.cpp \
|
---|
323 | generic/RTFileMove-generic.cpp \
|
---|
324 | generic/RTLogWriteDebugger-generic.cpp \
|
---|
325 | generic/RTTimeLocalNow-generic.cpp \
|
---|
326 | generic/RTTimerCreate-generic.cpp \
|
---|
327 | generic/RTUuidCreate-generic.cpp \
|
---|
328 | generic/utf16locale-generic.cpp \
|
---|
329 | generic/uuid-generic.cpp \
|
---|
330 | r3/linux/mp-linux.cpp \
|
---|
331 | r3/linux/sched-linux.cpp \
|
---|
332 | r3/linux/time-linux.cpp \
|
---|
333 | r3/posix/RTSystemQueryOSInfo-posix.cpp \
|
---|
334 | r3/posix/alloc-posix.cpp \
|
---|
335 | r3/posix/dir-posix.cpp \
|
---|
336 | r3/posix/env-posix.cpp \
|
---|
337 | r3/posix/fileio-posix.cpp \
|
---|
338 | r3/posix/filelock-posix.cpp \
|
---|
339 | r3/posix/fs-posix.cpp \
|
---|
340 | r3/posix/ldrNative-posix.cpp \
|
---|
341 | r3/posix/path-posix.cpp \
|
---|
342 | r3/posix/process-posix.cpp \
|
---|
343 | r3/posix/rand-posix.cpp \
|
---|
344 | r3/posix/RTTimeNow-posix.cpp \
|
---|
345 | r3/posix/semrw-posix.cpp \
|
---|
346 | r3/posix/thread-posix.cpp \
|
---|
347 | r3/posix/timelocal-posix.cpp \
|
---|
348 | r3/posix/timer-posix.cpp \
|
---|
349 | r3/posix/tls-posix.cpp \
|
---|
350 | r3/posix/utf8-posix.cpp
|
---|
351 | RuntimeR3_SOURCES.linux.x86 += \
|
---|
352 | r3/posix/semevent-posix.cpp \
|
---|
353 | r3/posix/semeventmulti-posix.cpp \
|
---|
354 | r3/posix/semmutex-posix.cpp
|
---|
355 | RuntimeR3_SOURCES.linux.amd64 += \
|
---|
356 | r3/linux/semevent-linux.cpp \
|
---|
357 | r3/linux/semeventmulti-linux.cpp
|
---|
358 | ifdef RT_NEW_LINUX_MUTEX_CODE
|
---|
359 | RuntimeR3_SOURCES.linux.amd64 += \
|
---|
360 | r3/linux/semmutex-linux.cpp
|
---|
361 | else
|
---|
362 | RuntimeR3_SOURCES.linux.amd64 += \
|
---|
363 | r3/posix/semmutex-posix.cpp
|
---|
364 | endif
|
---|
365 |
|
---|
366 | RuntimeR3_SOURCES.os2 = \
|
---|
367 | generic/pathhost-generic.cpp \
|
---|
368 | generic/rand-stubs-generic.cpp \
|
---|
369 | generic/RTDirQueryInfo-generic.cpp \
|
---|
370 | generic/RTDirSetTimes-generic.cpp \
|
---|
371 | generic/RTFileMove-generic.cpp \
|
---|
372 | generic/RTLogWriteDebugger-generic.cpp \
|
---|
373 | generic/RTTimeLocalNow-generic.cpp \
|
---|
374 | generic/RTTimerCreate-generic.cpp \
|
---|
375 | generic/RTUuidCreate-generic.cpp \
|
---|
376 | generic/semnoint-generic.cpp \
|
---|
377 | generic/semsrw-generic.cpp \
|
---|
378 | generic/timer-generic.cpp \
|
---|
379 | generic/utf16locale-generic.cpp \
|
---|
380 | generic/uuid-generic.cpp \
|
---|
381 | generic/RTMpGetCurFrequency-generic.cpp \
|
---|
382 | generic/RTMpGetMaxFrequency-generic.cpp \
|
---|
383 | os2/RTErrConvertFromOS2.cpp \
|
---|
384 | r3/os2/filelock-os2.cpp \
|
---|
385 | r3/os2/mp-os2.cpp \
|
---|
386 | r3/os2/sched-os2.cpp \
|
---|
387 | r3/os2/sems-os2.cpp \
|
---|
388 | r3/os2/thread-os2.cpp \
|
---|
389 | r3/os2/time-os2.cpp \
|
---|
390 | r3/posix/RTSystemQueryOSInfo-posix.cpp \
|
---|
391 | r3/posix/alloc-posix.cpp \
|
---|
392 | r3/posix/dir-posix.cpp \
|
---|
393 | r3/posix/env-posix.cpp \
|
---|
394 | r3/posix/fileio-posix.cpp \
|
---|
395 | r3/posix/fs-posix.cpp \
|
---|
396 | r3/posix/ldrNative-posix.cpp \
|
---|
397 | r3/posix/path-posix.cpp \
|
---|
398 | r3/posix/process-posix.cpp \
|
---|
399 | r3/posix/RTTimeNow-posix.cpp \
|
---|
400 | r3/posix/timelocal-posix.cpp \
|
---|
401 | r3/posix/utf8-posix.cpp
|
---|
402 |
|
---|
403 | RuntimeR3_SOURCES.darwin = \
|
---|
404 | darwin/RTErrConvertFromDarwin.cpp \
|
---|
405 | darwin/RTErrConvertFromDarwinCOM.cpp \
|
---|
406 | darwin/RTErrConvertFromDarwinIO.cpp \
|
---|
407 | darwin/RTErrConvertFromDarwinKern.cpp \
|
---|
408 | generic/pathhost-generic.cpp \
|
---|
409 | generic/RTDirQueryInfo-generic.cpp \
|
---|
410 | generic/RTDirSetTimes-generic.cpp \
|
---|
411 | generic/RTFileMove-generic.cpp \
|
---|
412 | generic/RTLogWriteDebugger-generic.cpp \
|
---|
413 | generic/RTTimeLocalNow-generic.cpp \
|
---|
414 | generic/RTTimerCreate-generic.cpp \
|
---|
415 | generic/RTUuidCreate-generic.cpp \
|
---|
416 | generic/sched-generic.cpp \
|
---|
417 | generic/timer-generic.cpp \
|
---|
418 | generic/utf16locale-generic.cpp \
|
---|
419 | generic/uuid-generic.cpp\
|
---|
420 | r3/darwin/alloc-darwin.cpp \
|
---|
421 | r3/darwin/filelock-darwin.cpp \
|
---|
422 | r3/darwin/mp-darwin.cpp \
|
---|
423 | r3/darwin/time-darwin.cpp \
|
---|
424 | r3/posix/RTSystemQueryOSInfo-posix.cpp \
|
---|
425 | r3/posix/dir-posix.cpp \
|
---|
426 | r3/posix/env-posix.cpp \
|
---|
427 | r3/posix/fileio-posix.cpp \
|
---|
428 | r3/posix/fs-posix.cpp \
|
---|
429 | r3/posix/ldrNative-posix.cpp \
|
---|
430 | r3/posix/path-posix.cpp \
|
---|
431 | r3/posix/process-posix.cpp \
|
---|
432 | r3/posix/rand-posix.cpp \
|
---|
433 | r3/posix/semevent-posix.cpp \
|
---|
434 | r3/posix/semeventmulti-posix.cpp \
|
---|
435 | r3/posix/semmutex-posix.cpp \
|
---|
436 | r3/posix/semrw-posix.cpp \
|
---|
437 | r3/posix/thread-posix.cpp \
|
---|
438 | r3/posix/timelocal-posix.cpp \
|
---|
439 | r3/posix/tls-posix.cpp \
|
---|
440 | r3/posix/utf8-posix.cpp
|
---|
441 |
|
---|
442 | ## @todo Make BSD sched.
|
---|
443 | RuntimeR3_SOURCES.freebsd = \
|
---|
444 | generic/pathhost-generic.cpp \
|
---|
445 | generic/RTDirQueryInfo-generic.cpp \
|
---|
446 | generic/RTDirSetTimes-generic.cpp \
|
---|
447 | generic/RTFileMove-generic.cpp \
|
---|
448 | generic/RTLogWriteDebugger-generic.cpp \
|
---|
449 | generic/RTTimeLocalNow-generic.cpp \
|
---|
450 | generic/RTTimerCreate-generic.cpp \
|
---|
451 | generic/RTUuidCreate-generic.cpp \
|
---|
452 | generic/sched-generic.cpp \
|
---|
453 | generic/utf16locale-generic.cpp \
|
---|
454 | generic/uuid-generic.cpp \
|
---|
455 | generic/RTMpGetCurFrequency-generic.cpp \
|
---|
456 | generic/RTMpGetMaxFrequency-generic.cpp \
|
---|
457 | r3/freebsd/alloc-freebsd.cpp \
|
---|
458 | r3/posix/RTSystemQueryOSInfo-posix.cpp \
|
---|
459 | r3/posix/dir-posix.cpp \
|
---|
460 | r3/posix/env-posix.cpp \
|
---|
461 | r3/posix/fileio-posix.cpp \
|
---|
462 | r3/posix/filelock-posix.cpp \
|
---|
463 | r3/posix/fs-posix.cpp \
|
---|
464 | r3/posix/ldrNative-posix.cpp \
|
---|
465 | r3/posix/path-posix.cpp \
|
---|
466 | r3/posix/process-posix.cpp \
|
---|
467 | r3/posix/rand-posix.cpp \
|
---|
468 | r3/posix/RTMpGetCount-posix.cpp \
|
---|
469 | r3/posix/RTTimeNow-posix.cpp \
|
---|
470 | r3/posix/semevent-posix.cpp \
|
---|
471 | r3/posix/semeventmulti-posix.cpp \
|
---|
472 | r3/posix/semmutex-posix.cpp \
|
---|
473 | r3/posix/semrw-posix.cpp \
|
---|
474 | r3/posix/thread-posix.cpp \
|
---|
475 | r3/posix/time-posix.cpp \
|
---|
476 | r3/posix/timelocal-posix.cpp \
|
---|
477 | r3/posix/timer-posix.cpp \
|
---|
478 | r3/posix/tls-posix.cpp \
|
---|
479 | r3/posix/utf8-posix.cpp
|
---|
480 |
|
---|
481 | RuntimeR3_SOURCES.solaris = \
|
---|
482 | generic/pathhost-generic.cpp \
|
---|
483 | generic/RTDirQueryInfo-generic.cpp \
|
---|
484 | generic/RTDirSetTimes-generic.cpp \
|
---|
485 | generic/RTFileMove-generic.cpp \
|
---|
486 | generic/RTLogWriteDebugger-generic.cpp \
|
---|
487 | generic/RTTimeLocalNow-generic.cpp \
|
---|
488 | generic/RTTimerCreate-generic.cpp \
|
---|
489 | generic/RTUuidCreate-generic.cpp \
|
---|
490 | generic/sched-generic.cpp \
|
---|
491 | generic/utf16locale-generic.cpp \
|
---|
492 | generic/uuid-generic.cpp \
|
---|
493 | r3/posix/RTSystemQueryOSInfo-posix.cpp \
|
---|
494 | r3/posix/dir-posix.cpp \
|
---|
495 | r3/posix/env-posix.cpp \
|
---|
496 | r3/posix/fileio-posix.cpp \
|
---|
497 | r3/posix/filelock-posix.cpp \
|
---|
498 | r3/posix/fs-posix.cpp \
|
---|
499 | r3/posix/ldrNative-posix.cpp \
|
---|
500 | r3/posix/path-posix.cpp \
|
---|
501 | r3/posix/process-posix.cpp \
|
---|
502 | r3/posix/rand-posix.cpp \
|
---|
503 | r3/posix/RTTimeNow-posix.cpp \
|
---|
504 | r3/posix/semevent-posix.cpp \
|
---|
505 | r3/posix/semeventmulti-posix.cpp \
|
---|
506 | r3/posix/semmutex-posix.cpp \
|
---|
507 | r3/posix/semrw-posix.cpp \
|
---|
508 | r3/posix/thread-posix.cpp \
|
---|
509 | r3/posix/time-posix.cpp \
|
---|
510 | r3/posix/timelocal-posix.cpp \
|
---|
511 | r3/posix/timer-posix.cpp \
|
---|
512 | r3/posix/tls-posix.cpp \
|
---|
513 | r3/posix/utf8-posix.cpp \
|
---|
514 | r3/solaris/alloc-solaris.cpp \
|
---|
515 | r3/solaris/mp-solaris.cpp
|
---|
516 |
|
---|
517 | ## PORTME: Porters add their selection of platform specific files for Ring-3 here.
|
---|
518 |
|
---|
519 |
|
---|
520 | #
|
---|
521 | # L4 RuntimeR3 subtarget since L4 headers won't work with VBOXR3.
|
---|
522 | #
|
---|
523 | RuntimeR3L4_TEMPLATE = VBOXR3NP
|
---|
524 | RuntimeR3L4_DEFS = IN_RT_R3 IN_SUP_R3 LDR_WITH_NATIVE LDR_WITH_ELF LDR_WITH_PE
|
---|
525 | ifneq ($(KBUILD_TARGET_ARCH),amd64)
|
---|
526 | RuntimeR3L4_DEFS += __PIC__
|
---|
527 | endif
|
---|
528 | RuntimeR3L4_INCS = \
|
---|
529 | include \
|
---|
530 | $(L4_INCDIR)
|
---|
531 |
|
---|
532 | RuntimeR3L4_SOURCES = \
|
---|
533 | generic/fs-stubs-generic.cpp \
|
---|
534 | generic/pathhost-generic.cpp \
|
---|
535 | generic/RTDirQueryInfo-generic.cpp \
|
---|
536 | generic/RTDirSetTimes-generic.cpp \
|
---|
537 | generic/RTFileMove-generic.cpp \
|
---|
538 | generic/RTLogWriteDebugger-generic.cpp \
|
---|
539 | generic/RTSystemQueryOSInfo-generic.cpp \
|
---|
540 | generic/RTTimeLocalNow-generic.cpp \
|
---|
541 | generic/RTUuidCreate-generic.cpp \
|
---|
542 | generic/sched-generic.cpp \
|
---|
543 | generic/semnoint-generic.cpp \
|
---|
544 | generic/semsrw-generic.cpp \
|
---|
545 | generic/utf16locale-generic.cpp \
|
---|
546 | generic/uuid-generic.cpp \
|
---|
547 | l4/l4-errno.cpp \
|
---|
548 | l4/process-l4env.cpp \
|
---|
549 | l4/sems-l4env.cpp \
|
---|
550 | l4/thread-l4env.cpp \
|
---|
551 | l4/timer-l4env.cpp \
|
---|
552 | l4/utf8-l4env.cpp \
|
---|
553 | r3/posix/alloc-posix.cpp \
|
---|
554 | r3/posix/dir-posix.cpp \
|
---|
555 | r3/posix/env-posix.cpp \
|
---|
556 | r3/posix/fileio-posix.cpp \
|
---|
557 | r3/posix/filelock-posix.cpp \
|
---|
558 | r3/posix/ldrNative-posix.cpp \
|
---|
559 | r3/posix/path-posix.cpp \
|
---|
560 | r3/posix/rand-posix.cpp \
|
---|
561 | r3/posix/RTTimeNow-posix.cpp \
|
---|
562 | r3/posix/time-posix.cpp \
|
---|
563 | r3/posix/timelocal-posix.cpp
|
---|
564 |
|
---|
565 |
|
---|
566 | #
|
---|
567 | # RuntimeGuestR3 - Guest Additions Runtime (static).
|
---|
568 | # (The KBUILD_HOST inheritance here is for l4 cross building the linux
|
---|
569 | # additions, while .x86 is for cross building x86 while targeting amd64.)
|
---|
570 | #
|
---|
571 | RuntimeGuestR3_TEMPLATE := VBOXGUESTR3LIB
|
---|
572 | ## @todo change this to EXTEND the RuntimeR3 target.
|
---|
573 | RuntimeGuestR3_SDKS.win := $(RuntimeR3_SDKS.win)
|
---|
574 | RuntimeGuestR3_DEFS := $(filter-out RTCRITSECT_STRICT, $(RuntimeR3_DEFS))
|
---|
575 | RuntimeGuestR3_DEFS.$(KBUILD_TARGET) := $(RuntimeR3_DEFS.$(KBUILD_TARGET))
|
---|
576 | RuntimeGuestR3_DEFS.$(KBUILD_HOST) := $(RuntimeR3_DEFS.$(KBUILD_HOST))
|
---|
577 | RuntimeGuestR3_INCS := $(RuntimeR3_INCS)
|
---|
578 | RuntimeGuestR3_INCS.$(KBUILD_TARGET) := $(RuntimeR3_INCS.$(KBUILD_TARGET))
|
---|
579 | RuntimeGuestR3_INCS.$(KBUILD_HOST) := $(RuntimeR3_INCS.$(KBUILD_HOST))
|
---|
580 | RuntimeGuestR3_SOURCES := $(filter-out \
|
---|
581 | common/time/timesupref.cpp \
|
---|
582 | common/time/timesupA.asm \
|
---|
583 | common/time/timesup.cpp \
|
---|
584 | generic/RTLogWriteUser-generic.cpp \
|
---|
585 | , $(RuntimeR3_SOURCES))
|
---|
586 | RuntimeGuestR3_SOURCES += \
|
---|
587 | common/time/timesysalias.cpp \
|
---|
588 | VBox/logbackdoor.cpp
|
---|
589 | RuntimeGuestR3_SOURCES.$(KBUILD_TARGET) := $(RuntimeR3_SOURCES.$(KBUILD_TARGET))
|
---|
590 | RuntimeGuestR3_SOURCES.$(KBUILD_HOST) := $(RuntimeR3_SOURCES.$(KBUILD_HOST))
|
---|
591 | RuntimeGuestR3_SOURCES.$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH) := $(RuntimeR3_SOURCES.$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH))
|
---|
592 | RuntimeGuestR3_SOURCES.$(KBUILD_HOST).$(KBUILD_TARGET_ARCH) := $(RuntimeR3_SOURCES.$(KBUILD_HOST).$(KBUILD_TARGET_ARCH))
|
---|
593 |
|
---|
594 |
|
---|
595 | #
|
---|
596 | # RuntimeGuestR3Mini - Minimal Guest Additions Runtime which does not require
|
---|
597 | # initialization and can be linked into an .so. Intended
|
---|
598 | # for X11 drivers, GRADD and similar.
|
---|
599 | #
|
---|
600 | RuntimeGuestR3Mini_TEMPLATE := VBOXGUESTR3DLL
|
---|
601 | ## @todo change this to EXTEND the RuntimeGuestR3 target.
|
---|
602 | RuntimeGuestR3Mini_INST := $(INST_ADDITIONS_LIB)
|
---|
603 | RuntimeGuestR3Mini_SDKS.win := $(RuntimeR3_SDKS.win)
|
---|
604 | RuntimeGuestR3Mini_DEFS := $(filter-out RTCRITSECT_STRICT, $(RuntimeR3_DEFS)) RT_MINI
|
---|
605 | RuntimeGuestR3Mini_DEFS.$(KBUILD_TARGET) := $(RuntimeR3_DEFS.$(KBUILD_TARGET))
|
---|
606 | RuntimeGuestR3Mini_DEFS.$(KBUILD_HOST) := $(RuntimeR3_DEFS.$(KBUILD_HOST))
|
---|
607 | RuntimeGuestR3Mini_INCS := $(RuntimeR3_INCS)
|
---|
608 | RuntimeGuestR3Mini_INCS.$(KBUILD_TARGET) := $(RuntimeR3_INCS.$(KBUILD_TARGET))
|
---|
609 | RuntimeGuestR3Mini_INCS.$(KBUILD_HOST) := $(RuntimeR3_INCS.$(KBUILD_HOST))
|
---|
610 | RuntimeGuestR3Mini_SOURCES = \
|
---|
611 | common/err/errmsg.cpp \
|
---|
612 | common/err/errmsgxpcom.cpp \
|
---|
613 | common/err/RTErrConvertFromErrno.cpp \
|
---|
614 | common/log/logformat.cpp \
|
---|
615 | common/misc/assert.cpp \
|
---|
616 | common/misc/sanity-c.c \
|
---|
617 | common/misc/sanity-cpp.cpp \
|
---|
618 | common/string/strformat.cpp \
|
---|
619 | common/string/strformatrt.cpp \
|
---|
620 | common/string/strformattype.cpp \
|
---|
621 | common/string/string.cpp \
|
---|
622 | common/string/strprintf.cpp \
|
---|
623 | common/string/strtonum.cpp \
|
---|
624 | common/string/unidata.cpp \
|
---|
625 | common/string/utf-8.cpp \
|
---|
626 | common/string/utf-16.cpp \
|
---|
627 | generic/pathhost-generic.cpp \
|
---|
628 | generic/RTAssertDoBreakpoint-generic.cpp \
|
---|
629 | r3/alloc.cpp \
|
---|
630 | r3/fileio.cpp \
|
---|
631 | r3/fs.cpp \
|
---|
632 | r3/path.cpp
|
---|
633 | RuntimeGuestR3Mini_SOURCES.linux = \
|
---|
634 | r3/posix/fileio-posix.cpp \
|
---|
635 | r3/posix/path-posix.cpp \
|
---|
636 | r3/posix/utf8-posix.cpp
|
---|
637 | RuntimeGuestR3Mini_SOURCES.solaris = \
|
---|
638 | r3/posix/fileio-posix.cpp \
|
---|
639 | r3/posix/path-posix.cpp \
|
---|
640 | r3/posix/utf8-posix.cpp
|
---|
641 | RuntimeGuestR3Mini_SOURCES.freebsd = \
|
---|
642 | r3/posix/fileio-posix.cpp \
|
---|
643 | r3/posix/path-posix.cpp \
|
---|
644 | r3/posix/utf8-posix.cpp
|
---|
645 | # VBox specific stuff.
|
---|
646 | RuntimeGuestR3Mini_SOURCES += \
|
---|
647 | VBox/logbackdoor.cpp \
|
---|
648 | VBox/logbackdoor-redirect.cpp \
|
---|
649 | VBox/strformat-vbox.cpp
|
---|
650 |
|
---|
651 |
|
---|
652 | #
|
---|
653 | # RuntimeLnxHostR3 Linux host program runtime
|
---|
654 | # (Only used when building L4.)
|
---|
655 | #
|
---|
656 | RuntimeLnxHostR3_TEMPLATE = VBOXLNXHOSTR3LIB
|
---|
657 | RuntimeLnxHostR3_DEFS = IN_RT_R3 IN_SUP_R3 RT_WITH_VBOX RT_NO_GIP
|
---|
658 | RuntimeLnxHostR3_SOURCES = \
|
---|
659 | $(RuntimeR3_SOURCES.linux.$(KBUILD_TARGET_ARCH)) \
|
---|
660 | $(RuntimeR3_SOURCES.linux) \
|
---|
661 | $(RuntimeR3_SOURCES)
|
---|
662 | RuntimeLnxHostR3_INCS = \
|
---|
663 | $(RuntimeR3_INCS.linux.$(KBUILD_TARGET_ARCH)) \
|
---|
664 | $(RuntimeR3_INCS.linux) \
|
---|
665 | $(RuntimeR3_INCS)
|
---|
666 |
|
---|
667 |
|
---|
668 | #
|
---|
669 | # VBoxRT - Shared Object / DLL version.
|
---|
670 | #
|
---|
671 | VBoxRT_TEMPLATE = VBOXR3
|
---|
672 | VBoxRT_SDKS.win = WINPSDK W2K3DDK VBOX_NTDLL
|
---|
673 | ifeq ($(KBUILD_TARGET),darwin)
|
---|
674 | VBoxRT_INST = $(INST_DLL) $(INST_TESTCASE)
|
---|
675 | endif
|
---|
676 | VBoxRT_DEFS = $(RuntimeR3_DEFS) IN_SUP_R3 IN_SUP_R3
|
---|
677 | VBoxRT_DEFS.$(KBUILD_TYPE) = $(RuntimeR3_DEFS.$(KBUILD_TYPE))
|
---|
678 | VBoxRT_SOURCES = \
|
---|
679 | VBox/VBoxRTDeps.cpp \
|
---|
680 | $(RuntimeR3_SOURCES)
|
---|
681 | VBoxRT_SOURCES.$(KBUILD_TARGET) = $(RuntimeR3_SOURCES.$(KBUILD_TARGET))
|
---|
682 | VBoxRT_SOURCES.$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH) = $(RuntimeR3_SOURCES.$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH))
|
---|
683 | VBoxRT_SOURCES.win += r3/win/dllmain-win.cpp
|
---|
684 | VBoxRT_SOURCES.win.x86 += r3/win/VBoxRT-win32.def
|
---|
685 | VBoxRT_SOURCES.win.amd64 += r3/win/VBoxRT-win64.def
|
---|
686 | VBoxRT_INCS = $(RuntimeR3_INCS)
|
---|
687 | VBoxRT_INCS.$(KBUILD_TARGET) = $(RuntimeR3_INCS.$(KBUILD_TARGET))
|
---|
688 | VBoxRT_INCS.$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH) = $(RuntimeR3_INCS.$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH))
|
---|
689 | VBoxRT_LIBS = \
|
---|
690 | $(PATH_LIB)/SUPR3$(VBOX_SUFF_LIB) \
|
---|
691 | $(PATH_LIB)/VBox-liblzf$(VBOX_SUFF_LIB)
|
---|
692 | ifdef IPRT_WITH_KSTUFF
|
---|
693 | VBoxRT_LIBS += \
|
---|
694 | $(PATH_LIB)/VBox-kStuff$(VBOX_SUFF_LIB)
|
---|
695 | endif
|
---|
696 | VBoxRT_LIBS.darwin = \
|
---|
697 | iconv
|
---|
698 | VBoxRT_LIBS.freebsd = \
|
---|
699 | iconv
|
---|
700 | VBoxRT_LIBS.solaris = \
|
---|
701 | kstat
|
---|
702 | VBoxRT_LIBPATH.freebsd = \
|
---|
703 | /usr/local/lib
|
---|
704 | VBoxRT_LDFLAGS.darwin = -framework IOKit -install_name @executable_path/VBoxRT.dylib
|
---|
705 | ifdef VBOX_USE_VCC80
|
---|
706 | VBoxRT_LDFLAGS.win = /MANIFEST
|
---|
707 | endif
|
---|
708 | VBoxRT_LDFLAGS.l4 = \
|
---|
709 | -Wl,-whole-archive \
|
---|
710 | $(PATH_LIB)/RuntimeR3L4$(VBOX_SUFF_LIB) \
|
---|
711 | -Wl,-no-whole-archive
|
---|
712 | ifeq ($(KBUILD_TARGET),l4)
|
---|
713 | VBoxRT_LIBS += \
|
---|
714 | $(L4_LIBDIR)/libl4sys.a \
|
---|
715 | $(L4_LIBDIR)/libl4sys.p.a
|
---|
716 | endif
|
---|
717 | VBoxRT_LIBS.l4 = \
|
---|
718 | $(PATH_LIB)/RuntimeR3L4$(VBOX_SUFF_LIB)
|
---|
719 |
|
---|
720 |
|
---|
721 | #
|
---|
722 | # RuntimeR3NoCRTGCC - CRT replacement lib for VBoxREM.
|
---|
723 | # This is used together with VBoxRT.
|
---|
724 | #
|
---|
725 | RuntimeR3NoCRTGCC_TEMPLATE = VBOXNOCRTGCC
|
---|
726 | RuntimeR3NoCRTGCC_LIBSUFF = $(VBOX_SUFF_LIB)
|
---|
727 | RuntimeR3NoCRTGCC_INCS = include
|
---|
728 | RuntimeR3NoCRTGCC_SOURCES = \
|
---|
729 | common/misc/sanity-cpp.cpp \
|
---|
730 | common/misc/sanity-c.c \
|
---|
731 | \
|
---|
732 | common/math/ceill.asm \
|
---|
733 | common/math/cosl.asm \
|
---|
734 | common/math/fabs.asm \
|
---|
735 | common/math/fabsf.asm \
|
---|
736 | common/math/fabsl.asm \
|
---|
737 | common/math/floor.asm \
|
---|
738 | common/math/floorf.asm \
|
---|
739 | common/math/floorl.asm \
|
---|
740 | common/math/ldexpl.asm \
|
---|
741 | common/math/llrint.asm \
|
---|
742 | common/math/llrintf.asm \
|
---|
743 | common/math/llrintl.asm \
|
---|
744 | common/math/logl.asm \
|
---|
745 | common/math/lrint.asm \
|
---|
746 | common/math/lrintf.asm \
|
---|
747 | common/math/lrintl.asm \
|
---|
748 | common/math/remainder.asm \
|
---|
749 | common/math/remainderf.asm \
|
---|
750 | common/math/remainderl.asm \
|
---|
751 | common/math/sinl.asm \
|
---|
752 | common/math/tanl.asm \
|
---|
753 | common/math/trunc.asm \
|
---|
754 | common/math/truncf.asm \
|
---|
755 | common/math/truncl.asm \
|
---|
756 | \
|
---|
757 | common/misc/setjmp.asm \
|
---|
758 | \
|
---|
759 | common/string/memchr.asm \
|
---|
760 | common/string/memchr_alias.c \
|
---|
761 | common/string/memcmp.asm \
|
---|
762 | common/string/memcmp_alias.c \
|
---|
763 | common/string/memcpy.asm \
|
---|
764 | common/string/memcpy_alias.c \
|
---|
765 | common/string/mempcpy.asm \
|
---|
766 | common/string/memmove.asm \
|
---|
767 | common/string/memmove_alias.c \
|
---|
768 | common/string/memset.asm \
|
---|
769 | common/string/memset_alias.c \
|
---|
770 | common/string/strchr.asm \
|
---|
771 | common/string/strchr_alias.c \
|
---|
772 | common/string/strcmp.asm \
|
---|
773 | common/string/strcmp_alias.c \
|
---|
774 | common/string/strlen.asm \
|
---|
775 | common/string/strlen_alias.c
|
---|
776 |
|
---|
777 | RuntimeR3NoCRTGCC_SOURCES.x86 = \
|
---|
778 | common/math/x86/fenv-x86.c \
|
---|
779 | common/math/gcc/adddi3.c \
|
---|
780 | common/math/gcc/anddi3.c \
|
---|
781 | common/math/gcc/ashldi3.c \
|
---|
782 | common/math/gcc/ashrdi3.c \
|
---|
783 | common/math/gcc/cmpdi2.c \
|
---|
784 | common/math/gcc/divdi3.c \
|
---|
785 | common/math/gcc/iordi3.c \
|
---|
786 | common/math/gcc/lshldi3.c \
|
---|
787 | common/math/gcc/lshrdi3.c \
|
---|
788 | common/math/gcc/moddi3.c \
|
---|
789 | common/math/gcc/muldi3.c \
|
---|
790 | common/math/gcc/negdi2.c \
|
---|
791 | common/math/gcc/notdi2.c \
|
---|
792 | common/math/gcc/qdivrem.c \
|
---|
793 | common/math/gcc/subdi3.c \
|
---|
794 | common/math/gcc/ucmpdi2.c \
|
---|
795 | common/math/gcc/udivdi3.c \
|
---|
796 | common/math/gcc/umoddi3.c \
|
---|
797 | common/math/gcc/xordi3.c
|
---|
798 |
|
---|
799 |
|
---|
800 | ## @todo stop using the old memcpy.c and memset.c code.
|
---|
801 |
|
---|
802 | #
|
---|
803 | # RuntimeR0 - Ring0 library for VMMR0.
|
---|
804 | #
|
---|
805 | RuntimeR0_TEMPLATE = VBOXR0
|
---|
806 | RuntimeR0_DEFS = IN_RT_R0 RT_WITH_VBOX RT_WITHOUT_NOCRT_WRAPPERS
|
---|
807 | RuntimeR0_INCS = include
|
---|
808 | RuntimeR0_SOURCES = \
|
---|
809 | common/checksum/crc32.cpp \
|
---|
810 | common/checksum/crc64.cpp \
|
---|
811 | common/checksum/md5.cpp \
|
---|
812 | common/checksum/ipv4.cpp \
|
---|
813 | common/log/logcom.cpp \
|
---|
814 | common/log/logformat.cpp \
|
---|
815 | common/misc/assert.cpp \
|
---|
816 | common/misc/handletable.cpp \
|
---|
817 | common/misc/handletablectx.cpp \
|
---|
818 | common/misc/handletablesimple.cpp \
|
---|
819 | common/misc/sanity-c.c \
|
---|
820 | common/misc/sanity-cpp.cpp \
|
---|
821 | common/string/memchr.cpp \
|
---|
822 | common/string/memcmp.cpp \
|
---|
823 | common/string/memcpy.cpp \
|
---|
824 | common/string/memmove.asm \
|
---|
825 | common/string/memset.cpp \
|
---|
826 | common/string/strcmp.asm \
|
---|
827 | common/string/strcpy.cpp \
|
---|
828 | common/string/strformat.cpp \
|
---|
829 | common/string/strformatrt.cpp \
|
---|
830 | common/string/strformattype.cpp \
|
---|
831 | common/string/strlen.asm \
|
---|
832 | common/string/strncmp.cpp \
|
---|
833 | common/string/strpbrk.cpp \
|
---|
834 | common/string/strprintf.cpp \
|
---|
835 | common/table/avlgcptr.cpp \
|
---|
836 | common/table/avlhcphys.cpp \
|
---|
837 | common/table/avllu32.cpp \
|
---|
838 | common/table/avlogcphys.cpp \
|
---|
839 | common/table/avlogcptr.cpp \
|
---|
840 | common/table/avlohcphys.cpp \
|
---|
841 | common/table/avloioport.cpp \
|
---|
842 | common/table/avlpv.cpp \
|
---|
843 | common/table/avlrogcphys.cpp \
|
---|
844 | common/table/avlrogcptr.cpp \
|
---|
845 | common/table/avlroioport.cpp \
|
---|
846 | common/table/avlroogcptr.cpp \
|
---|
847 | common/table/avlu32.cpp \
|
---|
848 | common/time/timesup.cpp \
|
---|
849 | generic/RTAssertDoBreakpoint-generic.cpp \
|
---|
850 | VBox/strformat-vbox.cpp
|
---|
851 |
|
---|
852 | #if1of ($(KBUILD_TARGET_ARCH),amd64 x86)
|
---|
853 | # RuntimeR0_SOURCES += common/time/timesupA.asm
|
---|
854 | #else
|
---|
855 | RuntimeR0_SOURCES += common/time/timesupref.cpp
|
---|
856 | #endif
|
---|
857 |
|
---|
858 | RuntimeR0_SOURCES.win.amd64 = $(RuntimeWin64ASM_SOURCES)
|
---|
859 | RuntimeR0_SOURCES.win.x86 = $(RuntimeWin32ASM_SOURCES)
|
---|
860 |
|
---|
861 | RuntimeR0_SOURCES.os2 = \
|
---|
862 | os2/RTErrConvertFromOS2.cpp \
|
---|
863 | os2/sys0.asm
|
---|
864 |
|
---|
865 | ifeq ($(filter-out darwin solaris freebsd,$(KBUILD_TARGET)),)
|
---|
866 | RuntimeR0_SOURCES += \
|
---|
867 | common/math/gcc/adddi3.c \
|
---|
868 | common/math/gcc/anddi3.c \
|
---|
869 | common/math/gcc/ashldi3.c \
|
---|
870 | common/math/gcc/ashrdi3.c \
|
---|
871 | common/math/gcc/cmpdi2.c \
|
---|
872 | common/math/gcc/divdi3.c \
|
---|
873 | common/math/gcc/iordi3.c \
|
---|
874 | common/math/gcc/lshldi3.c \
|
---|
875 | common/math/gcc/lshrdi3.c \
|
---|
876 | common/math/gcc/moddi3.c \
|
---|
877 | common/math/gcc/muldi3.c \
|
---|
878 | common/math/gcc/negdi2.c \
|
---|
879 | common/math/gcc/notdi2.c \
|
---|
880 | common/math/gcc/qdivrem.c \
|
---|
881 | common/math/gcc/subdi3.c \
|
---|
882 | common/math/gcc/ucmpdi2.c \
|
---|
883 | common/math/gcc/udivdi3.c \
|
---|
884 | common/math/gcc/umoddi3.c \
|
---|
885 | common/math/gcc/xordi3.c
|
---|
886 | endif
|
---|
887 |
|
---|
888 |
|
---|
889 | common/string/memchr.cpp_CXXFLAGS.win = -Oi-
|
---|
890 | common/string/memcmp.cpp_CXXFLAGS.win = -Oi-
|
---|
891 | common/string/memcpy.cpp_CXXFLAGS.win = -Oi-
|
---|
892 | common/string/memset.cpp_CXXFLAGS.win = -Oi-
|
---|
893 | common/string/strcpy.cpp_CXXFLAGS.win = -Oi-
|
---|
894 | common/string/strlen.cpp_CXXFLAGS.win = -Oi-
|
---|
895 |
|
---|
896 | #
|
---|
897 | # RuntimeR0Drv - Ring0 library for host drivers.
|
---|
898 | #
|
---|
899 | RuntimeR0Drv_TEMPLATE = VBOXR0DRV
|
---|
900 | RuntimeR0Drv_SDKS.win = W2K3DDK WINPSDKINCS
|
---|
901 | RuntimeR0Drv_INCS := $(PATH_SUB_CURRENT) include
|
---|
902 | RuntimeR0Drv_DEFS = IN_RT_R0 RT_WITH_VBOX RT_WITHOUT_NOCRT_WRAPPERS
|
---|
903 | RuntimeR0Drv_DEFS.win = IN_SUP_R0
|
---|
904 | RuntimeR0Drv_DEFS.linux = MODULE KBUILD_MODNAME=KBUILD_STR\(vboxdrv\) KBUILD_BASENAME=KBUILD_STR\(vboxdrv\) IN_SUP_R0 # why is IN_SUP_R0 here? because!
|
---|
905 |
|
---|
906 | RuntimeR0Drv_INCS.linux = \
|
---|
907 | r0drv/linux
|
---|
908 | ifdef VBOX_WITH_SOLARIS_VBI
|
---|
909 | RuntimeR0Drv_INCS.solaris = \
|
---|
910 | r0drv/solaris/vbi/i86pc
|
---|
911 | endif
|
---|
912 |
|
---|
913 | RuntimeR0Drv_SOURCES = \
|
---|
914 | common/checksum/crc32.cpp \
|
---|
915 | common/checksum/crc64.cpp \
|
---|
916 | common/checksum/md5.cpp \
|
---|
917 | common/checksum/ipv4.cpp \
|
---|
918 | common/log/log.cpp \
|
---|
919 | common/log/logcom.cpp \
|
---|
920 | common/log/logformat.cpp \
|
---|
921 | common/misc/assert.cpp \
|
---|
922 | common/misc/handletable.cpp \
|
---|
923 | common/misc/handletablectx.cpp \
|
---|
924 | common/misc/handletablesimple.cpp \
|
---|
925 | common/misc/sanity-c.c \
|
---|
926 | common/misc/sanity-cpp.cpp \
|
---|
927 | common/string/strformat.cpp \
|
---|
928 | common/string/strformatrt.cpp \
|
---|
929 | common/string/strformattype.cpp \
|
---|
930 | common/string/strprintf.cpp \
|
---|
931 | common/string/strtonum.cpp \
|
---|
932 | common/table/avlpv.cpp \
|
---|
933 | generic/RTLogWriteStdErr-stub-generic.cpp \
|
---|
934 | generic/RTLogWriteUser-generic.cpp \
|
---|
935 | generic/uuid-generic.cpp \
|
---|
936 | r0drv/alloc-r0drv.cpp \
|
---|
937 | r0drv/initterm-r0drv.cpp \
|
---|
938 | VBox/log-vbox.cpp \
|
---|
939 | VBox/strformat-vbox.cpp
|
---|
940 |
|
---|
941 | RuntimeR0Drv_SOURCES.linux = \
|
---|
942 | common/alloc/heapsimple.cpp \
|
---|
943 | common/string/strpbrk.cpp \
|
---|
944 | common/err/RTErrConvertToErrno.cpp \
|
---|
945 | generic/RTAssertDoBreakpoint-generic.cpp \
|
---|
946 | generic/RTLogWriteStdOut-stub-generic.cpp \
|
---|
947 | r0drv/linux/alloc-r0drv-linux.c \
|
---|
948 | r0drv/linux/initterm-r0drv-linux.c \
|
---|
949 | r0drv/linux/memobj-r0drv-linux.c \
|
---|
950 | r0drv/linux/mp-r0drv-linux.c \
|
---|
951 | r0drv/linux/mpnotification-r0drv-linux.c \
|
---|
952 | r0drv/linux/process-r0drv-linux.c \
|
---|
953 | r0drv/linux/RTLogWriteDebugger-r0drv-linux.c \
|
---|
954 | r0drv/linux/semevent-r0drv-linux.c \
|
---|
955 | r0drv/linux/semeventmulti-r0drv-linux.c \
|
---|
956 | r0drv/linux/semfastmutex-r0drv-linux.c \
|
---|
957 | r0drv/linux/spinlock-r0drv-linux.c \
|
---|
958 | r0drv/linux/thread-r0drv-linux.c \
|
---|
959 | r0drv/linux/time-r0drv-linux.c \
|
---|
960 | r0drv/linux/timer-r0drv-linux.c \
|
---|
961 | r0drv/memobj-r0drv.cpp \
|
---|
962 | r0drv/mpnotification-r0drv.c
|
---|
963 | ## @todo thread2-r0drv-linux.c and assert-r0drv-linux.c
|
---|
964 |
|
---|
965 | RuntimeR0Drv_SOURCES.win = \
|
---|
966 | common/misc/thread.cpp \
|
---|
967 | common/string/memcmp.asm \
|
---|
968 | common/string/memchr.asm \
|
---|
969 | common/string/memcpy.asm \
|
---|
970 | common/string/memset.asm \
|
---|
971 | common/string/memmove.asm \
|
---|
972 | common/string/strlen.asm \
|
---|
973 | common/string/strncmp.cpp \
|
---|
974 | common/string/strpbrk.cpp \
|
---|
975 | generic/RTAssertDoBreakpoint-generic.cpp \
|
---|
976 | generic/RTLogWriteStdOut-stub-generic.cpp \
|
---|
977 | nt/RTErrConvertFromNtStatus.cpp \
|
---|
978 | r0drv/memobj-r0drv.cpp \
|
---|
979 | r0drv/mpnotification-r0drv.c \
|
---|
980 | r0drv/nt/alloc-r0drv-nt.cpp \
|
---|
981 | r0drv/nt/initterm-r0drv-nt.cpp \
|
---|
982 | r0drv/nt/memobj-r0drv-nt.cpp \
|
---|
983 | r0drv/nt/mp-r0drv-nt.cpp \
|
---|
984 | r0drv/nt/mpnotification-r0drv-nt.cpp \
|
---|
985 | r0drv/nt/process-r0drv-nt.cpp \
|
---|
986 | r0drv/nt/RTLogWriteDebugger-r0drv-nt.cpp \
|
---|
987 | r0drv/nt/semevent-r0drv-nt.cpp \
|
---|
988 | r0drv/nt/semeventmulti-r0drv-nt.cpp \
|
---|
989 | r0drv/nt/semfastmutex-r0drv-nt.cpp \
|
---|
990 | r0drv/nt/semmutex-r0drv-nt.cpp \
|
---|
991 | r0drv/nt/spinlock-r0drv-nt.cpp \
|
---|
992 | r0drv/nt/thread-r0drv-nt.cpp \
|
---|
993 | r0drv/nt/thread2-r0drv-nt.cpp \
|
---|
994 | r0drv/nt/time-r0drv-nt.cpp \
|
---|
995 | r0drv/nt/timer-r0drv-nt.cpp
|
---|
996 | ## @todo assert-r0drv-nt.cpp
|
---|
997 |
|
---|
998 | RuntimeR0Drv_SOURCES.win.amd64 = $(RuntimeWin64ASM_SOURCES)
|
---|
999 | RuntimeR0Drv_SOURCES.win.x86 = $(RuntimeWin32ASM_SOURCES)
|
---|
1000 |
|
---|
1001 | RuntimeR0Drv_SOURCES.darwin = \
|
---|
1002 | common/err/RTErrConvertFromErrno.cpp \
|
---|
1003 | common/misc/thread.cpp \
|
---|
1004 | common/string/memchr.asm \
|
---|
1005 | common/string/strpbrk.cpp \
|
---|
1006 | darwin/RTErrConvertFromDarwin.cpp \
|
---|
1007 | darwin/RTErrConvertFromDarwinIO.cpp \
|
---|
1008 | darwin/RTErrConvertFromDarwinKern.cpp \
|
---|
1009 | generic/RTAssertDoBreakpoint-generic.cpp \
|
---|
1010 | generic/RTMpCpuId-generic.cpp \
|
---|
1011 | generic/RTMpCpuIdFromSetIndex-generic.cpp \
|
---|
1012 | generic/RTMpCpuIdToSetIndex-generic.cpp \
|
---|
1013 | generic/RTMpIsCpuPossible-generic.cpp \
|
---|
1014 | generic/RTMpGetCount-generic.cpp \
|
---|
1015 | generic/RTMpGetMaxCpuId-generic.cpp \
|
---|
1016 | generic/RTMpGetOnlineCount-generic.cpp \
|
---|
1017 | generic/RTMpGetOnlineSet-generic.cpp \
|
---|
1018 | generic/RTMpGetSet-generic.cpp \
|
---|
1019 | generic/RTMpIsCpuOnline-generic.cpp \
|
---|
1020 | generic/RTTimerCreate-generic.cpp \
|
---|
1021 | generic/timer-generic.cpp \
|
---|
1022 | r0drv/generic/RTMpOn-r0drv-generic.cpp \
|
---|
1023 | r0drv/generic/mpnotification-r0drv-generic.cpp \
|
---|
1024 | r0drv/darwin/alloc-r0drv-darwin.cpp \
|
---|
1025 | r0drv/darwin/assert-r0drv-darwin.cpp \
|
---|
1026 | r0drv/darwin/initterm-r0drv-darwin.cpp \
|
---|
1027 | r0drv/darwin/memobj-r0drv-darwin.cpp \
|
---|
1028 | r0drv/darwin/process-r0drv-darwin.cpp \
|
---|
1029 | r0drv/darwin/RTLogWriteDebugger-r0drv-darwin.cpp \
|
---|
1030 | r0drv/darwin/RTLogWriteStdOut-r0drv-darwin.cpp \
|
---|
1031 | r0drv/darwin/semaphore-r0drv-darwin.cpp \
|
---|
1032 | r0drv/darwin/spinlock-r0drv-darwin.cpp \
|
---|
1033 | r0drv/darwin/thread-r0drv-darwin.cpp \
|
---|
1034 | r0drv/darwin/thread2-r0drv-darwin.cpp \
|
---|
1035 | r0drv/darwin/time-r0drv-darwin.cpp \
|
---|
1036 | r0drv/memobj-r0drv.cpp
|
---|
1037 |
|
---|
1038 | RuntimeR0Drv_SOURCES.os2 = \
|
---|
1039 | common/string/memchr.asm \
|
---|
1040 | common/string/memcmp.asm \
|
---|
1041 | common/string/memcpy.asm \
|
---|
1042 | common/string/mempcpy.asm \
|
---|
1043 | common/string/memmove.asm \
|
---|
1044 | common/string/memset.asm \
|
---|
1045 | common/string/strchr.asm \
|
---|
1046 | common/string/strcmp.asm \
|
---|
1047 | common/string/strlen.asm \
|
---|
1048 | \
|
---|
1049 | common/string/strcpy.cpp \
|
---|
1050 | common/string/strncmp.cpp \
|
---|
1051 | common/string/strpbrk.cpp \
|
---|
1052 | \
|
---|
1053 | common/misc/thread.cpp \
|
---|
1054 | generic/RTLogWriteDebugger-generic.cpp \
|
---|
1055 | generic/RTLogWriteStdOut-stub-generic.cpp \
|
---|
1056 | generic/RTMpCpuId-generic.cpp \
|
---|
1057 | generic/RTMpCpuIdFromSetIndex-generic.cpp \
|
---|
1058 | generic/RTMpCpuIdToSetIndex-generic.cpp \
|
---|
1059 | generic/RTMpIsCpuPossible-generic.cpp \
|
---|
1060 | generic/RTMpGetCount-generic.cpp \
|
---|
1061 | generic/RTMpGetMaxCpuId-generic.cpp \
|
---|
1062 | generic/RTMpGetOnlineCount-generic.cpp \
|
---|
1063 | generic/RTMpGetOnlineSet-generic.cpp \
|
---|
1064 | generic/RTMpGetSet-generic.cpp \
|
---|
1065 | generic/RTMpIsCpuOnline-generic.cpp \
|
---|
1066 | generic/RTTimerCreate-generic.cpp \
|
---|
1067 | os2/RTErrConvertFromOS2.cpp \
|
---|
1068 | os2/sys0.asm \
|
---|
1069 | r0drv/memobj-r0drv.cpp \
|
---|
1070 | r0drv/generic/RTMpOn-r0drv-generic.cpp \
|
---|
1071 | r0drv/generic/mpnotification-r0drv-generic.cpp \
|
---|
1072 | r0drv/os2/alloc-r0drv-os2.cpp \
|
---|
1073 | r0drv/os2/assert-r0drv-os2.cpp \
|
---|
1074 | r0drv/os2/assertA-r0drv-os2.asm \
|
---|
1075 | r0drv/os2/initterm-r0drv-os2.cpp \
|
---|
1076 | r0drv/os2/memobj-r0drv-os2.cpp \
|
---|
1077 | r0drv/os2/os2imports.imp \
|
---|
1078 | r0drv/os2/process-r0drv-os2.cpp \
|
---|
1079 | r0drv/os2/RTAssertDoBreakpoint-r0drv-os2.asm \
|
---|
1080 | r0drv/os2/RTR0Os2DHQueryDOSVar.asm \
|
---|
1081 | r0drv/os2/RTR0Os2DHVMGlobalToProcess.asm \
|
---|
1082 | r0drv/os2/semevent-r0drv-os2.cpp \
|
---|
1083 | r0drv/os2/semeventmulti-r0drv-os2.cpp \
|
---|
1084 | r0drv/os2/semfastmutex-r0drv-os2.cpp \
|
---|
1085 | r0drv/os2/spinlock-r0drv-os2.cpp \
|
---|
1086 | r0drv/os2/thread-r0drv-os2.cpp \
|
---|
1087 | r0drv/os2/thread2-r0drv-os2.cpp \
|
---|
1088 | r0drv/os2/time-r0drv-os2.cpp \
|
---|
1089 | r0drv/os2/timer-r0drv-os2.cpp \
|
---|
1090 | r0drv/os2/timerA-r0drv-os2.asm
|
---|
1091 |
|
---|
1092 | RuntimeR0Drv_SOURCES.freebsd = \
|
---|
1093 | common/err/RTErrConvertFromErrno.cpp \
|
---|
1094 | common/err/RTErrConvertToErrno.cpp \
|
---|
1095 | common/misc/thread.cpp \
|
---|
1096 | common/string/memchr.asm \
|
---|
1097 | common/string/memmove.asm \
|
---|
1098 | common/string/strpbrk.cpp \
|
---|
1099 | common/string/memcmp.asm \
|
---|
1100 | common/string/strchr.asm \
|
---|
1101 | generic/RTAssertDoBreakpoint-generic.cpp \
|
---|
1102 | generic/RTLogWriteDebugger-generic.cpp \
|
---|
1103 | generic/RTLogWriteStdOut-stub-generic.cpp \
|
---|
1104 | generic/RTMpCpuId-generic.cpp \
|
---|
1105 | generic/RTMpCpuIdFromSetIndex-generic.cpp \
|
---|
1106 | generic/RTMpCpuIdToSetIndex-generic.cpp \
|
---|
1107 | generic/RTMpIsCpuPossible-generic.cpp \
|
---|
1108 | generic/RTMpGetCount-generic.cpp \
|
---|
1109 | generic/RTMpGetMaxCpuId-generic.cpp \
|
---|
1110 | generic/RTMpGetOnlineCount-generic.cpp \
|
---|
1111 | generic/RTMpGetOnlineSet-generic.cpp \
|
---|
1112 | generic/RTMpGetSet-generic.cpp \
|
---|
1113 | generic/RTMpIsCpuOnline-generic.cpp \
|
---|
1114 | generic/RTTimerCreate-generic.cpp \
|
---|
1115 | r0drv/generic/RTMpOn-r0drv-generic.cpp \
|
---|
1116 | r0drv/generic/mpnotification-r0drv-generic.cpp \
|
---|
1117 | r0drv/freebsd/alloc-r0drv-freebsd.c \
|
---|
1118 | r0drv/freebsd/assert-r0drv-freebsd.c \
|
---|
1119 | r0drv/freebsd/initterm-r0drv-freebsd.c \
|
---|
1120 | r0drv/freebsd/memobj-r0drv-freebsd.c \
|
---|
1121 | r0drv/freebsd/process-r0drv-freebsd.c \
|
---|
1122 | r0drv/freebsd/semevent-r0drv-freebsd.c \
|
---|
1123 | r0drv/freebsd/semeventmulti-r0drv-freebsd.c \
|
---|
1124 | r0drv/freebsd/semfastmutex-r0drv-freebsd.c \
|
---|
1125 | r0drv/freebsd/spinlock-r0drv-freebsd.c \
|
---|
1126 | r0drv/freebsd/thread-r0drv-freebsd.c \
|
---|
1127 | r0drv/freebsd/thread2-r0drv-freebsd.c \
|
---|
1128 | r0drv/freebsd/time-r0drv-freebsd.c \
|
---|
1129 | r0drv/freebsd/timer-r0drv-freebsd.c \
|
---|
1130 | r0drv/memobj-r0drv.cpp
|
---|
1131 |
|
---|
1132 | RuntimeR0Drv_SOURCES.solaris = \
|
---|
1133 | common/err/RTErrConvertFromErrno.cpp \
|
---|
1134 | common/misc/thread.cpp \
|
---|
1135 | common/string/memchr.asm \
|
---|
1136 | generic/RTAssertDoBreakpoint-generic.cpp \
|
---|
1137 | generic/RTLogWriteStdOut-stub-generic.cpp \
|
---|
1138 | generic/RTTimerCreate-generic.cpp \
|
---|
1139 | r0drv/memobj-r0drv.cpp \
|
---|
1140 | r0drv/mpnotification-r0drv.c
|
---|
1141 |
|
---|
1142 | ifdef VBOX_WITH_SOLARIS_VBI
|
---|
1143 | RuntimeR0Drv_SOURCES.solaris += \
|
---|
1144 | r0drv/solaris/vbi/mpnotification-r0drv-solaris.c \
|
---|
1145 | r0drv/solaris/vbi/alloc-r0drv-solaris.c \
|
---|
1146 | r0drv/solaris/vbi/assert-r0drv-solaris.c \
|
---|
1147 | r0drv/solaris/vbi/initterm-r0drv-solaris.c \
|
---|
1148 | r0drv/solaris/vbi/memobj-r0drv-solaris.c \
|
---|
1149 | r0drv/solaris/vbi/mp-r0drv-solaris.c \
|
---|
1150 | r0drv/solaris/vbi/process-r0drv-solaris.c \
|
---|
1151 | r0drv/solaris/vbi/RTLogWriteDebugger-r0drv-solaris.c \
|
---|
1152 | r0drv/solaris/vbi/semevent-r0drv-solaris.c \
|
---|
1153 | r0drv/solaris/vbi/semeventmulti-r0drv-solaris.c \
|
---|
1154 | r0drv/solaris/vbi/semfastmutex-r0drv-solaris.c \
|
---|
1155 | r0drv/solaris/vbi/spinlock-r0drv-solaris.c \
|
---|
1156 | r0drv/solaris/vbi/thread-r0drv-solaris.c \
|
---|
1157 | r0drv/solaris/vbi/thread2-r0drv-solaris.c \
|
---|
1158 | r0drv/solaris/vbi/time-r0drv-solaris.c \
|
---|
1159 | r0drv/solaris/vbi/timer-r0drv-solaris.c
|
---|
1160 | else # !VBOX_WITH_SOLARIS_VBI
|
---|
1161 | RuntimeR0Drv_SOURCES.solaris += \
|
---|
1162 | r0drv/solaris/mpnotification-r0drv-solaris.c \
|
---|
1163 | r0drv/solaris/alloc-r0drv-solaris.c \
|
---|
1164 | r0drv/solaris/assert-r0drv-solaris.c \
|
---|
1165 | r0drv/solaris/initterm-r0drv-solaris.c \
|
---|
1166 | r0drv/solaris/memobj-r0drv-solaris.c \
|
---|
1167 | r0drv/solaris/process-r0drv-solaris.c \
|
---|
1168 | r0drv/solaris/RTLogWriteDebugger-r0drv-solaris.c \
|
---|
1169 | r0drv/solaris/semevent-r0drv-solaris.c \
|
---|
1170 | r0drv/solaris/semeventmulti-r0drv-solaris.c \
|
---|
1171 | r0drv/solaris/semfastmutex-r0drv-solaris.c \
|
---|
1172 | r0drv/solaris/spinlock-r0drv-solaris.c \
|
---|
1173 | r0drv/solaris/thread-r0drv-solaris.c \
|
---|
1174 | r0drv/solaris/thread2-r0drv-solaris.c \
|
---|
1175 | r0drv/solaris/time-r0drv-solaris.c \
|
---|
1176 | r0drv/solaris/timer-r0drv-solaris.c
|
---|
1177 | # Don't use mp-r0drv-solaris.c because it will cause crashes due to incorrect memobj-r0drv-solaris.c code.
|
---|
1178 | ifeq (0,0)
|
---|
1179 | # Stub it. ## @todo limit the stubbing to RTMpOn*.
|
---|
1180 | RuntimeR0Drv_SOURCES.solaris += \
|
---|
1181 | generic/RTMpCpuId-generic.cpp \
|
---|
1182 | generic/RTMpCpuIdFromSetIndex-generic.cpp \
|
---|
1183 | generic/RTMpCpuIdToSetIndex-generic.cpp \
|
---|
1184 | generic/RTMpIsCpuPossible-generic.cpp \
|
---|
1185 | generic/RTMpGetCount-generic.cpp \
|
---|
1186 | generic/RTMpGetMaxCpuId-generic.cpp \
|
---|
1187 | generic/RTMpGetOnlineCount-generic.cpp \
|
---|
1188 | generic/RTMpGetOnlineSet-generic.cpp \
|
---|
1189 | generic/RTMpGetSet-generic.cpp \
|
---|
1190 | generic/RTMpIsCpuOnline-generic.cpp \
|
---|
1191 | r0drv/generic/RTMpOn-r0drv-generic.cpp
|
---|
1192 | else
|
---|
1193 | # Use mp-r0drv-solaris.c.
|
---|
1194 | RuntimeR0Drv_SOURCES.solaris += \
|
---|
1195 | r0drv/solaris/mp-r0drv-solaris.c
|
---|
1196 | # r0drv/solaris/mpnotification-r0drv-solaris.c
|
---|
1197 | endif
|
---|
1198 |
|
---|
1199 | endif # !VBOX_WITH_SOLARIS_VBI
|
---|
1200 |
|
---|
1201 | ## PORTME: Porters create and add their selection of platform specific Ring-0 Driver files here.
|
---|
1202 |
|
---|
1203 |
|
---|
1204 | #
|
---|
1205 | # RuntimeGuestR0 - Guest driver runtime.
|
---|
1206 | # This is almost the same as the RuntimeR0Drv, the main difference
|
---|
1207 | # is in the backdoor logging and the lack of sup.h (which should be
|
---|
1208 | # made irrelevant even for RuntimeR0Drv).
|
---|
1209 | #
|
---|
1210 | RuntimeGuestR0_TEMPLATE := VBOXGUESTR0LIB
|
---|
1211 | RuntimeGuestR0_SOURCES := $(filter-out generic/RTLogWriteUser-generic.cpp, $(RuntimeR0Drv_SOURCES))
|
---|
1212 | RuntimeGuestR0_SOURCES += VBox/logbackdoor.cpp
|
---|
1213 | RuntimeGuestR0_EXTENDS = RuntimeR0Drv
|
---|
1214 |
|
---|
1215 | # HACK: no vbi for the solaris guest additions - yet.
|
---|
1216 | RuntimeGuestR0_SOURCES.solaris = \
|
---|
1217 | common/err/RTErrConvertFromErrno.cpp \
|
---|
1218 | common/err/RTErrConvertToErrno.cpp \
|
---|
1219 | common/misc/thread.cpp \
|
---|
1220 | common/string/memchr.asm \
|
---|
1221 | generic/RTAssertDoBreakpoint-generic.cpp \
|
---|
1222 | generic/RTTimerCreate-generic.cpp \
|
---|
1223 | r0drv/memobj-r0drv.cpp \
|
---|
1224 | generic/RTMpCpuId-generic.cpp \
|
---|
1225 | generic/RTMpCpuIdFromSetIndex-generic.cpp \
|
---|
1226 | generic/RTMpCpuIdToSetIndex-generic.cpp \
|
---|
1227 | generic/RTMpIsCpuPossible-generic.cpp \
|
---|
1228 | generic/RTMpGetCount-generic.cpp \
|
---|
1229 | generic/RTMpGetMaxCpuId-generic.cpp \
|
---|
1230 | generic/RTMpGetOnlineCount-generic.cpp \
|
---|
1231 | generic/RTMpGetOnlineSet-generic.cpp \
|
---|
1232 | generic/RTMpGetSet-generic.cpp \
|
---|
1233 | generic/RTMpIsCpuOnline-generic.cpp \
|
---|
1234 | generic/RTLogWriteStdOut-stub-generic.cpp \
|
---|
1235 | r0drv/generic/RTMpOn-r0drv-generic.cpp \
|
---|
1236 | r0drv/generic/mpnotification-r0drv-generic.cpp \
|
---|
1237 | r0drv/solaris/alloc-r0drv-solaris.c \
|
---|
1238 | r0drv/solaris/assert-r0drv-solaris.c \
|
---|
1239 | r0drv/solaris/initterm-r0drv-solaris.c \
|
---|
1240 | r0drv/solaris/memobj-r0drv-solaris.c \
|
---|
1241 | r0drv/solaris/process-r0drv-solaris.c \
|
---|
1242 | r0drv/solaris/RTLogWriteDebugger-r0drv-solaris.c \
|
---|
1243 | r0drv/solaris/semevent-r0drv-solaris.c \
|
---|
1244 | r0drv/solaris/semeventmulti-r0drv-solaris.c \
|
---|
1245 | r0drv/solaris/semfastmutex-r0drv-solaris.c \
|
---|
1246 | r0drv/solaris/spinlock-r0drv-solaris.c \
|
---|
1247 | r0drv/solaris/thread-r0drv-solaris.c \
|
---|
1248 | r0drv/solaris/thread2-r0drv-solaris.c \
|
---|
1249 | r0drv/solaris/time-r0drv-solaris.c \
|
---|
1250 | r0drv/solaris/timer-r0drv-solaris.c
|
---|
1251 |
|
---|
1252 | #
|
---|
1253 | # RuntimeGuestR0NT4 - Win32 NT4 guest driver runtime.
|
---|
1254 | #
|
---|
1255 | RuntimeGuestR0NT4_EXTENDS = RuntimeGuestR0
|
---|
1256 | RuntimeGuestR0NT4_EXTENDS_BY = appending
|
---|
1257 | RuntimeGuestR0NT4_DEFS = IPRT_TARGET_NT4
|
---|
1258 |
|
---|
1259 |
|
---|
1260 | #
|
---|
1261 | # RuntimeGC - Guest context library.
|
---|
1262 | #
|
---|
1263 | RuntimeGC_TEMPLATE = VBOXGC
|
---|
1264 | RuntimeGC_DEFS = IN_RT_GC RT_WITH_VBOX RT_WITHOUT_NOCRT_WRAPPERS
|
---|
1265 | RuntimeGC_INCS = include
|
---|
1266 | RuntimeGC_SOURCES = \
|
---|
1267 | common/log/log.cpp \
|
---|
1268 | common/log/logcom.cpp \
|
---|
1269 | common/log/logformat.cpp \
|
---|
1270 | common/misc/assert.cpp \
|
---|
1271 | common/misc/sanity-c.c \
|
---|
1272 | common/misc/sanity-cpp.cpp \
|
---|
1273 | common/string/memchr.cpp \
|
---|
1274 | common/string/memcmp.cpp \
|
---|
1275 | common/string/memcpy.cpp \
|
---|
1276 | common/string/memset.cpp \
|
---|
1277 | common/string/memmove.asm \
|
---|
1278 | common/string/strcpy.cpp \
|
---|
1279 | common/string/strformat.cpp \
|
---|
1280 | common/string/strformatrt.cpp \
|
---|
1281 | common/string/strformattype.cpp \
|
---|
1282 | common/string/strlen.asm \
|
---|
1283 | common/string/strncmp.cpp \
|
---|
1284 | common/string/strpbrk.cpp \
|
---|
1285 | common/string/strprintf.cpp \
|
---|
1286 | common/table/avllu32.cpp \
|
---|
1287 | common/table/avlou32.cpp \
|
---|
1288 | common/table/avlogcphys.cpp \
|
---|
1289 | common/table/avlogcptr.cpp \
|
---|
1290 | common/table/avlohcphys.cpp \
|
---|
1291 | common/table/avloioport.cpp \
|
---|
1292 | common/table/avlrogcphys.cpp \
|
---|
1293 | common/table/avlrogcptr.cpp \
|
---|
1294 | common/table/avlroioport.cpp \
|
---|
1295 | common/table/avlroogcptr.cpp \
|
---|
1296 | common/table/avlu32.cpp \
|
---|
1297 | common/time/timeprog.cpp \
|
---|
1298 | common/time/timesup.cpp \
|
---|
1299 | gc/initterm-gc.cpp \
|
---|
1300 | generic/RTAssertDoBreakpoint-generic.cpp \
|
---|
1301 | VBox/strformat-vbox.cpp \
|
---|
1302 |
|
---|
1303 | #if1of ($(KBUILD_TARGET_ARCH),amd64 x86)
|
---|
1304 | # RuntimeGC_SOURCES += common/time/timesupA.asm
|
---|
1305 | #else
|
---|
1306 | RuntimeGC_SOURCES += common/time/timesupref.cpp
|
---|
1307 | #endif
|
---|
1308 |
|
---|
1309 | RuntimeGC_SOURCES.win.x86 = $(RuntimeWin32ASM_SOURCES)
|
---|
1310 |
|
---|
1311 | ifeq ($(VBOX_LDR_FMT32),lx)
|
---|
1312 | RuntimeGC_SOURCES += os2/sys0.asm
|
---|
1313 | endif
|
---|
1314 |
|
---|
1315 | if1of ($(KBUILD_TARGET), darwin solaris freebsd)
|
---|
1316 | RuntimeGC_SOURCES += \
|
---|
1317 | common/math/gcc/adddi3.c \
|
---|
1318 | common/math/gcc/anddi3.c \
|
---|
1319 | common/math/gcc/ashldi3.c \
|
---|
1320 | common/math/gcc/ashrdi3.c \
|
---|
1321 | common/math/gcc/cmpdi2.c \
|
---|
1322 | common/math/gcc/divdi3.c \
|
---|
1323 | common/math/gcc/iordi3.c \
|
---|
1324 | common/math/gcc/lshldi3.c \
|
---|
1325 | common/math/gcc/lshrdi3.c \
|
---|
1326 | common/math/gcc/moddi3.c \
|
---|
1327 | common/math/gcc/muldi3.c \
|
---|
1328 | common/math/gcc/negdi2.c \
|
---|
1329 | common/math/gcc/notdi2.c \
|
---|
1330 | common/math/gcc/qdivrem.c \
|
---|
1331 | common/math/gcc/subdi3.c \
|
---|
1332 | common/math/gcc/ucmpdi2.c \
|
---|
1333 | common/math/gcc/udivdi3.c \
|
---|
1334 | common/math/gcc/umoddi3.c \
|
---|
1335 | common/math/gcc/xordi3.c
|
---|
1336 | endif
|
---|
1337 |
|
---|
1338 |
|
---|
1339 | #
|
---|
1340 | # Static library for new & delete for the electric fence.
|
---|
1341 | #
|
---|
1342 | RuntimeEFCPP_TEMPLATE = $(RuntimeR3_TEMPLATE)
|
---|
1343 | RuntimeEFCPP_SDKS = $(RuntimeR3_SDKS)
|
---|
1344 | RuntimeEFCPP_SDKS.$(KBUILD_TARGET) = $(RuntimeR3_SDKS.$(KBUILD_TARGET))
|
---|
1345 | RuntimeEFCPP_DEFS = $(RuntimeR3_DEFS)
|
---|
1346 | RuntimeEFCPP_DEFS.$(KBUILD_TARGET) = $(RuntimeR3_DEFS.$(KBUILD_TARGET))
|
---|
1347 | RuntimeEFCPP_INCS = $(RuntimeR3_INCS)
|
---|
1348 | RuntimeEFCPP_INCS.$(KBUILD_TARGET) = $(RuntimeR3_INCS.$(KBUILD_TARGET))
|
---|
1349 | RuntimeEFCPP_SOURCES = r3/alloc-ef-cpp.cpp
|
---|
1350 |
|
---|
1351 |
|
---|
1352 |
|
---|
1353 | #
|
---|
1354 | # errmsg.cpp depends on a generated header.
|
---|
1355 | #
|
---|
1356 | common/err/errmsg.cpp_DEPS = $(PATH_TARGET)/errmsgdata.h
|
---|
1357 | common/err/errmsg.cpp_INCS = $(PATH_TARGET)
|
---|
1358 |
|
---|
1359 | win/errmsgwin.cpp_DEPS = $(PATH_TARGET)/errmsgcomdata.h
|
---|
1360 | win/errmsgwin.cpp_INCS = $(PATH_TARGET)
|
---|
1361 |
|
---|
1362 |
|
---|
1363 | #
|
---|
1364 | # Generate the rules (we're the to sub-makefile).
|
---|
1365 | #
|
---|
1366 | include $(KBUILD_PATH)/subfooter.kmk
|
---|
1367 |
|
---|
1368 |
|
---|
1369 | ifneq ($(wildcard /usr/bin/chcon),)
|
---|
1370 | # this is needed for testcases executed at build time
|
---|
1371 | ## @todo Make a special installer tool that does this.
|
---|
1372 | $(PATH_BIN)/VBoxRT.so:
|
---|
1373 | $(INSTALL) $(TARGET_VBoxRT) $@
|
---|
1374 | chcon -t texrel_shlib_t $@ || true
|
---|
1375 | endif
|
---|
1376 |
|
---|
1377 |
|
---|
1378 | #
|
---|
1379 | # Generate the status code data.
|
---|
1380 | #
|
---|
1381 | $(PATH_TARGET)/errmsgdata.h: \
|
---|
1382 | $(VBOX_PATH_RUNTIME_SRC)/common/err/errmsg.sed \
|
---|
1383 | $(PATH_ROOT)/include/iprt/err.h \
|
---|
1384 | $(PATH_ROOT)/include/VBox/err.h
|
---|
1385 | $(call MSG_GENERATE,,$@,$(filter %.h,$^))
|
---|
1386 | $(QUIET)$(MKDIR) -p $(PATH_TARGET)
|
---|
1387 | $(QUIET)$(REDIRECT) -wo $@ -- $(SED) -f $< $(filter %.h,$^)
|
---|
1388 |
|
---|
1389 | ## @todo r=bird: rename this to indicate that it's not only COM errors, but all win32/64 errors.
|
---|
1390 | $(PATH_TARGET)/errmsgcomdata.h: \
|
---|
1391 | $(VBOX_PATH_RUNTIME_SRC)/common/err/errmsgcom.sed \
|
---|
1392 | $$(PATH_SDK_WINPSDK_INC)/WinError.h
|
---|
1393 | $(call MSG_GENERATE,,$@,$(filter %.h,$^))
|
---|
1394 | $(QUIET)$(MKDIR) -p $(PATH_TARGET)
|
---|
1395 | $(QUIET)$(REDIRECT) -wo $@ -- $(SED) -f $< $(filter %.h,$^)
|
---|
1396 |
|
---|
1397 |
|
---|
1398 | #
|
---|
1399 | # Aliases for .cpp.h files so we can more easily do syntax checking from the editor.
|
---|
1400 | #
|
---|
1401 | ldrELFRelocatable.cpp.o: ldrELF.o
|
---|
1402 | ldrELFRelocatable.cpp.obj: ldrELF.obj
|
---|
1403 |
|
---|
1404 |
|
---|
1405 | #
|
---|
1406 | # Doxygen documentation.
|
---|
1407 | #
|
---|
1408 | IPRT_DOXYFILE_INPUT_DIRS = \
|
---|
1409 | $(PATH_ROOT)/include/iprt \
|
---|
1410 | $(PATH_ROOT)/include/iprt/nocrt \
|
---|
1411 | $(PATH_ROOT)/include/iprt/nocrt/x86 \
|
---|
1412 | $(PATH_ROOT)/include/iprt/nocrt/amd64 \
|
---|
1413 | $(VBOX_PATH_RUNTIME_SRC)/include/internal \
|
---|
1414 | $(VBOX_PATH_RUNTIME_SRC)/common/alloc \
|
---|
1415 | $(VBOX_PATH_RUNTIME_SRC)/common/checksum \
|
---|
1416 | $(VBOX_PATH_RUNTIME_SRC)/common/err \
|
---|
1417 | $(VBOX_PATH_RUNTIME_SRC)/common/ldr \
|
---|
1418 | $(VBOX_PATH_RUNTIME_SRC)/common/log \
|
---|
1419 | $(VBOX_PATH_RUNTIME_SRC)/common/misc \
|
---|
1420 | $(VBOX_PATH_RUNTIME_SRC)/common/string \
|
---|
1421 | $(VBOX_PATH_RUNTIME_SRC)/common/table \
|
---|
1422 | $(VBOX_PATH_RUNTIME_SRC)/common/time \
|
---|
1423 | $(VBOX_PATH_RUNTIME_SRC)/VBox \
|
---|
1424 | $(foreach dir, $(VBOX_PATH_RUNTIME_SRC) $(VBOX_PATH_RUNTIME_SRC)/r3 $(VBOX_PATH_RUNTIME_SRC)/r0drv,\
|
---|
1425 | $(dir) \
|
---|
1426 | $(dir)/darwin \
|
---|
1427 | $(dir)/l4 \
|
---|
1428 | $(dir)/linux \
|
---|
1429 | $(dir)/nt \
|
---|
1430 | $(dir)/os2 \
|
---|
1431 | $(dir)/win \
|
---|
1432 | $(dir)/win32 \
|
---|
1433 | $(dir)/win64 \
|
---|
1434 | $(dir)/generic \
|
---|
1435 | )
|
---|
1436 |
|
---|
1437 | # These must come first in order to make things look nice.
|
---|
1438 | IPRT_DOXYFILE_INPUT_FIRST =\
|
---|
1439 | $(PATH_ROOT)/include/iprt/cdefs.h \
|
---|
1440 | $(PATH_ROOT)/include/iprt/types.h \
|
---|
1441 | $(PATH_ROOT)/include/iprt/runtime.h \
|
---|
1442 | $(PATH_ROOT)/include/iprt/param.h \
|
---|
1443 | $(PATH_ROOT)/include/iprt/assert.h \
|
---|
1444 | $(PATH_ROOT)/include/iprt/asm.h \
|
---|
1445 |
|
---|
1446 | IPRT_DOXYFILE_INPUT := \
|
---|
1447 | $(filter-out %.cpp.h, $(sort $(wildcard $(addsuffix /*.h, $(IPRT_DOXYFILE_INPUT_DIRS)))) ) \
|
---|
1448 | $(foreach dir, $(IPRT_DOXYFILE_INPUT_DIRS), $(wildcard $(dir)/*.cpp $(dir)/.c $(dir)/.asm))
|
---|
1449 | IPRT_DOXYFILE_INPUT := \
|
---|
1450 | $(IPRT_DOXYFILE_INPUT_FIRST) \
|
---|
1451 | $(filter-out $(IPRT_DOXYFILE_INPUT_FIRST), $(IPRT_DOXYFILE_INPUT))
|
---|
1452 |
|
---|
1453 |
|
---|
1454 | IPRT_DOXYFILE_OUTPUT = $(PATH_OUT)/docs/iprt
|
---|
1455 |
|
---|
1456 | -include $(PATH_TARGET)/Doxyfile.iprt.dep
|
---|
1457 |
|
---|
1458 | # Generate the Doxyfile
|
---|
1459 | $(PATH_TARGET)/Doxyfile.iprt: \
|
---|
1460 | $(VBOX_PATH_RUNTIME_SRC)/Doxyfile \
|
---|
1461 | $(VBOX_PATH_RUNTIME_SRC)/Makefile.kmk \
|
---|
1462 | $(comp-vars IPRT_DOXYFILE_INPUT,DOXYGEN_INPUT_PREV,FORCE) \
|
---|
1463 | $(comp-vars IPRT_DOXYFILE_OUTPUT,DOXYGEN_OUTPUT_PREV,FORCE) \
|
---|
1464 | | $(call DIRDEP, $(PATH_TARGET))
|
---|
1465 | $(RM) -f $@ $@.tmp $(PATH_TARGET)/Doxyfile.iprt.dep
|
---|
1466 | $(CP) -f $(VBOX_PATH_RUNTIME_SRC)/Doxyfile $@.tmp
|
---|
1467 | $(APPEND) $@.tmp
|
---|
1468 | $(APPEND) $@.tmp "OUTPUT_DIRECTORY = $(IPRT_DOXYFILE_OUTPUT)"
|
---|
1469 | $(APPEND) $@.tmp "WARN_LOGFILE = $(IPRT_DOXYFILE_OUTPUT)/errors"
|
---|
1470 | $(APPEND) $@.tmp "INCLUDE_PATH = $(PATH_ROOT)/include include . common/table"
|
---|
1471 | $(APPEND) $@.tmp "INCLUDE_FILE_PATTERNS = *.cpp.h"
|
---|
1472 | $(APPEND) $@.tmp "PREDEFINED += $(ARCH_BITS_DEFS)"
|
---|
1473 | $(APPEND) $@.tmp
|
---|
1474 | $(APPEND) $@.tmp "INPUT = $(IPRT_DOXYFILE_INPUT)"
|
---|
1475 | $(APPEND) $@.tmp
|
---|
1476 | $(MV) -f $@.tmp $@
|
---|
1477 | @$(APPEND) $(PATH_TARGET)/Doxyfile.iprt.dep "DOXYGEN_OUTPUT_PREV = $(IPRT_DOXYFILE_OUTPUT)"
|
---|
1478 | @$(APPEND) $(PATH_TARGET)/Doxyfile.iprt.dep "DOXYGEN_INPUT_PREV = $(IPRT_DOXYFILE_INPUT)"
|
---|
1479 |
|
---|
1480 | # Create the output directory.
|
---|
1481 | $(call DIRDEP, $(IPRT_DOXYFILE_OUTPUT)):
|
---|
1482 | $(MKDIR) -p $@
|
---|
1483 |
|
---|
1484 | # Do the actual job.
|
---|
1485 | $(PATH_TARGET)/docs.iprt: $(PATH_TARGET)/Doxyfile.iprt $(IPRT_DOXYFILE_INPUT) | $(call DIRDEP, $(IPRT_DOXYFILE_OUTPUT))
|
---|
1486 | $(RM) -f $(wildcard $(IPRT_DOXYFILE_OUTPUT)/html/*) $(PATH_TARGET)/docs.iprt
|
---|
1487 | doxygen $(PATH_TARGET)/Doxyfile.iprt
|
---|
1488 | $(APPEND) $(PATH_TARGET)/docs.iprt
|
---|
1489 |
|
---|
1490 | # alias
|
---|
1491 | docs: $(PATH_TARGET)/docs.iprt
|
---|
1492 |
|
---|
1493 | test:
|
---|
1494 | @echo test-$(comp-vars IPRT_DOXYFILE_OUTPUT,DOXYGEN_OUTPUT_PREV,FORCE)
|
---|
1495 | @echo $(IPRT_DOXYFILE_OUTPUT)
|
---|
1496 | @echo $(DOXYGEN_OUTPUT_PREV)
|
---|
1497 | @echo $(IPRT_DOXYFILE_INPUT)
|
---|
1498 |
|
---|