Changeset 10048 in vbox for trunk/src/VBox
- Timestamp:
- Jul 1, 2008 12:47:54 AM (17 years ago)
- Location:
- trunk/src/VBox/Runtime
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/Makefile.kmk
r10023 r10048 29 29 # 30 30 31 32 DEPTH ?= ../../.. 31 ifdef VBOX_KBUILD_HACKING 32 SUB_DEPTH = ../../.. 33 else 33 34 SUB_DEPTH = . 35 DEPTH ?= ../../.. 36 endif 34 37 include $(KBUILD_PATH)/subheader.kmk 35 38 … … 38 41 # Only build the additions, sort out the legacy names first. 39 42 # 40 LIBRARIES = RuntimeGuestR0 RuntimeGuestR3 RuntimeGuestR3Mini43 LIBRARIES += RuntimeGuestR0 RuntimeGuestR3 RuntimeGuestR3Mini 41 44 #LIBRARIES.os2 = RuntimeGuestR0OS2Warp3 42 LIBRARIES.win.x86 = RuntimeGuestR0NT445 LIBRARIES.win.x86 += RuntimeGuestR0NT4 43 46 ifndef VBOX_WITH_ADDITION_DRIVERS 44 47 if1of ($(KBUILD_TARGET), linux l4) # All drivers are optional, can skip RuntimeGuestR0. … … 52 55 # Normal build. 53 56 # 54 include testcase/Makefile.kmk55 56 BLDPROGS 57 LIBRARIES 57 include $(PATH_SUB_CURRENT)/testcase/Makefile.kmk 58 59 BLDPROGS += uniread 60 LIBRARIES += RuntimeR3 RuntimeR0 RuntimeGC RuntimeEFCPP RuntimeR3NoCRTGCC 58 61 ifdef VBOX_WITH_VBOXDRV 59 62 LIBRARIES += RuntimeR0Drv … … 61 64 ifdef VBOX_WITH_ADDITIONS 62 65 LIBRARIES += RuntimeGuestR0 RuntimeGuestR3 RuntimeGuestR3Mini 63 #LIBRARIES.os2 = RuntimeGuestR0OS2Warp364 LIBRARIES.win.x86 = RuntimeGuestR0NT466 #LIBRARIES.os2 += RuntimeGuestR0OS2Warp3 67 LIBRARIES.win.x86 += RuntimeGuestR0NT4 65 68 ifndef VBOX_WITH_ADDITION_DRIVERS 66 69 if1of ($(KBUILD_TARGET), linux l4) # All drivers are optional, can skip RuntimeGuestR0. … … 69 72 endif 70 73 endif # VBOX_WITH_ADDITIONS 71 LIBRARIES.l4 = RuntimeR3L4 RuntimeLnxHostR372 DLLS = VBoxRT73 OTHER_CLEAN = \74 LIBRARIES.l4 += RuntimeR3L4 RuntimeLnxHostR3 75 DLLS += VBoxRT 76 OTHER_CLEAN += \ 74 77 $(PATH_TARGET)/errmsgdata.h \ 75 78 $(PATH_TARGET)/errmsgcomdata.h \ … … 79 82 80 83 endif 84 85 86 # 87 # Globals 88 # 89 VBOX_PATH_RUNTIME_SRC := $(PATH_SUB_CURRENT) 81 90 82 91 … … 1162 1171 # made irrelevant even for RuntimeR0Drv). 1163 1172 # 1164 RuntimeGuestR0_TEMPLATE 1165 RuntimeGuestR0_SOURCES 1166 RuntimeGuestR0_SOURCES 1167 RuntimeGuestR0_EXTENDS 1173 RuntimeGuestR0_TEMPLATE := VBOXGUESTR0LIB 1174 RuntimeGuestR0_SOURCES := $(filter-out generic/RTLogWriteUser-generic.cpp, $(RuntimeR0Drv_SOURCES)) 1175 RuntimeGuestR0_SOURCES += VBox/logbackdoor.cpp 1176 RuntimeGuestR0_EXTENDS = RuntimeR0Drv 1168 1177 1169 1178 # HACK: no vbi for the solaris guest additions - yet. … … 1332 1341 # Generate the status code data. 1333 1342 # 1334 $(PATH_TARGET)/errmsgdata.h: common/err/errmsg.sed $(DEPTH)/include/iprt/err.h $(DEPTH)/include/VBox/err.h 1343 $(PATH_TARGET)/errmsgdata.h: \ 1344 $(VBOX_PATH_RUNTIME_SRC)/common/err/errmsg.sed \ 1345 $(PATH_ROOT)/include/iprt/err.h \ 1346 $(PATH_ROOT)/include/VBox/err.h 1335 1347 $(call MSG_GENERATE,,$@,$(filter %.h,$^)) 1336 1348 $(QUIET)$(MKDIR) -p $(PATH_TARGET) … … 1338 1350 1339 1351 ## @todo r=bird: rename this to indicate that it's not only COM errors, but all win32/64 errors. 1340 $(PATH_TARGET)/errmsgcomdata.h: common/err/errmsgcom.sed $(PATH_SDK_WINPSDK_INC)/WinError.h 1352 $(PATH_TARGET)/errmsgcomdata.h: \ 1353 $(VBOX_PATH_RUNTIME_SRC)/common/err/errmsgcom.sed \ 1354 $(PATH_SDK_WINPSDK_INC)/WinError.h 1341 1355 $(call MSG_GENERATE,,$@,$(filter %.h,$^)) 1342 1356 $(QUIET)$(MKDIR) -p $(PATH_TARGET) … … 1359 1373 $(PATH_ROOT)/include/iprt/nocrt/x86 \ 1360 1374 $(PATH_ROOT)/include/iprt/nocrt/amd64 \ 1361 include/internal \1362 common/alloc \1363 common/checksum \1364 common/err \1365 common/ldr \1366 common/log \1367 common/misc \1368 common/string \1369 common/table \1370 common/time \1371 VBox/\1372 $(foreach dir, . r3r0drv,\1375 $(VBOX_PATH_RUNTIME_SRC)/include/internal \ 1376 $(VBOX_PATH_RUNTIME_SRC)/common/alloc \ 1377 $(VBOX_PATH_RUNTIME_SRC)/common/checksum \ 1378 $(VBOX_PATH_RUNTIME_SRC)/common/err \ 1379 $(VBOX_PATH_RUNTIME_SRC)/common/ldr \ 1380 $(VBOX_PATH_RUNTIME_SRC)/common/log \ 1381 $(VBOX_PATH_RUNTIME_SRC)/common/misc \ 1382 $(VBOX_PATH_RUNTIME_SRC)/common/string \ 1383 $(VBOX_PATH_RUNTIME_SRC)/common/table \ 1384 $(VBOX_PATH_RUNTIME_SRC)/common/time \ 1385 $(VBOX_PATH_RUNTIME_SRC)/VBox \ 1386 $(foreach dir, $(VBOX_PATH_RUNTIME_SRC) $(VBOX_PATH_RUNTIME_SRC)/r3 $(VBOX_PATH_RUNTIME_SRC)/r0drv,\ 1373 1387 $(dir) \ 1374 1388 $(dir)/darwin \ … … 1405 1419 1406 1420 # Generate the Doxyfile 1407 $(PATH_TARGET)/Doxyfile: DoxyfileMakefile.kmk \1421 $(PATH_TARGET)/Doxyfile: $(VBOX_PATH_RUNTIME_SRC)/Doxyfile $(VBOX_PATH_RUNTIME_SRC)/Makefile.kmk \ 1408 1422 $(comp-vars DOXYGEN_INPUT,DOXYGEN_INPUT_PREV,FORCE) \ 1409 1423 $(comp-vars DOXYGEN_OUTPUT,DOXYGEN_OUTPUT_PREV,FORCE) \ 1410 1424 | $(call DIRDEP, $(PATH_TARGET)) 1411 1425 $(RM) -f $@ [email protected] $(PATH_TARGET)/Doxyfile.dep 1412 $(CP) -f Doxyfile [email protected]1426 $(CP) -f $(VBOX_PATH_RUNTIME_SRC)/Doxyfile [email protected] 1413 1427 $(APPEND) [email protected] 1414 1428 $(APPEND) [email protected] "OUTPUT_DIRECTORY = $(DOXYGEN_OUTPUT)" -
trunk/src/VBox/Runtime/testcase/Makefile.kmk
r9502 r10048 29 29 # 30 30 31 DEPTH ?= ../../../.. 31 ifdef VBOX_KBUILD_HACKING 32 SUB_DEPTH = ../../../.. 33 else 32 34 SUB_DEPTH = .. 35 DEPTH ?= ../../../.. 36 endif 33 37 include $(KBUILD_PATH)/subheader.kmk 34 38 … … 46 50 # Target lists 47 51 # 48 PROGRAMS = \52 PROGRAMS += \ 49 53 tstAvl \ 50 54 tstBitOperations \ … … 84 88 tstUuid 85 89 # tstSems 86 PROGRAMS.win = \90 PROGRAMS.win += \ 87 91 tstRTProcWait \ 88 92 tstCritSectW32 \ 89 93 tstFileAppendWin-1 \ 90 94 ntGetTimerResolution 91 PROGRAMS.linux = \95 PROGRAMS.linux += \ 92 96 tstRTProcWait \ 93 97 tstBitOperationsPIC3 \ … … 95 99 tstInlineAsmPIC3 \ 96 100 tstSemMutex 97 PROGRAMS.l4 = \101 PROGRAMS.l4 += \ 98 102 tstIoCtl 99 SYSMODS = \103 SYSMODS += \ 100 104 tstLdrObj \ 101 105 tstLdrObjR0
Note:
See TracChangeset
for help on using the changeset viewer.