VirtualBox

Ignore:
Timestamp:
Jun 8, 2012 5:56:24 PM (12 years ago)
Author:
vboxsync
Message:

VirtualBox/Makefile.kmk: Make use of the filesplitter file list to more accurately inform kmk about which files might have changed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/Makefile.kmk

    r41626 r41631  
    729729# Generate the COM wrappers.
    730730#
     731includedep $(PATH_TARGET)/VirtualBoxComWrapperFiles.dep
    731732VirtualBox_BLDDIRS       += $(VirtualBox_0_OUTDIR)/include
    732733VirtualBox_INTERMEDIATES += $(VirtualBox_0_OUTDIR)/include/COMWrappers
    733 VirtualBox_CLEAN         += $(wildcard $(VirtualBox_0_OUTDIR)/include/*)
     734VirtualBox_CLEAN         += $(wildcard $(VirtualBox_0_OUTDIR)/include/*) $(PATH_TARGET)/VirtualBoxComWrapperFiles.dep
    734735VirtualBox_SOURCES       += $(VirtualBox_0_OUTDIR)/include/COMWrappers.cpp
    735736
    736737## @todo kmk doesn't remake optional outputs when they are missing...
    737738$$(VirtualBox_0_OUTDIR)/include/COMWrappers \
    738 +| $$(VirtualBox_0_OUTDIR)/include/COMEnums.h \
    739 +| $$(VirtualBox_0_OUTDIR)/include/COMWrappers.cpp: \
     739+ $(PATH_TARGET)/VirtualBoxComWrapperFiles.dep \
     740+| $(if defined(VirtualBox_VBOX_COMWRAPPERS) \
     741, $(VirtualBox_VBOX_COMWRAPPERS) \
     742, $$(VirtualBox_0_OUTDIR)/include/COMEnums.h \
     743  $$(VirtualBox_0_OUTDIR)/include/COMWrappers.cpp \
     744): \
    740745                $(VBOX_XIDL_FILE) \
    741746                $(VBOX_VIRTUALBOX4_SRC)/src/globals/COMWrappers.xsl \
     
    743748                | $$(dir $$@)
    744749        $(call MSG_GENERATE,VirtualBox,$<,$@)
     750        $(QUIET)$(RM) -f -- "$@" "$(PATH_TARGET)/VirtualBoxComWrapperFiles.dep"
    745751        $(QUIET)$(VBOX_XSLTPROC) -o $@ $(VBOX_VIRTUALBOX4_SRC)/src/globals/COMWrappers.xsl $<
    746         $(QUIET)$(VBOX_FILESPLIT) $@ $(VirtualBox_0_OUTDIR)/include
    747         $(APPEND) -t "$@"
     752        $(QUIET)$(VBOX_FILESPLIT) $@ $(VirtualBox_0_OUTDIR)/include \
     753                $(PATH_TARGET)/VirtualBoxComWrapperFiles.dep VirtualBox_VBOX_COMWRAPPERS
     754        $(APPEND) "$@"
    748755
    749756# alias for generating the COM Wrappers file.
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette