VirtualBox

Ignore:
Timestamp:
Jul 4, 2008 3:35:01 AM (16 years ago)
Author:
vboxsync
Message:

run the uihdr thru moc -i. (kchmviewer)

File:
1 edited

Legend:

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

    r9991 r10193  
    575575$(eval uisrc  := $(PATH_$(target))/ui/$(notdir $(basename $(uifile))).cpp)
    576576$(eval uihdr  := $(PATH_$(target))/ui/$(notdir $(basename $(uifile))).h)
     577$(eval mocinc := $(PATH_$(target))/moc/$(notdir $(basename $(uifile))).moc)
    577578$(eval mocsrc := $(PATH_$(target))/moc/moc_$(notdir $(basename $(uifile))).cpp)
    578579
    579580$(target)_GENSRCS_REAL += $(uisrc) $(mocsrc)
    580 $(target)_GENHDRS_REAL += $(uihdr)
    581 $(target)_INTERMEDIATES += $(uihdr)
     581$(target)_GENHDRS_REAL += $(uihdr) $(mocinc)
     582$(target)_INTERMEDIATES += $(uihdr) $(mocinc)
    582583
    583584$(uihdr): $(uifile) | $$(call DIRDEP,$(dir $(uihdr)))
     
    585586        $$(QUIET)$$(VBOX_UIC) $(uifile) -o $$@
    586587
    587 $(uisrc): $(uihdr) $(uifile) $(wildcard $(uifile).h) | $$(call DIRDEP,$(dir $(uisrc)))
     588$(mocinc): $(uihdr) | $$(call DIRDEP,$(dir $(mocinc)))
     589        $$(call MSG_TOOL,moc,$(target),$(uihdr),$$@)
     590        $$(QUIET)$$(MKDIR) -p $$(@D)
     591        $$(QUIET)$$(VBOX_MOC) -i $(uihdr) -o $$@
     592
     593$(uisrc): $(uihdr) $(uifile) $(mocinc) $(wildcard $(uifile).h) | $$(call DIRDEP,$(dir $(uisrc)))
    588594        $$(call MSG_TOOL,uic,$(target),$(uifile),$$@)
    589595        $$(QUIET)$$(VBOX_UIC) $(uifile) -i $(uihdr) -o $$@
    590596
    591 $(mocsrc): $(uihdr) | $$(call DIRDEP,$(dir $(mocsrc)))
     597$(mocsrc): $(uihdr) $(mocinc) | $$(call DIRDEP,$(dir $(mocsrc)))
    592598        $$(call MSG_TOOL,moc,$(target),$(uihdr),$$@)
    593599        $$(QUIET)$$(VBOX_MOC) $(uihdr) -o $$@
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