Changeset 66636 in vbox for trunk/src/VBox/Main
- Timestamp:
- Apr 20, 2017 7:27:00 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/Makefile.kmk
r66411 r66636 249 249 $(VBox-python-glue_0_OUTDIR)/VirtualBox_constants.py 250 250 251 ## @todo $(call KB_FN_AUTO_CMD_DEPS,$$(VBox-python-glue_0_OUTDIR)/VirtualBox_constants.py) - need to fix the double expansion here 251 252 $$(VBox-python-glue_0_OUTDIR)/VirtualBox_constants.py: \ 252 253 $(VBOX_PATH_MAIN_SRC)/glue/constants-python.xsl \ … … 647 648 648 649 # 649 # Generate some event stuff for VBoxSVC and VBoxC. 650 # Generate some event stuff for VBoxSVC and VBoxC. $(MAKEFILE 650 651 # 651 652 $(VBOX_AUTOGEN_EVENT_H): $(VBOX_PATH_MAIN_SRC)/idl/comimpl.xsl $(VBOX_XIDL_FILE) | $$(dir $$@) … … 940 941 VBoxC_CLEAN.win += $(VBoxC_0_OUTDIR)/VBoxC.rgs 941 942 943 ## @todo $(call KB_FN_AUTO_CMD_DEPS,$$(VBoxC_0_OUTDIR)/VBoxC.rgs) - need to fix the double expansion here 942 944 $$(VBoxC_0_OUTDIR)/VBoxC.rgs: $(VBOX_PATH_MAIN_SRC)/src-all/win/VirtualBox_rgs.xsl $(VBOX_XIDL_FILE) | $$(dir $$@) 943 945 $(VBOX_XSLTPROC) --stringparam Application VirtualBox --stringparam Module VBoxC -o $@ $< $(VBOX_XIDL_FILE) … … 998 1000 $(VBoxCOM-x86_0_OUTDIR)/VirtualBox-x86.tlb 999 1001 1002 ## @todo $(call KB_FN_AUTO_CMD_DEPS,$$(VBoxClient-x86_0_OUTDIR)/VBoxClient-x86.rgs) - need to fix the double expansion here 1000 1003 $$(VBoxClient-x86_0_OUTDIR)/VBoxClient-x86.rgs: \ 1001 1004 $(VBOX_PATH_MAIN_SRC)/src-all/win/VirtualBox_rgs.xsl \ … … 1206 1209 glue/xpcom/helpers.cpp: $(VBOX_IDL_TYPELIB.XPCOM) 1207 1210 1211 $(call KB_FN_AUTO_CMD_DEPS_EX,$(VBOX_IDL_FILE.XPCOM),$(PATH_OUT)/VBOX_IDL_FILE.XPCOM.vbox-dep) 1208 1212 $(VBOX_IDL_FILE.XPCOM): $(VBOX_PATH_MAIN_SRC)/idl/xpidl.xsl $(VBOX_XIDL_FILE) | $$(dir $$@) 1209 $(call MSG_TOOL,xsltproc,VBoxSVC,$<,$@) 1210 $(QUIET)$(VBOX_XSLTPROC) -o $@ $< $(VBOX_XIDL_FILE) 1211 1213 $(call KB_FN_AUTO_CMD_DEPS_COMMANDS_EX,$(PATH_OUT)/VBOX_IDL_FILE.XPCOM.vbox-dep) 1214 $(call MSG_TOOL,xsltproc,VBoxSVC,$(VBOX_PATH_MAIN_SRC)/idl/xpidl.xsl,$@) 1215 $(QUIET)$(VBOX_XSLTPROC) -o $@ $(VBOX_PATH_MAIN_SRC)/idl/xpidl.xsl $(VBOX_XIDL_FILE) 1216 1217 $(call KB_FN_AUTO_CMD_DEPS_EX,$(VBOX_IDL_TYPELIB.XPCOM),$(PATH_OUT)/VBOX_IDL_TYPELIB.XPCOM.vbox-dep) 1212 1218 $(VBOX_IDL_TYPELIB.XPCOM): $(VBOX_IDL_FILE.XPCOM) | $$(dir $$@) $(VBOX_XPIDL) 1213 $(call MSG_TOOL,xpidl,VBoxSVC,$<,$@) 1214 $(QUIET)$(VBOX_XPIDL_ENV)$(VBOX_XPIDL) -m typelib -I $(VBOX_PATH_XPCOM_IDL) -e $@ $< 1219 $(call KB_FN_AUTO_CMD_DEPS_COMMANDS_EX,$(PATH_OUT)/VBOX_IDL_TYPELIB.XPCOM.vbox-dep) 1220 $(call MSG_TOOL,xpidl,VBoxSVC,$(VBOX_IDL_FILE.XPCOM),$@) 1221 $(QUIET)$(VBOX_XPIDL_ENV)$(VBOX_XPIDL) -m typelib -I $(VBOX_PATH_XPCOM_IDL) -e $@ $(VBOX_IDL_FILE.XPCOM) 1215 1222 $(CHMOD) 0644 $@ 1216 1223 ## @todo ^^^^^^^^^^^^ fix horrible hack 1217 1224 1225 $(call KB_FN_AUTO_CMD_DEPS_EX,$(VBOX_IDL_HEADER.XPCOM),$(PATH_OUT)/VBOX_IDL_HEADER.XPCOM.vbox-dep) 1218 1226 $(VBOX_IDL_HEADER.XPCOM): $(VBOX_IDL_FILE.XPCOM) | $$(dir $$@) $(VBOX_XPIDL) 1219 $(call MSG_TOOL,xpidl,VBoxSVC,$<,$@) 1220 $(QUIET)$(VBOX_XPIDL_ENV)$(VBOX_XPIDL) -m header -I $(VBOX_PATH_XPCOM_IDL) -e $@ $< 1221 1227 $(call KB_FN_AUTO_CMD_DEPS_COMMANDS_EX,$(PATH_OUT)/VBOX_IDL_HEADER.XPCOM.vbox-dep) 1228 $(call MSG_TOOL,xpidl,VBoxSVC,$(VBOX_IDL_FILE.XPCOM),$@) 1229 $(QUIET)$(VBOX_XPIDL_ENV)$(VBOX_XPIDL) -m header -I $(VBOX_PATH_XPCOM_IDL) -e $@ $(VBOX_IDL_FILE.XPCOM) 1230 1231 $(call KB_FN_AUTO_CMD_DEPS_EX,$(VBOX_IDL_FILE.MSCOM),$(PATH_OUT)/VBOX_IDL_FILE.MSCOM.vbox-dep) 1222 1232 $(VBOX_IDL_FILE.MSCOM): $(VBOX_PATH_MAIN_SRC)/idl/midl.xsl $(VBOX_XIDL_FILE) | $$(dir $$@) 1233 $(call KB_FN_AUTO_CMD_DEPS_COMMANDS_EX,$(PATH_OUT)/VBOX_IDL_FILE.MSCOM.vbox-dep) 1223 1234 $(call MSG_TOOL,xsltproc,VBoxSVC,$<,$@) 1224 1235 $(QUIET)$(VBOX_XSLTPROC) -o $@ \ 1225 1236 $(if $(VBOX_WITH_MIDL_PROXY_STUB),-stringparam g_fGenProxy yes,) \ 1226 1237 $(if $(VBOX_WITH_SDS),-stringparam g_fVBoxWithSDS yes,) \ 1227 $< $(VBOX_XIDL_FILE) 1238 $(VBOX_PATH_MAIN_SRC)/idl/midl.xsl $(VBOX_XIDL_FILE) 1239 1228 1240 1229 1241 # Aliases for testing purposes. … … 1368 1380 VBoxJMscom-inst-jar_BLDDIRS += $(VBOX_JMSCOM_GEN)/java 1369 1381 1382 $(call KB_FN_AUTO_CMD_DEPS,$(VBOX_JMSCOM_GEN)/jmscomglue.list) 1370 1383 $(VBOX_JMSCOM_GEN)/jmscomglue.list: \ 1371 1384 $(VBOX_XIDL_FILE) \ … … 1373 1386 $(VBOX_FILESPLIT) \ 1374 1387 | $(VBOX_JMSCOM_GEN)/java/ 1388 $(call KB_FN_AUTO_CMD_DEPS_COMMANDS) 1375 1389 $(call MSG_L1,Generating Java MSCOM glue files from XIDL) 1376 1390 $(QUIET)$(RM) -f $(wildcard $(VBOX_JMSCOM_GEN)/java/*.java) … … 1380 1394 --stringparam G_vboxGlueStyle mscom \ 1381 1395 --stringparam G_vboxDirPrefix "" \ 1382 -o $(VBOX_JMSCOM_GEN)/java/merged.file $(VBOX_GLUE_XSLT_DIR)/glue-java.xsl $ <1396 -o $(VBOX_JMSCOM_GEN)/java/merged.file $(VBOX_GLUE_XSLT_DIR)/glue-java.xsl $(VBOX_XIDL_FILE) 1383 1397 $(QUIET)$(VBOX_FILESPLIT) $(VBOX_JMSCOM_GEN)/java/merged.file $(VBOX_JMSCOM_GEN)/java 1384 1398 $(QUIET)echo $(VBOX_JMSCOM_GEN)/java/*.java > $@ 1385 1399 1400 ## @todo $(call KB_FN_AUTO_CMD_DEPS,$(VBOX_JMSCOM_JAR)) - need to fix the double expansion here 1386 1401 $$(VBOX_JMSCOM_JAR): $(VBOX_JMSCOM_GEN)/jmscomglue.list | $$(dir $$@) 1387 1402 $(call MSG_TOOL,javac,$(notdir $@),jmscomglue.list,) … … 1414 1429 1415 1430 # Generate a make include file which lists the wrapper header and source files. 1431 $(call KB_FN_AUTO_CMD_DEPS,$(VBoxAPIWrap_VBOX_KMK_FILE).ts) 1416 1432 $(VBoxAPIWrap_VBOX_KMK_FILE).ts \ 1417 1433 +| $(VBoxAPIWrap_VBOX_KMK_FILE): \ … … 1419 1435 $(VBOX_PATH_MAIN_SRC)/idl/apiwrap-server-filelist.xsl \ 1420 1436 $(VBOX_PATH_MAIN_SRC)/Makefile.kmk 1437 $(call KB_FN_AUTO_CMD_DEPS_COMMANDS) 1421 1438 $(call MSG_GENERATE,,$(VBoxAPIWrap_VBOX_KMK_FILE)) 1422 1439 $(QUIET)$(RM) -f $@ 1423 1440 $(QUIET)$(MKDIR) -p $(@D) 1424 1441 $(QUIET)$(VBOX_XSLTPROC) --stringparam KBUILD_HOST $(KBUILD_HOST) \ 1425 1426 -o $@ $(VBOX_PATH_MAIN_SRC)/idl/apiwrap-server-filelist.xsl $ <1442 $(if $(VBOX_WITH_SDS),-stringparam g_fVBoxWithSDS yes,) \ 1443 -o $@ $(VBOX_PATH_MAIN_SRC)/idl/apiwrap-server-filelist.xsl $(VBOX_XIDL_FILE) 1427 1444 $(QUIET)$(CP) --changed -fv $@ $(VBoxAPIWrap_VBOX_KMK_FILE) 1428 1445 1429 1446 # Generate the header files for the wrappers. 1447 $(call KB_FN_AUTO_CMD_DEPS,$(VBoxAPIWrap_0_OUTDIR)/apiwrappers-headers) 1430 1448 $(VBoxAPIWrap_0_OUTDIR)/apiwrappers-headers \ 1431 1449 +| $(VBOX_MAIN_APIWRAPPER_GEN_HDRS): \ … … 1435 1453 $(VBOX_FILESPLIT) \ 1436 1454 | $$(dir $$@) 1455 $(call KB_FN_AUTO_CMD_DEPS_COMMANDS) 1437 1456 $(call MSG_L1,Generating C++ Server API wrapper header files from XIDL) 1438 1457 $(QUIET)$(RM) -f -- $(filter-out $(VBOX_MAIN_APIWRAPPER_GEN_HDRS), $(wildcard $(VBoxAPIWrap_0_OUTDIR)/*.h)) 1439 1458 $(QUIET)$(VBOX_XSLTPROC) --stringparam KBUILD_HOST $(KBUILD_HOST) \ 1440 1459 --stringparam generating "headers" \ 1441 -o $@ $(VBoxAPIWrap_VBOX_XSLT) $ <1460 -o $@ $(VBoxAPIWrap_VBOX_XSLT) $(VBOX_XIDL_FILE) 1442 1461 $(QUIET)$(VBOX_FILESPLIT) $@ $(VBoxAPIWrap_0_OUTDIR) 1443 1462 1444 1463 # Generate the DTrace probes for the wrappers and combine them with handcoded probes. 1464 $(call KB_FN_AUTO_CMD_DEPS,$(VBoxAPIWrap_0_OUTDIR)/VBoxAPI.d.ts) 1445 1465 $(VBoxAPIWrap_0_OUTDIR)/VBoxAPI.d.ts \ 1446 1466 +| $(VBoxAPIWrap_0_OUTDIR)/VBoxAPI.d: \ … … 1450 1470 $(VBOX_FILESPLIT) \ 1451 1471 | $$(dir $$@) 1472 $(call KB_FN_AUTO_CMD_DEPS_COMMANDS) 1452 1473 $(call MSG_L1,Generating DTrace Provider for the VBox API (from XIDL)) 1453 1474 $(QUIET)$(RM) -f -- "$@" "[email protected]" 1454 1475 $(QUIET)$(VBOX_XSLTPROC) --stringparam KBUILD_HOST $(KBUILD_HOST) \ 1455 1476 --stringparam generating "dtrace-probes" \ 1456 -o "$@" $(VBoxAPIWrap_VBOX_XSLT) $ <1477 -o "$@" $(VBoxAPIWrap_VBOX_XSLT) $(VBOX_XIDL_FILE) 1457 1478 $(QUIET)$(SED) -e '' -o "[email protected]" \ 1458 1479 "$(VBOX_PATH_MAIN_SRC)/src-all/VBoxAPI-start.d" \ … … 1463 1484 1464 1485 # Generate the wrapper source files - split in two due to long processing time 1486 $(call KB_FN_AUTO_CMD_DEPS,$(VBoxAPIWrap_0_OUTDIR)/apiwrappers-sources-even) 1465 1487 $(VBoxAPIWrap_0_OUTDIR)/apiwrappers-sources-even \ 1466 1488 +| $(VBOX_MAIN_APIWRAPPER_GEN_SRCS_EVEN): \ … … 1470 1492 $(VBOX_FILESPLIT) \ 1471 1493 | $$(dir $$@) 1494 $(call KB_FN_AUTO_CMD_DEPS_COMMANDS) 1472 1495 $(call MSG_L1,Generating C++ Server API wrapper files from XIDL - part 1) 1473 1496 $(QUIET)$(RM) -f -- $(filter-out $(VBOX_MAIN_APIWRAPPER_GEN_SRCS), $(wildcard $(VBoxAPIWrap_0_OUTDIR)/*.cpp)) … … 1475 1498 --stringparam generating "sources" \ 1476 1499 --param reminder 0 \ 1477 -o $@ $(VBoxAPIWrap_VBOX_XSLT) $ <1500 -o $@ $(VBoxAPIWrap_VBOX_XSLT) $(VBOX_XIDL_FILE) 1478 1501 $(QUIET)$(VBOX_FILESPLIT) $@ $(VBoxAPIWrap_0_OUTDIR) 1479 1502 1503 $(call KB_FN_AUTO_CMD_DEPS,$(VBoxAPIWrap_0_OUTDIR)/apiwrappers-sources-odd) 1480 1504 $(VBoxAPIWrap_0_OUTDIR)/apiwrappers-sources-odd \ 1481 1505 +| $(VBOX_MAIN_APIWRAPPER_GEN_SRCS_ODD): \ … … 1485 1509 $(VBOX_FILESPLIT) \ 1486 1510 | $$(dir $$@) 1511 $(call KB_FN_AUTO_CMD_DEPS_COMMANDS) 1487 1512 $(call MSG_L1,Generating C++ Server API wrapper files from XIDL - part 2) 1488 1513 $(QUIET)$(RM) -f -- $(filter-out $(VBOX_MAIN_APIWRAPPER_GEN_SRCS), $(wildcard $(VBoxAPIWrap_0_OUTDIR)/*.cpp)) … … 1490 1515 --stringparam generating "sources" \ 1491 1516 --param reminder 1 \ 1492 -o $@ $(VBoxAPIWrap_VBOX_XSLT) $ <1517 -o $@ $(VBoxAPIWrap_VBOX_XSLT) $(VBOX_XIDL_FILE) 1493 1518 $(QUIET)$(VBOX_FILESPLIT) $@ $(VBoxAPIWrap_0_OUTDIR) 1494 1519
Note:
See TracChangeset
for help on using the changeset viewer.