Changeset 34609 in vbox
- Timestamp:
- Dec 2, 2010 2:04:24 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Config.kmk
r34595 r34609 226 226 # exist and which value they should have (usually 1, but anyway). 227 227 # 228 229 # Virtual single makefile.230 # If undefined, the tranditional recursive make method will be used.231 VBOX_SINGLE_MAKEFILE = 1232 228 233 229 ## @name Additions -
trunk/Makefile.kmk
r34517 r34609 22 22 # Sub-makefiles / Sub-directories. 23 23 # 24 ifdef VBOX_SINGLE_MAKEFILE 25 if defined(VBOX_WITH_DOCS) && !defined(VBOX_ONLY_ADDITIONS) && !defined(VBOX_ONLY_EXTPACKS) && !defined(VBOX_ONLY_TESTSUITE) 26 include $(PATH_SUB_CURRENT)/doc/manual/Makefile.kmk 27 endif 28 include $(PATH_SUB_CURRENT)/src/Makefile.kmk 29 else 30 if defined(VBOX_WITH_DOCS) && !defined(VBOX_ONLY_ADDITIONS) && !defined(VBOX_ONLY_EXTPACKS) && !defined(VBOX_ONLY_TESTSUITE) 31 SUBDIRS = doc/manual 32 endif 33 SUBDIRS += src 34 endif 24 if defined(VBOX_WITH_DOCS) && !defined(VBOX_ONLY_ADDITIONS) && !defined(VBOX_ONLY_EXTPACKS) && !defined(VBOX_ONLY_TESTSUITE) 25 include $(PATH_SUB_CURRENT)/doc/manual/Makefile.kmk 26 endif 27 include $(PATH_SUB_CURRENT)/src/Makefile.kmk 35 28 36 29 … … 262 255 $(SHELL) $(PATH_DEVTOOLS)/bin/additions.sh --cmd fetch --filename $(PATH_TARGET)/VBoxGuestAdditions.iso.tmp 263 256 else 264 $(KMK) --affinity 1 -f $(MAKEFILE) VBOX_SINGLE_MAKEFILE=buildserver-additions-affinity-hack257 $(KMK) --affinity 1 -f $(MAKEFILE) buildserver-additions-affinity-hack 265 258 endif 266 259 $(CP) -f $(PATH_TARGET)/VBoxGuestAdditions.iso.tmp $(PATH_TARGET)/VBoxGuestAdditions.iso … … 310 303 $(SHELL) $(PATH_DEVTOOLS)/bin/documentation.sh --cmd fetch --filename [email protected] 311 304 else 312 $(KMK) --affinity 1 -f $(MAKEFILE) VBOX_SINGLE_MAKEFILE=buildserver-documentation-affinity-hack305 $(KMK) --affinity 1 -f $(MAKEFILE) buildserver-documentation-affinity-hack 313 306 endif 314 307 $(CP) -f [email protected] $@ … … 362 355 $(SHELL) $(PATH_DEVTOOLS)/bin/efi_firmware.sh --cmd fetch --filename [email protected] 363 356 else 364 $(KMK) --affinity 1 -f $(MAKEFILE) VBOX_SINGLE_MAKEFILE=buildserver-efifw-affinity-hack357 $(KMK) --affinity 1 -f $(MAKEFILE) buildserver-efifw-affinity-hack 365 358 endif 366 359 $(CP) -f [email protected] $@ … … 428 421 # (This should be converted into a separate pass or merged with an existing one later.) 429 422 # 430 ifdef VBOX_SINGLE_MAKEFILE 431 ifdef VBOX_WITH_ALL_DOXYGEN_TARGETS 423 ifdef VBOX_WITH_ALL_DOXYGEN_TARGETS 432 424 docs: docs.Core 433 endif 434 else # !VBOX_SINGLE_MAKEFILE 435 docs: $(if $(VBOX_WITH_ALL_DOXYGEN_TARGETS),docs.Core) 436 $(KMK) -C src/VBox/Main docs.Main 437 ifdef VBOX_WITH_ALL_DOXYGEN_TARGETS 438 $(KMK) -C src/VBox/Runtime docs.iprt 439 endif 440 endif # !VBOX_SINGLE_MAKEFILE 425 endif 441 426 endif # !VBOX_ONLY_DOCS 442 427 -
trunk/doc/VBox-MakefileGuidelines.cpp
r28800 r34609 78 78 * - Using bits defined by a sub-makefile is fine, using anything defined 79 79 * by a parent, sibling, uncle, cousine, or remoter relatives is not 80 * Okay. It may break sub-tree building and possibly also 81 * VBOX_SINGLE_MAKEFILE, both things that has to work all the time. 82 * 83 * - The traditional recursive build must always work, i.e. undefine 84 * VBOX_SINGLE_MAKEFILE. 80 * Okay. It may break sub-tree building which is not acceptable. 85 81 * 86 82 * - Template names starts with VBOX and are all upper cased, no -
trunk/src/Makefile.kmk
r34492 r34609 18 18 SUB_DEPTH = .. 19 19 include $(KBUILD_PATH)/subheader.kmk 20 21 ifdef VBOX_SINGLE_MAKEFILE22 20 23 21 if defined(VBOX_ONLY_ADDITIONS) … … 57 55 endif # !VBOX_ONLY_ADDITIONS && !VBOX_ONLY_EXTPACKS && !VBOX_ONLY_DOCS && !VBOX_ONLY_SDK && !VBOX_ONLY_TESTSUITE 58 56 59 else # !VBOX_SINGLE_MAKEFILE60 DEPTH = ..61 include $(KBUILD_PATH)/header.kmk62 63 ifdef VBOX_ONLY_ADDITIONS64 SUBDIRS = VBox65 66 else ifdef VBOX_ONLY_DOCS67 SUBDIRS = VBox/Runtime bldprogs libs VBox68 69 else ifdef VBOX_ONLY_SDK70 SUBDIRS = bldprogs libs VBox71 72 else # !VBOX_ONLY_ADDITIONS73 # Build IPRT first because xpcom (IPC, nspr, python) depends on it.74 SUBDIRS = libs VBox/Runtime bldprogs VBox recompiler75 ifneq ($(wildcard apps),)76 SUBDIRS += apps77 endif78 ifdef VBOX_WITH_TESTSUITE79 SUBDIRS += tests80 endif81 ifdef VBOX_WITH_TESTCASES82 SUBDIRS += testcase83 endif84 endif # !VBOX_ONLY_ADDITIONS85 86 endif # !VBOX_SINGLE_MAKEFILE87 88 57 include $(KBUILD_PATH)/subfooter.kmk 89 58 -
trunk/src/VBox/Main/webservice/Makefile.kmk
r34607 r34609 502 502 # 503 503 # We can't just built up OTHERS and append it to OTHER_CLEAN because we're sharing 504 # OTHERS with all the other VBox makefiles (VBOX_SINGLE_MAKEFILE), thus VBOXWEB_OTHERS.504 # OTHERS with all the other VBox makefiles, thus VBOXWEB_OTHERS. 505 505 # 506 506 OTHERS += $(VBOXWEB_OTHERS) -
trunk/src/VBox/Makefile.kmk
r34492 r34609 19 19 include $(KBUILD_PATH)/subheader.kmk 20 20 21 ifdef VBOX_SINGLE_MAKEFILE22 21 23 22 ifdef VBOX_ONLY_ADDITIONS … … 100 99 endif # !VBOX_ONLY_ADDITIONS && !VBOX_ONLY_DOCS 101 100 102 else # !VBOX_SINGLE_MAKEFILE103 104 ifdef VBOX_ONLY_ADDITIONS105 SUBDIRS = Runtime106 ifdef VBOX_WITH_CROGL107 SUBDIRS += GuestHost108 endif109 SUBDIRS += Additions110 111 else ifdef VBOX_ONLY_DOCS112 SUBDIRS = \113 Runtime \114 Frontends \115 HostDrivers116 117 else ifdef VBOX_ONLY_SDK118 SUBDIRS = \119 Main \120 RDP \121 Installer122 123 else # !VBOX_ONLY_ADDITIONS && !VBOX_ONLY_DOCS124 SUBDIRS_BLDPROGS = Devices Main125 126 SUBDIRS = \127 Runtime \128 HostDrivers \129 VMM \130 Devices \131 Disassembler \132 Storage133 134 ifdef VBOX_WITH_CROGL135 SUBDIRS += GuestHost136 endif137 138 SUBDIRS += HostServices139 140 ifdef VBOX_WITH_DEBUGGER141 SUBDIRS += Debugger142 endif143 144 ifdef VBOX_WITH_MAIN145 SUBDIRS += Main146 endif147 148 ifdef VBOX_WITH_VRDP149 SUBDIRS += RDP150 endif151 152 ifdef VBOX_WITH_ADDITIONS153 SUBDIRS += Additions154 endif155 156 ifdef VBOX_WITH_TESTSUITE157 SUBDIRS += Testsuite158 endif159 160 SUBDIRS += \161 Frontends \162 NetworkServices163 164 ifndef VBOX_OSE165 SUBDIRS += ExtPacks166 endif167 168 # This must be the last one.169 ifdef VBOX_WITH_INSTALLER170 SUBDIRS += Installer171 endif172 endif # !VBOX_ONLY_ADDITIONS && !VBOX_ONLY_DOCS173 174 endif # !VBOX_SINGLE_MAKEFILE175 101 176 102 include $(KBUILD_PATH)/subfooter.kmk
Note:
See TracChangeset
for help on using the changeset viewer.