Changeset 1683 in kBuild
- Timestamp:
- Jul 15, 2008 2:25:16 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/units/qt4.kmk
r1682 r1683 306 306 ## wrapper for the lrelease (LRC) command dependencies. 307 307 ifndef 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) 309 else 310 _UNIT_QT4_LRC_CMDS_DEP = 311 311 endif 312 312 … … 322 322 $(out) + $(more_output) +| $(maybe_output): \ 323 323 $(deps) \ 324 $(value _UNIT_QT _LRC_CMDS_DEP) \324 $(value _UNIT_QT4_LRC_CMDS_DEP) \ 325 325 | \ 326 326 $(orderdeps) … … 332 332 ifndef NO_COMPILE_CMDS_DEPS 333 333 %$$(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_' 335 335 %$$(QUIET2)$$(APPEND) -c '$(dep)' '$(out)' 336 336 %$$(QUIET2)$$(APPEND) '$(dep)' 'endef' … … 392 392 ## wrapper for the UIC command dependencies. 393 393 ifndef 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) 395 else 396 _UNIT_QT4_RCC_CMDS_DEP = 397 397 endif 398 398 … … 408 408 $(out) +| $(realout) $(more_output) $(maybe_output): \ 409 409 $(deps) \ 410 $(value _UNIT_QT _RCC_CMDS_DEP) \410 $(value _UNIT_QT4_RCC_CMDS_DEP) \ 411 411 | \ 412 412 $(orderdeps) … … 419 419 ifndef NO_COMPILE_CMDS_DEPS 420 420 %$$(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_' 422 422 %$$(QUIET2)$$(APPEND) -c '$(dep)' '$(out)' 423 423 %$$(QUIET2)$$(APPEND) '$(dep)' 'endef' … … 478 478 ## wrapper for the UIC command dependencies. 479 479 ifndef 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) 481 else 482 _UNIT_QT4_UIC_CMDS_DEP = 483 483 endif 484 484 … … 494 494 $(out) +| $(realout) $(more_output) $(maybe_output): \ 495 495 $(deps) \ 496 $(value _UNIT_QT _UIC_CMDS_DEP) \496 $(value _UNIT_QT4_UIC_CMDS_DEP) \ 497 497 | \ 498 498 $(orderdeps) … … 505 505 ifndef NO_COMPILE_CMDS_DEPS 506 506 %$$(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_' 508 508 %$$(QUIET2)$$(APPEND) -c '$(dep)' '$(out)' 509 509 %$$(QUIET2)$$(APPEND) '$(dep)' 'endef' … … 563 563 ## wrapper for the MOC command dependencies. 564 564 ifndef 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) 566 else 567 _UNIT_QT4_MOC_HPP_CMDS_DEP = 568 568 endif 569 569 … … 579 579 $(out) +| $(realout) $(more_output) $(maybe_output): \ 580 580 $(deps) \ 581 $(value _UNIT_QT _MOC_CMDS_DEP) \581 $(value _UNIT_QT4_MOC_HPP_CMDS_DEP) \ 582 582 | \ 583 583 $(orderdeps) … … 590 590 ifndef NO_COMPILE_CMDS_DEPS 591 591 %$$(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_' 593 593 %$$(QUIET2)$$(APPEND) -c '$(dep)' '$(out)' 594 594 %$$(QUIET2)$$(APPEND) '$(dep)' 'endef' … … 602 602 603 603 ## 604 # Handle a source file listed in QT_MOCHDRS S.604 # Handle a source file listed in QT_MOCHDRS. 605 605 # 606 606 # The files listed in QT_MOCHDRS uses the Q_OBJECT macro and we will … … 653 653 654 654 655 ## wrapper for the MOC command dependencies. 656 ifndef 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) 658 else 659 _UNIT_QT4_MOC_CPP_CMDS_DEP = 660 endif 661 655 662 ## 656 663 # def_unit_qt4_target_pre_handle_moc_src helper that is expanded before evaluation. … … 664 671 $(out) +| $(realout) $(more_output) $(maybe_output): \ 665 672 $(deps) \ 666 $(value _UNIT_QT _MOC_CMDS_DEP) \673 $(value _UNIT_QT4_MOC_CPP_CMDS_DEP) \ 667 674 | \ 668 675 $(orderdeps) … … 675 682 ifndef NO_COMPILE_CMDS_DEPS 676 683 %$$(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_' 678 685 %$$(QUIET2)$$(APPEND) -c '$(dep)' '$(out)' 679 686 %$$(QUIET2)$$(APPEND) '$(dep)' 'endef'
Note:
See TracChangeset
for help on using the changeset viewer.