- Timestamp:
- Sep 9, 2008 1:13:58 AM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 36245
- Location:
- trunk/src/VBox/Runtime
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/Makefile.kmk
r12170 r12247 29 29 # 30 30 31 ifdef VBOX_SINGLE_MAKEFILE32 31 SUB_DEPTH = ../../.. 33 else34 SUB_DEPTH = .35 DEPTH ?= ../../..36 endif37 32 include $(KBUILD_PATH)/subheader.kmk 38 33 … … 81 76 LIBRARIES.l4 += RuntimeR3L4 RuntimeLnxHostR3 82 77 DLLS += VBoxRT 83 OTHER_CLEAN += \ 84 $(PATH_TARGET)/errmsgdata.h \ 85 $(PATH_TARGET)/errmsgcomdata.h \ 86 $(PATH_TARGET)/Doxyfile.iprt \ 87 $(PATH_TARGET)/Doxyfile.iprt.dep \ 88 $(PATH_TARGET)/docs.iprt 89 90 endif 78 endif 79 80 # Where the generated stuff goes. 81 IPRT_OUT_DIR := $(PATH_TARGET)/Runtime 82 BLDDIRS += $(IPRT_OUT_DIR) 83 OTHER_CLEAN += \ 84 $(IPRT_OUT_DIR)/errmsgdata.h \ 85 $(IPRT_OUT_DIR)/errmsgcomdata.h \ 86 $(IPRT_OUT_DIR)/Doxyfile.iprt \ 87 $(IPRT_OUT_DIR)/Doxyfile.iprt.dep \ 88 $(IPRT_OUT_DIR)/docs.iprt 91 89 92 90 … … 1396 1394 # errmsg.cpp depends on a generated header. 1397 1395 # 1398 common/err/errmsg.cpp_DEPS = $( PATH_TARGET)/errmsgdata.h1399 common/err/errmsg.cpp_INCS = $( PATH_TARGET)1400 1401 win/errmsgwin.cpp_DEPS = $( PATH_TARGET)/errmsgcomdata.h1402 win/errmsgwin.cpp_INCS = $( PATH_TARGET)1396 common/err/errmsg.cpp_DEPS = $(IPRT_OUT_DIR)/errmsgdata.h 1397 common/err/errmsg.cpp_INCS = $(IPRT_OUT_DIR) 1398 1399 win/errmsgwin.cpp_DEPS = $(IPRT_OUT_DIR)/errmsgcomdata.h 1400 win/errmsgwin.cpp_INCS = $(IPRT_OUT_DIR) 1403 1401 1404 1402 … … 1421 1419 # Generate the status code data. 1422 1420 # 1423 $( PATH_TARGET)/errmsgdata.h: \1421 $(IPRT_OUT_DIR)/errmsgdata.h: \ 1424 1422 $(VBOX_PATH_RUNTIME_SRC)/common/err/errmsg.sed \ 1425 1423 $(PATH_ROOT)/include/iprt/err.h \ 1426 $(PATH_ROOT)/include/VBox/err.h 1424 $(PATH_ROOT)/include/VBox/err.h \ 1425 | $$(dir $$@) 1427 1426 $(call MSG_GENERATE,,$@,$(filter %.h,$^)) 1428 $(QUIET)$(MKDIR) -p $(PATH_TARGET)1429 1427 $(QUIET)$(REDIRECT) -wo $@ -- $(SED) -f $< $(filter %.h,$^) 1430 1428 1431 1429 ## @todo r=bird: rename this to indicate that it's not only COM errors, but all win32/64 errors. 1432 $( PATH_TARGET)/errmsgcomdata.h: \1430 $(IPRT_OUT_DIR)/errmsgcomdata.h: \ 1433 1431 $(VBOX_PATH_RUNTIME_SRC)/common/err/errmsgcom.sed \ 1434 $$(PATH_SDK_WINPSDK_INC)/WinError.h 1432 $$(PATH_SDK_WINPSDK_INC)/WinError.h \ 1433 | $$(dir $$@) 1435 1434 $(call MSG_GENERATE,,$@,$(filter %.h,$^)) 1436 $(QUIET)$(MKDIR) -p $(PATH_TARGET)1437 1435 $(QUIET)$(REDIRECT) -wo $@ -- $(SED) -f $< $(filter %.h,$^) 1438 1436 … … 1496 1494 IPRT_DOXYFILE_OUTPUT = $(PATH_OUT)/docs/iprt 1497 1495 1498 -include $(PATH_TARGET)/Doxyfile.iprt.dep1496 includedep $(IPRT_OUT_DIR)/Doxyfile.iprt.dep 1499 1497 1500 1498 # Generate the Doxyfile 1501 $( PATH_TARGET)/Doxyfile.iprt: \1499 $(IPRT_OUT_DIR)/Doxyfile.iprt: \ 1502 1500 $(VBOX_PATH_RUNTIME_SRC)/Doxyfile \ 1503 1501 $(VBOX_PATH_RUNTIME_SRC)/Makefile.kmk \ 1504 1502 $(comp-vars IPRT_DOXYFILE_INPUT,DOXYGEN_INPUT_PREV,FORCE) \ 1505 1503 $(comp-vars IPRT_DOXYFILE_OUTPUT,DOXYGEN_OUTPUT_PREV,FORCE) \ 1506 | $ (call DIRDEP, $(PATH_TARGET))1507 $(RM) -f $@ [email protected] $ (PATH_TARGET)/Doxyfile.iprt.dep1504 | $$(dir $$@) 1505 $(RM) -f $@ [email protected] $@.dep 1508 1506 $(CP) -f $(VBOX_PATH_RUNTIME_SRC)/Doxyfile [email protected] 1509 1507 $(APPEND) [email protected] … … 1517 1515 $(APPEND) [email protected] 1518 1516 $(MV) -f [email protected] $@ 1519 @$(APPEND) $ (PATH_TARGET)/Doxyfile.iprt.dep "DOXYGEN_OUTPUT_PREV = $(IPRT_DOXYFILE_OUTPUT)"1520 @$(APPEND) $ (PATH_TARGET)/Doxyfile.iprt.dep "DOXYGEN_INPUT_PREV = $(IPRT_DOXYFILE_INPUT)"1517 @$(APPEND) $@.dep "DOXYGEN_OUTPUT_PREV = $(IPRT_DOXYFILE_OUTPUT)" 1518 @$(APPEND) $@.dep "DOXYGEN_INPUT_PREV = $(IPRT_DOXYFILE_INPUT)" 1521 1519 1522 1520 # Create the output directory. … … 1525 1523 1526 1524 # Do the actual job. 1527 $( PATH_TARGET)/docs.iprt: $(PATH_TARGET)/Doxyfile.iprt $(IPRT_DOXYFILE_INPUT) | $(call DIRDEP, $(IPRT_DOXYFILE_OUTPUT))1528 $(RM) -f $(wildcard $(IPRT_DOXYFILE_OUTPUT)/html/*) $( PATH_TARGET)/docs.iprt1529 doxygen $( PATH_TARGET)/Doxyfile.iprt1530 $(APPEND) $( PATH_TARGET)/docs.iprt1525 $(IPRT_OUT_DIR)/docs.iprt: $(IPRT_OUT_DIR)/Doxyfile.iprt $(IPRT_DOXYFILE_INPUT) | $(call DIRDEP, $(IPRT_DOXYFILE_OUTPUT)) 1526 $(RM) -f $(wildcard $(IPRT_DOXYFILE_OUTPUT)/html/*) $(IPRT_OUT_DIR)/docs.iprt 1527 doxygen $(IPRT_OUT_DIR)/Doxyfile.iprt 1528 $(APPEND) $(IPRT_OUT_DIR)/docs.iprt 1531 1529 1532 1530 # alias 1533 docs: $( PATH_TARGET)/docs.iprt1531 docs: $(IPRT_OUT_DIR)/docs.iprt 1534 1532 1535 1533 test: -
trunk/src/VBox/Runtime/testcase/Makefile.kmk
r12170 r12247 29 29 # 30 30 31 ifdef VBOX_SINGLE_MAKEFILE32 31 SUB_DEPTH = ../../../.. 33 else34 SUB_DEPTH = ..35 DEPTH ?= ../../../..36 endif37 32 include $(KBUILD_PATH)/subheader.kmk 38 33 … … 45 40 # 46 41 TEMPLATE = VBOXR3TSTEXE 42 43 # Defined by the parent makefile as well (for errmsgdata.h). 44 IPRT_OUT_DIR ?= $(PATH_TARGET)/Runtime 47 45 48 46 … … 149 147 # Note: tstErrUnique.cpp depends on a header generated by the makefile above us. 150 148 tstErrUnique_SOURCES = tstErrUnique.cpp 151 tstErrUnique_INCS = $( PATH_TARGET)/152 tstErrUnique.cpp_DEPS = $( PATH_TARGET)/errmsgdata.h149 tstErrUnique_INCS = $(IPRT_OUT_DIR)/ 150 tstErrUnique.cpp_DEPS = $(IPRT_OUT_DIR)/errmsgdata.h 153 151 154 152 tstFile_SOURCES = tstFile.cpp
Note:
See TracChangeset
for help on using the changeset viewer.