Changeset 6124 in vbox for trunk/src/VBox/Main
- Timestamp:
- Dec 18, 2007 1:53:29 PM (17 years ago)
- Location:
- trunk/src/VBox/Main
- Files:
-
- 1 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/Makefile.kmk
r6076 r6124 28 28 29 29 LIBRARIES = VBoxCOM 30 DLLS = VBox XML VBoxSettings VBoxC30 DLLS = VBoxSettings VBoxC 31 31 PROGRAMS = VBoxSVC 32 32 ifneq ($(BUILD_TARGET),win) … … 41 41 endif 42 42 43 44 #PROGRAMS = tstCFGLdr45 43 46 44 ifeq ($(BUILD_TARGET),win) … … 74 72 75 73 76 77 74 # 78 75 # The Main API documentation … … 102 99 103 100 VBoxSVC_TEMPLATE = VBOXMAINEXE 104 VBoxSVC_DEFS = CFGLDR_HAVE_COM IN_CFGLDR_R3VBOX_MAIN_SETTINGS_ADDONS101 VBoxSVC_DEFS = VBOX_MAIN_SETTINGS_ADDONS 105 102 ifdef VBOX_WITH_VRDP 106 103 VBoxSVC_DEFS += VBOX_VRDP … … 151 148 VBoxSVC_LIBS += \ 152 149 $(PATH_LIB)/VBoxDDU$(VBOX_SUFF_LIB) \ 153 $(PATH_LIB)/VBoxXML$(VBOX_SUFF_LIB) \154 150 $(PATH_LIB)/VBoxSettings$(VBOX_SUFF_LIB) 155 151 else 156 152 VBoxSVC_LIBS += \ 157 153 $(PATH_BIN)/VBoxDDU$(VBOX_SUFF_DLL) \ 158 $(PATH_BIN)/VBoxXML$(VBOX_SUFF_DLL) \159 154 $(PATH_BIN)/VBoxSettings$(VBOX_SUFF_DLL) 160 155 endif … … 252 247 VBoxSVCM_INST = $(INST_BIN)components/ 253 248 endif 254 VBoxSVCM_DEFS = IN_RING3 IN_CFGLDR_R3249 VBoxSVCM_DEFS = IN_RING3 255 250 VBoxSVCM_INCS = \ 256 251 include \ … … 282 277 endif 283 278 284 VBoxC_DEFS = IN_RING3 IN_CFGLDR_R3279 VBoxC_DEFS = IN_RING3 285 280 VBoxC_DEFS += VBOX_COM_INPROC 286 281 … … 397 392 398 393 # 399 # VBoxXML 400 # 401 402 VBoxXML_TEMPLATE = VBOXMAINDLL 403 VBoxXML_SDKS = VBOX_XALAN VBOX_XERCES 404 ## @todo Why do we need this? Why isn't it in the template?!? 405 VBoxXML_CXXFLAGS.win = -EHsc 406 VBoxXML_DEFS = \ 407 CFGLDR_HAVE_COM IN_RING3 IN_CFGLDR_R3 408 VBoxXML_INCS = \ 409 include \ 410 $(PATH_TARGET) 411 VBoxXML_SOURCES = \ 412 xml/cfgldr.cpp 413 VBoxXML_INCS.freebsd = \ 414 /usr/local/include ## @todo probably belongs in the template 415 VBoxXML_LIBPATH.freebsd = \ 416 /usr/local/lib ## @todo probably belongs in the template 417 VBoxXML_LDFLAGS.darwin = -install_name @executable_path/VBoxXML.dylib -Wl,-x # no debug info please. 418 419 ## @todo (dmik): temporarily embed SettingsConverter.xsl into VBoxXML, 420 # later it should go to VBoxSVC as well 421 xml/cfgldr.cpp_DEPS = $(PATH_TARGET)/SettingsConverter_xsl.h 422 OTHER_CLEAN += $(PATH_TARGET)/SettingsConverter_xsl.h 423 $(PATH_TARGET)/SettingsConverter_xsl.h: xml/SettingsConverter.xsl $(VBOX_BIN2C) | $(call DIRDEP,$(PATH_TARGET)) 424 $(call MSG_TOOL,bin2c,VBoxXML,$<,$@) 425 $(QUIET)$(VBOX_BIN2C) SettingsConverter_xsl $< $@ 426 427 428 # 429 # VBoxSettings (will supercede VBoxXML when done) 394 # VBoxSettings 430 395 # 431 396 … … 439 404 xml/Settings.cpp 440 405 VBoxSettings_LDFLAGS.darwin = -install_name @executable_path/VBoxSettings.dylib -Wl,-x # no debug info please. 441 442 443 #444 # tstCFGLdr - broken.445 #446 447 tstCFGLdr_TEMPLATE = VBOXMAINCLIENTEXE448 tstCFGLdr_SDKS = VBOX_XALAN VBOX_XERCES449 tstCFGLdr_DEFS = IN_CFGLDR_R3 STANDALONE_TEST450 tstCFGLdr_SOURCES = \451 xml/cfgldr.cpp \452 xml/cfgldrhlp.cpp453 tstCFGLdr_INCS = \454 include \455 $(PATH_TARGET)456 406 457 407 … … 503 453 # Embed XML Schema files to VBoxSVC 504 454 # 505 VBOX_XML_ENTITIES = $(PATH_TARGET)/VirtualBoxXMLUtil_entities.h 506 VBOX_XML_ENTITIES_COMMON = $(PATH_TARGET)/VirtualBoxXMLUtil_common_entities.h 507 508 VBOX_XML_SCHEMA_COMMON = xml/VirtualBox-settings-common.xsd 509 VBOX_XML_SCHEMA.darwin = xml/VirtualBox-settings-macosx.xsd 510 VBOX_XML_SCHEMA.linux = xml/VirtualBox-settings-linux.xsd 511 VBOX_XML_SCHEMA.freebsd = xml/VirtualBox-settings-freebsd.xsd 512 VBOX_XML_SCHEMA.win = xml/VirtualBox-settings-windows.xsd 513 VBOX_XML_SCHEMA.os2 = xml/VirtualBox-settings-os2.xsd 514 VBOX_XML_SCHEMA.solaris= xml/VirtualBox-settings-solaris.xsd 515 516 VirtualBoxImplExtra.cpp_DEPS = $(VBOX_XML_ENTITIES) $(VBOX_XML_ENTITIES_COMMON) 517 518 $(VBOX_XML_ENTITIES_COMMON): $(VBOX_XML_SCHEMA_COMMON) $(VBOX_BIN2C) 455 456 VBOX_XML_SCHEMA_H = $(PATH_TARGET)/xml_VirtualBox_settings_xsd.h 457 VBOX_XML_SCHEMA_COMMON_H = $(PATH_TARGET)/xml_VirtualBox_settings_common_xsd.h 458 VBOX_XML_CONVERTER_TEMPLATE_H = $(PATH_TARGET)/xml_SettingsConverter_xsl.h 459 460 VBOX_XML_SCHEMA_COMMON = xml/VirtualBox-settings-common.xsd 461 VBOX_XML_SCHEMA.darwin = xml/VirtualBox-settings-macosx.xsd 462 VBOX_XML_SCHEMA.linux = xml/VirtualBox-settings-linux.xsd 463 VBOX_XML_SCHEMA.freebsd = xml/VirtualBox-settings-freebsd.xsd 464 VBOX_XML_SCHEMA.win = xml/VirtualBox-settings-windows.xsd 465 VBOX_XML_SCHEMA.os2 = xml/VirtualBox-settings-os2.xsd 466 VBOX_XML_SCHEMA.solaris = xml/VirtualBox-settings-solaris.xsd 467 468 VBOX_XML_CONVERTER_TEMPLATE = xml/SettingsConverter.xsl 469 470 VirtualBoxImplExtra.cpp_DEPS = \ 471 $(VBOX_XML_SCHEMA_H) $(VBOX_XML_SCHEMA_COMMON_H) $(VBOX_XML_CONVERTER_TEMPLATE_H) 472 473 $(VBOX_XML_SCHEMA_H): $(VBOX_XML_SCHEMA.$(BUILD_TARGET)) $(VBOX_BIN2C) 519 474 $(call MSG_TOOL,bin2c,VBoxSVC,$<,$@) 520 $(QUIET)$(VBOX_BIN2C) VirtualBox_settings_common_xsd $< $@521 522 $(VBOX_XML_ ENTITIES): $(VBOX_XML_SCHEMA.$(BUILD_TARGET)) $(VBOX_BIN2C)475 $(QUIET)$(VBOX_BIN2C) _xml_VirtualBox_settings_xsd $< $@ 476 477 $(VBOX_XML_SCHEMA_COMMON_H): $(VBOX_XML_SCHEMA_COMMON) $(VBOX_BIN2C) 523 478 $(call MSG_TOOL,bin2c,VBoxSVC,$<,$@) 524 $(QUIET)$(VBOX_BIN2C) VirtualBox_settings_xsd $< $@ 525 526 OTHER_CLEAN += $(VBOX_XML_ENTITIES) $(VBOX_XML_ENTITIES_COMMON) 479 $(QUIET)$(VBOX_BIN2C) _xml_VirtualBox_settings_common_xsd $< $@ 480 481 $(VBOX_XML_CONVERTER_TEMPLATE_H): $(VBOX_XML_CONVERTER_TEMPLATE) $(VBOX_BIN2C) 482 $(call MSG_TOOL,bin2c,VBoxSVC,$<,$@) 483 $(QUIET)$(VBOX_BIN2C) _xml_SettingsConverter_xsl $< $@ 484 485 OTHER_CLEAN += \ 486 $(VBOX_XML_SCHEMA_H) $(VBOX_XML_SCHEMA_COMMON_H) $(VBOX_XML_CONVERTER_TEMPLATE_H) 527 487 528 488 … … 546 506 547 507 548 549 508 # 550 509 # Creates the symlinks necessary for making XPCOM work. 551 510 # 552 511 ## @todo Figure out why Linux really needs this, darwin doesn't... 512 553 513 xpcom-components_INST = $(INST_BIN)components/ 554 514 ifeq ($(BUILD_TARGET),linux) -
trunk/src/VBox/Main/VirtualBoxImplExtra.cpp
r6076 r6124 25 25 26 26 /* embedded XML Schema documents for validating XML settings files */ 27 #include "VirtualBoxXMLUtil_entities.h" 28 #include "VirtualBoxXMLUtil_common_entities.h" 27 #include "xml_VirtualBox_settings_xsd.h" 28 #include "xml_VirtualBox_settings_common_xsd.h" 29 30 /* embedded settings converter template for updating settings files */ 31 #include "xml_SettingsConverter_xsl.h" 29 32 30 33 /** … … 43 46 { 44 47 return new settings:: 45 MemoryBuf ((const char *) g_ab VirtualBox_settings_common_xsd,46 g_cb VirtualBox_settings_common_xsd, aURI);48 MemoryBuf ((const char *) g_ab_xml_VirtualBox_settings_common_xsd, 49 g_cb_xml_VirtualBox_settings_common_xsd, aURI); 47 50 } 48 51 … … 50 53 { 51 54 return new settings:: 52 MemoryBuf ((const char *) g_ab VirtualBox_settings_xsd,53 g_cb VirtualBox_settings_xsd, aURI);55 MemoryBuf ((const char *) g_ab_xml_VirtualBox_settings_xsd, 56 g_cb_xml_VirtualBox_settings_xsd, aURI); 54 57 } 55 58
Note:
See TracChangeset
for help on using the changeset viewer.