VirtualBox

Ignore:
Timestamp:
May 28, 2008 5:51:04 PM (17 years ago)
Author:
vboxsync
Message:

Use the (relatively) new INTERMEDIATES property to make sure the include files are all generated before the compiling starts.

File:
1 edited

Legend:

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

    r9095 r9207  
    408408XIDLFILE            = ../../Main/idl/VirtualBox.xidl
    409409
     410VirtualBox_INTERMEDIATES += $(WRAPPERSFILE)
     411
    410412
    411413# generated files we need to clean manually
     
    534536
    535537$(target)_GENHDRS_REAL += $(mocinc)
     538$(target)_INTERMEDIATES += $(mocinc)
    536539
    537540$(mocobj): $(mocinc)
    538541
    539 .NOTPARALLEL: $(mocinc)
    540542$(mocinc): $(mocsrc)
    541543        $$(call MSG_TOOL,moc,$(target),$(mocsrc),$$@)
     
    552554
    553555$(eval uisrc    := $(PATH_$(target))/ui/$(notdir $(basename $(basename $(mocuihdr)))).cpp)
    554 $(eval uiobj    := $(PATH_$(target)_$$(uisrc))/$(notdir $(basename $$(uisrc)))$(VBOX_SUFF_OBJ))
    555556$(eval mocuiinc := $(PATH_$(target))/moc/$(notdir $(basename $(mocuihdr))).moc)
    556557
    557558$(target)_GENHDRS_REAL += $(mocuiinc)
    558 
    559 .NOTPARALLEL: $(mocuiinc)
     559$(target)_INTERMEDIATES += $(mocuiinc)
     560
    560561$(uisrc): $(mocuiinc)
    561562$(mocuiinc): $(mocuihdr)
     
    577578$(target)_GENSRCS_REAL += $(uisrc) $(mocsrc)
    578579$(target)_GENHDRS_REAL += $(uihdr)
    579 
    580 .NOTPARALLEL: $(uihdr)
     580$(target)_INTERMEDIATES += $(uihdr)
     581
    581582$(uihdr): $(uifile) | $$(call DIRDEP,$(dir $(uihdr)))
    582583        $$(call MSG_TOOL,uic,$(target),$(uifile),$$@)
     
    644645
    645646# Generate COM Wrappers
    646 .NOTPARALLEL: $(WRAPPERSFILE) $(WRAPPERSINCFILE)
    647 
    648647$(WRAPPERSINCFILE): $(WRAPPERSFILE)
    649648
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