Changeset 10225 in vbox
- Timestamp:
- Jul 4, 2008 1:04:58 PM (16 years ago)
- Location:
- trunk/src/VBox
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/Makefile.kmk
r10199 r10225 108 108 109 109 $(PATH_TARGET)/docs.Main: \ 110 Doxyfile.Main \111 idl/doxygen.xsl \112 idl/VirtualBox.xidl \110 $(VBOX_PATH_MAIN_SRC)/Doxyfile.Main \ 111 $(VBOX_PATH_MAIN_SRC)/idl/doxygen.xsl \ 112 $(VBOX_PATH_MAIN_SRC)/idl/VirtualBox.xidl \ 113 113 | $(call DIRDEP, $(PATH_TARGET)) \ 114 114 $(call DIRDEP, $(PATH_OUT)/docs/Main) 115 115 $(RM) -f $(wildcard $(PATH_OUT)/docs/Main/html/*) 116 $(VBOX_XSLTPROC) -o $(PATH_TARGET)/VirtualBox.idl idl/doxygen.xslidl/VirtualBox.xidl116 $(VBOX_XSLTPROC) -o $(PATH_TARGET)/VirtualBox.idl $(VBOX_PATH_MAIN_SRC)/idl/doxygen.xsl $(VBOX_PATH_MAIN_SRC)/idl/VirtualBox.xidl 117 117 $(REDIRECT) -E 'PATH_OUT=$(PATH_OUT)' -E 'PATH_TARGET=$(PATH_TARGET)' -E 'PATH_CHM=$(subst /,\,$(PATH_BIN)/VirtualBoxAPI.chm)' \ 118 -- doxygen Doxyfile.Main118 -- doxygen $(VBOX_PATH_MAIN_SRC)/Doxyfile.Main 119 119 -$(EXEC_X86_WIN32) $(VBOX_PATH_HTML_HELP_WORKSHOP)/hhc.exe $(subst /,\\,$(PATH_OUT)/docs/Main/html/index.hhp) 120 120 $(APPEND) $(PATH_TARGET)/docs.Main -
trunk/src/VBox/Runtime/Makefile.kmk
r10177 r10225 77 77 $(PATH_TARGET)/errmsgdata.h \ 78 78 $(PATH_TARGET)/errmsgcomdata.h \ 79 $(PATH_TARGET)/Doxyfile \80 $(PATH_TARGET)/Doxyfile. dep \79 $(PATH_TARGET)/Doxyfile.iprt \ 80 $(PATH_TARGET)/Doxyfile.iprt.dep \ 81 81 $(PATH_TARGET)/docs.iprt 82 82 … … 1369 1369 # Doxygen documentation. 1370 1370 # 1371 DOXYGEN_INPUT_DIRS = \1371 IPRT_DOXYFILE_INPUT_DIRS = \ 1372 1372 $(PATH_ROOT)/include/iprt \ 1373 1373 $(PATH_ROOT)/include/iprt/nocrt \ … … 1399 1399 1400 1400 # These must come first in order to make things look nice. 1401 DOXYGEN_INPUT_FIRST =\1401 IPRT_DOXYFILE_INPUT_FIRST =\ 1402 1402 $(PATH_ROOT)/include/iprt/cdefs.h \ 1403 1403 $(PATH_ROOT)/include/iprt/types.h \ … … 1407 1407 $(PATH_ROOT)/include/iprt/asm.h \ 1408 1408 1409 DOXYGEN_INPUT := \1410 $(filter-out %.cpp.h, $(sort $(wildcard $(addsuffix /*.h, $( DOXYGEN_INPUT_DIRS)))) ) \1411 $(foreach dir, $( DOXYGEN_INPUT_DIRS), $(wildcard $(dir)/*.cpp $(dir)/.c $(dir)/.asm))1412 DOXYGEN_INPUT := \1413 $( DOXYGEN_INPUT_FIRST) \1414 $(filter-out $( DOXYGEN_INPUT_FIRST), $(DOXYGEN_INPUT))1415 1416 1417 DOXYGEN_OUTPUT = $(PATH_OUT)/docs/iprt1418 1419 -include $(PATH_TARGET)/Doxyfile. dep1409 IPRT_DOXYFILE_INPUT := \ 1410 $(filter-out %.cpp.h, $(sort $(wildcard $(addsuffix /*.h, $(IPRT_DOXYFILE_INPUT_DIRS)))) ) \ 1411 $(foreach dir, $(IPRT_DOXYFILE_INPUT_DIRS), $(wildcard $(dir)/*.cpp $(dir)/.c $(dir)/.asm)) 1412 IPRT_DOXYFILE_INPUT := \ 1413 $(IPRT_DOXYFILE_INPUT_FIRST) \ 1414 $(filter-out $(IPRT_DOXYFILE_INPUT_FIRST), $(IPRT_DOXYFILE_INPUT)) 1415 1416 1417 IPRT_DOXYFILE_OUTPUT = $(PATH_OUT)/docs/iprt 1418 1419 -include $(PATH_TARGET)/Doxyfile.iprt.dep 1420 1420 1421 1421 # Generate the Doxyfile 1422 $(PATH_TARGET)/Doxyfile: $(VBOX_PATH_RUNTIME_SRC)/Doxyfile $(VBOX_PATH_RUNTIME_SRC)/Makefile.kmk \ 1423 $(comp-vars DOXYGEN_INPUT,DOXYGEN_INPUT_PREV,FORCE) \ 1424 $(comp-vars DOXYGEN_OUTPUT,DOXYGEN_OUTPUT_PREV,FORCE) \ 1422 $(PATH_TARGET)/Doxyfile.iprt: \ 1423 $(VBOX_PATH_RUNTIME_SRC)/Doxyfile \ 1424 $(VBOX_PATH_RUNTIME_SRC)/Makefile.kmk \ 1425 $(comp-vars IPRT_DOXYFILE_INPUT,DOXYGEN_INPUT_PREV,FORCE) \ 1426 $(comp-vars IPRT_DOXYFILE_OUTPUT,DOXYGEN_OUTPUT_PREV,FORCE) \ 1425 1427 | $(call DIRDEP, $(PATH_TARGET)) 1426 $(RM) -f $@ [email protected] $(PATH_TARGET)/Doxyfile. dep1428 $(RM) -f $@ [email protected] $(PATH_TARGET)/Doxyfile.iprt.dep 1427 1429 $(CP) -f $(VBOX_PATH_RUNTIME_SRC)/Doxyfile [email protected] 1428 1430 $(APPEND) [email protected] 1429 $(APPEND) [email protected] "OUTPUT_DIRECTORY = $( DOXYGEN_OUTPUT)"1430 $(APPEND) [email protected] "WARN_LOGFILE = $( DOXYGEN_OUTPUT)/errors"1431 $(APPEND) [email protected] "OUTPUT_DIRECTORY = $(IPRT_DOXYFILE_OUTPUT)" 1432 $(APPEND) [email protected] "WARN_LOGFILE = $(IPRT_DOXYFILE_OUTPUT)/errors" 1431 1433 $(APPEND) [email protected] "INCLUDE_PATH = $(PATH_ROOT)/include include . common/table" 1432 1434 $(APPEND) [email protected] "INCLUDE_FILE_PATTERNS = *.cpp.h" 1433 1435 $(APPEND) [email protected] "PREDEFINED += $(ARCH_BITS_DEFS)" 1434 1436 $(APPEND) [email protected] 1435 $(APPEND) [email protected] "INPUT = $( DOXYGEN_INPUT)"1437 $(APPEND) [email protected] "INPUT = $(IPRT_DOXYFILE_INPUT)" 1436 1438 $(APPEND) [email protected] 1437 1439 $(MV) -f [email protected] $@ 1438 @$(APPEND) $(PATH_TARGET)/Doxyfile. dep "DOXYGEN_OUTPUT_PREV = $(DOXYGEN_OUTPUT)"1439 @$(APPEND) $(PATH_TARGET)/Doxyfile. dep "DOXYGEN_INPUT_PREV = $(DOXYGEN_INPUT)"1440 @$(APPEND) $(PATH_TARGET)/Doxyfile.iprt.dep "DOXYGEN_OUTPUT_PREV = $(IPRT_DOXYFILE_OUTPUT)" 1441 @$(APPEND) $(PATH_TARGET)/Doxyfile.iprt.dep "DOXYGEN_INPUT_PREV = $(IPRT_DOXYFILE_INPUT)" 1440 1442 1441 1443 # Create the output directory. 1442 $(call DIRDEP, $( DOXYGEN_OUTPUT)):1444 $(call DIRDEP, $(IPRT_DOXYFILE_OUTPUT)): 1443 1445 $(MKDIR) -p $@ 1444 1446 1445 1447 # Do the actual job. 1446 $(PATH_TARGET)/docs.iprt: $(PATH_TARGET)/Doxyfile $(DOXYGEN_INPUT) | $(call DIRDEP, $(DOXYGEN_OUTPUT))1447 $(RM) -f $(wildcard $( DOXYGEN_OUTPUT)/html/*) $(PATH_TARGET)/docs.iprt1448 doxygen $(PATH_TARGET)/Doxyfile 1448 $(PATH_TARGET)/docs.iprt: $(PATH_TARGET)/Doxyfile.iprt $(IPRT_DOXYFILE_INPUT) | $(call DIRDEP, $(IPRT_DOXYFILE_OUTPUT)) 1449 $(RM) -f $(wildcard $(IPRT_DOXYFILE_OUTPUT)/html/*) $(PATH_TARGET)/docs.iprt 1450 doxygen $(PATH_TARGET)/Doxyfile.iprt 1449 1451 $(APPEND) $(PATH_TARGET)/docs.iprt 1450 1452 … … 1453 1455 1454 1456 test: 1455 @echo test-$(comp-vars DOXYGEN_OUTPUT,DOXYGEN_OUTPUT_PREV,FORCE)1456 @echo $( DOXYGEN_OUTPUT)1457 @echo test-$(comp-vars IPRT_DOXYFILE_OUTPUT,DOXYGEN_OUTPUT_PREV,FORCE) 1458 @echo $(IPRT_DOXYFILE_OUTPUT) 1457 1459 @echo $(DOXYGEN_OUTPUT_PREV) 1458 @echo $( DOXYGEN_INPUT)1459 1460 @echo $(IPRT_DOXYFILE_INPUT) 1461
Note:
See TracChangeset
for help on using the changeset viewer.