VirtualBox

Changeset 1683 in kBuild


Ignore:
Timestamp:
Jul 15, 2008 2:25:16 AM (17 years ago)
Author:
bird
Message:

qt4 unit: some qt -> qt4 fixes. separate the moc cmd deps.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kBuild/units/qt4.kmk

    r1682 r1683  
    306306## wrapper for the lrelease (LRC) command dependencies.
    307307ifndef NO_COMPILE_CMDS_DEPS
    308  _UNIT_QT_LRC_CMDS_DEP = $$(comp-cmds-ex $$($(target)_$(subst :,_,$(source))_QT_LRC_CMDS_PREV_),$$(commands $(out)),FORCE)
    309 else
    310  _UNIT_QT_LRC_CMDS_DEP =
     308 _UNIT_QT4_LRC_CMDS_DEP = $$(comp-cmds-ex $$($(target)_$(subst :,_,$(source))_QT4_LRC_CMDS_PREV_),$$(commands $(out)),FORCE)
     309else
     310 _UNIT_QT4_LRC_CMDS_DEP =
    311311endif
    312312
     
    322322$(out) + $(more_output) +| $(maybe_output): \
    323323                $(deps) \
    324                 $(value _UNIT_QT_LRC_CMDS_DEP) \
     324                $(value _UNIT_QT4_LRC_CMDS_DEP) \
    325325                | \
    326326                $(orderdeps)
     
    332332ifndef NO_COMPILE_CMDS_DEPS
    333333        %$$(QUIET2)$$(APPEND) '$(dep)'
    334         %$$(QUIET2)$$(APPEND) '$(dep)' 'define $(target)_$(subst :,_,$(source))_QT_LRC_CMDS_PREV_'
     334        %$$(QUIET2)$$(APPEND) '$(dep)' 'define $(target)_$(subst :,_,$(source))_QT4_LRC_CMDS_PREV_'
    335335        %$$(QUIET2)$$(APPEND) -c '$(dep)' '$(out)'
    336336        %$$(QUIET2)$$(APPEND) '$(dep)' 'endef'
     
    392392## wrapper for the UIC command dependencies.
    393393ifndef NO_COMPILE_CMDS_DEPS
    394  _UNIT_QT_RCC_CMDS_DEP = $$(comp-cmds-ex $$($(target)_$(subst :,_,$(source))_QT_RCC_CMDS_PREV_),$$(commands $(out)),FORCE)
    395 else
    396  _UNIT_QT_RCC_CMDS_DEP =
     394 _UNIT_QT4_RCC_CMDS_DEP = $$(comp-cmds-ex $$($(target)_$(subst :,_,$(source))_QT4_RCC_CMDS_PREV_),$$(commands $(out)),FORCE)
     395else
     396 _UNIT_QT4_RCC_CMDS_DEP =
    397397endif
    398398
     
    408408$(out) +| $(realout) $(more_output) $(maybe_output): \
    409409                $(deps) \
    410                 $(value _UNIT_QT_RCC_CMDS_DEP) \
     410                $(value _UNIT_QT4_RCC_CMDS_DEP) \
    411411                | \
    412412                $(orderdeps)
     
    419419ifndef NO_COMPILE_CMDS_DEPS
    420420        %$$(QUIET2)$$(APPEND) '$(dep)'
    421         %$$(QUIET2)$$(APPEND) '$(dep)' 'define $(target)_$(subst :,_,$(source))_QT_RCC_CMDS_PREV_'
     421        %$$(QUIET2)$$(APPEND) '$(dep)' 'define $(target)_$(subst :,_,$(source))_QT4_RCC_CMDS_PREV_'
    422422        %$$(QUIET2)$$(APPEND) -c '$(dep)' '$(out)'
    423423        %$$(QUIET2)$$(APPEND) '$(dep)' 'endef'
     
    478478## wrapper for the UIC command dependencies.
    479479ifndef NO_COMPILE_CMDS_DEPS
    480  _UNIT_QT_UIC_CMDS_DEP = $$(comp-cmds-ex $$($(target)_$(subst :,_,$(source))_QT_UIC_CMDS_PREV_),$$(commands $(out)),FORCE)
    481 else
    482  _UNIT_QT_UIC_CMDS_DEP =
     480 _UNIT_QT4_UIC_CMDS_DEP = $$(comp-cmds-ex $$($(target)_$(subst :,_,$(source))_QT4_UIC_CMDS_PREV_),$$(commands $(out)),FORCE)
     481else
     482 _UNIT_QT4_UIC_CMDS_DEP =
    483483endif
    484484
     
    494494$(out) +| $(realout) $(more_output) $(maybe_output): \
    495495                $(deps) \
    496                 $(value _UNIT_QT_UIC_CMDS_DEP) \
     496                $(value _UNIT_QT4_UIC_CMDS_DEP) \
    497497                | \
    498498                $(orderdeps)
     
    505505ifndef NO_COMPILE_CMDS_DEPS
    506506        %$$(QUIET2)$$(APPEND) '$(dep)'
    507         %$$(QUIET2)$$(APPEND) '$(dep)' 'define $(target)_$(subst :,_,$(source))_QT_UIC_CMDS_PREV_'
     507        %$$(QUIET2)$$(APPEND) '$(dep)' 'define $(target)_$(subst :,_,$(source))_QT4_UIC_CMDS_PREV_'
    508508        %$$(QUIET2)$$(APPEND) -c '$(dep)' '$(out)'
    509509        %$$(QUIET2)$$(APPEND) '$(dep)' 'endef'
     
    563563## wrapper for the MOC command dependencies.
    564564ifndef NO_COMPILE_CMDS_DEPS
    565  _UNIT_QT_MOC_CMDS_DEP = $$(comp-cmds-ex $$($(target)_$(subst :,_,$(source))_QT_MOC_CMDS_PREV_),$$(commands $(out)),FORCE)
    566 else
    567  _UNIT_QT_MOC_CMDS_DEP =
     565 _UNIT_QT4_MOC_HPP_CMDS_DEP = $$(comp-cmds-ex $$($(target)_$(subst :,_,$(source))_QT4_MOC_HPP_CMDS_PREV_),$$(commands $(out)),FORCE)
     566else
     567 _UNIT_QT4_MOC_HPP_CMDS_DEP =
    568568endif
    569569
     
    579579$(out) +| $(realout) $(more_output) $(maybe_output): \
    580580                $(deps) \
    581                 $(value _UNIT_QT_MOC_CMDS_DEP) \
     581                $(value _UNIT_QT4_MOC_HPP_CMDS_DEP) \
    582582                | \
    583583                $(orderdeps)
     
    590590ifndef NO_COMPILE_CMDS_DEPS
    591591        %$$(QUIET2)$$(APPEND) '$(dep)'
    592         %$$(QUIET2)$$(APPEND) '$(dep)' 'define $(target)_$(subst :,_,$(source))_QT_MOC_CMDS_PREV_'
     592        %$$(QUIET2)$$(APPEND) '$(dep)' 'define $(target)_$(subst :,_,$(source))_QT4_MOC_HPP_CMDS_PREV_'
    593593        %$$(QUIET2)$$(APPEND) -c '$(dep)' '$(out)'
    594594        %$$(QUIET2)$$(APPEND) '$(dep)' 'endef'
     
    602602
    603603##
    604 # Handle a source file listed in QT_MOCHDRSS.
     604# Handle a source file listed in QT_MOCHDRS.
    605605#
    606606# The files listed in QT_MOCHDRS uses the Q_OBJECT macro and we will
     
    653653
    654654
     655## wrapper for the MOC command dependencies.
     656ifndef NO_COMPILE_CMDS_DEPS
     657 _UNIT_QT4_MOC_CPP_CMDS_DEP = $$(comp-cmds-ex $$($(target)_$(subst :,_,$(source))_QT4_MOC_CPP_CMDS_PREV_),$$(commands $(out)),FORCE)
     658else
     659 _UNIT_QT4_MOC_CPP_CMDS_DEP =
     660endif
     661
    655662##
    656663# def_unit_qt4_target_pre_handle_moc_src helper that is expanded before evaluation.
     
    664671$(out) +| $(realout) $(more_output) $(maybe_output): \
    665672                $(deps) \
    666                 $(value _UNIT_QT_MOC_CMDS_DEP) \
     673                $(value _UNIT_QT4_MOC_CPP_CMDS_DEP) \
    667674                | \
    668675                $(orderdeps)
     
    675682ifndef NO_COMPILE_CMDS_DEPS
    676683        %$$(QUIET2)$$(APPEND) '$(dep)'
    677         %$$(QUIET2)$$(APPEND) '$(dep)' 'define $(target)_$(subst :,_,$(source))_QT_MOC_CMDS_PREV_'
     684        %$$(QUIET2)$$(APPEND) '$(dep)' 'define $(target)_$(subst :,_,$(source))_QT4_MOC_CPP_CMDS_PREV_'
    678685        %$$(QUIET2)$$(APPEND) -c '$(dep)' '$(out)'
    679686        %$$(QUIET2)$$(APPEND) '$(dep)' 'endef'
Note: See TracChangeset for help on using the changeset viewer.

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