Changeset 10057 in vbox
- Timestamp:
- Jul 1, 2008 1:54:58 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/Makefile.kmk
r10056 r10057 79 79 $(PATH_VBoxCOM)/VirtualBox_i.c \ 80 80 $(PATH_VBoxCOM)/VirtualBox.tlb 81 else 81 VBOX_MAIN_PREREQS = $(PATH_VBoxCOM)/VirtualBox_i.c 82 else # xpcom 82 83 INSTALLS += xpcom-components 83 84 IDLFILE = $(VBOX_PATH_SDK)/idl/VirtualBox_XPCOM.idl … … 94 95 $(IDLTYPELIB) 95 96 96 endif 97 VBOX_MAIN_PREREQS = $(IDLTYPELIB) $(IDLHEADER) 98 endif # xpcom 97 99 98 100 … … 192 194 adm \ 193 195 devinfo 196 197 VBoxSVC_INTERMEDIATES = $(VBOX_MAIN_PREREQS) 194 198 195 199 VBoxSVC_SOURCES = \ … … 289 293 $(PATH_VBoxC) \ 290 294 . 295 VBoxSVCM_INTERMEDIATES = $(VBOX_MAIN_PREREQS) 291 296 VBoxSVCM_SOURCES = \ 292 297 xpcom/server_module.cpp … … 304 309 $(APPEND) $@ _NSGetModule 305 310 endif 311 VBoxSVCM_INTERMEDIATES = $(IDLHEADER) 306 312 307 313 endif # VBOX_WITH_XPCOM … … 373 379 $(LIB_VMM) \ 374 380 $(LIB_REM) 381 382 VBoxC_INTERMEDIATES = $(VBOX_MAIN_PREREQS) 375 383 376 384 VBoxC_SOURCES = \ … … 457 465 # 458 466 VBoxCOM_TEMPLATE = VBOXMAINLIB 467 VBoxCOM_INTERMEDIATES = $(VBOX_MAIN_PREREQS) 459 468 VBoxCOM_SOURCES = \ 460 469 glue/com.cpp \ … … 477 486 478 487 # 479 # Generate _DEPS on all sources which depends on generated headers.480 #481 ifeq ($(KBUILD_TARGET),win)482 PREREQS = $(PATH_VBoxCOM)/VirtualBox_i.c483 else484 PREREQS = $(IDLTYPELIB) $(IDLHEADER)485 endif486 487 # brute force way to ensure the prereqs are generated before anything is compiled.488 define def_src_deps489 $(src)_ORDERDEPS += $(PREREQS)490 endef491 $(foreach src,\492 $(VBoxC_SOURCES) $(VBoxC_SOURCES.$(KBUILD_TARGET)) \493 $(VBoxSVC_SOURCES) $(VBoxSVC_SOURCES.$(KBUILD_TARGET)) \494 $(VBoxCOM_SOURCES) \495 ,$(eval $(value def_src_deps)))496 497 498 #499 488 # Embed XML Schema files to VBoxSVC 500 489 # 501 502 490 VBOX_XML_SCHEMA_H = $(PATH_TARGET)/xml_VirtualBox_settings_xsd.h 503 491 VBOX_XML_SCHEMA_COMMON_H = $(PATH_TARGET)/xml_VirtualBox_settings_common_xsd.h … … 667 655 endif 668 656 669 # bird: anyone still using this? If not it's a gonner.670 ## Hack to work around wine's trouble with midl.exe and rc.exe (seems to be msvcrt.dll related)671 #gen: $(PREREQS)672 673 657 674 658 #
Note:
See TracChangeset
for help on using the changeset viewer.