VirtualBox

Changeset 7480 in vbox


Ignore:
Timestamp:
Mar 17, 2008 11:01:06 PM (17 years ago)
Author:
vboxsync
Message:

FE/Qt4: Make appropriate headers depend on generated UI4 headers automatically.

File:
1 edited

Legend:

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

    r7467 r7480  
    793793endef
    794794
    795 ##  Generate a rule to create a header and source files from an UI4
     795##  Generate a rule to create a header file from an UI4
    796796#   definition source (.ui).
    797797#   @param  $uifile       UI definintion source file
     
    806806        $$(call MSG_TOOL,uic,$(target),$(uifile),$$@)
    807807        $$(QUIET)$$(VBOX_UIC4) $(uifile) -o $$@
     808
     809# we assume that the generated header is at least included by
     810# the normal header with the same name
     811include/$(notdir $(basename $(uifile))).h: $(uihdr)
    808812
    809813endef
     
    896900#
    897901
    898 $(PATH_VirtualBox)/moc/moc_VBoxAboutDlg.cpp: \
    899         $(PATH_VirtualBox)/ui/VBoxAboutDlg.gen.h
    900 
    901 $(PATH_VirtualBox)/moc/moc_VBoxCloseVMDlg.cpp: \
    902         $(PATH_VirtualBox)/ui/VBoxCloseVMDlg.gen.h
    903 
    904 $(PATH_VirtualBox)/moc/moc_VBoxNewVMWzd.cpp: \
    905         $(PATH_VirtualBox)/ui/VBoxNewVMWzd.gen.h
    906 
    907 $(PATH_VirtualBox)/moc/moc_VBoxNewHDWzd.cpp: \
    908         $(PATH_VirtualBox)/ui/VBoxNewHDWzd.gen.h
    909 
    910 $(PATH_VirtualBox)/moc/moc_VBoxVMFirstRunWzd.cpp: \
    911         $(PATH_VirtualBox)/ui/VBoxVMFirstRunWzd.gen.h
    912 
    913902# Make all generated UI sources dependent on all generated headers (since they
    914903# may include them).  This is safer than indifidual dependencies above but
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