Ignore:
Timestamp:
Jun 6, 2013, 4:13:52 PM (11 years ago)
Author:
rybkin
Message:

merge -r 630:631 HEAD mgr/fragments/nmake/constituent mgr/fragments/nmake/constituent_lock mgr/fragments/nmake/jar mgr/fragments/nmake/library mgr/fragments/nmake/library_no_static mgr/fragments/nmake/java mgr/fragments/constituent mgr/fragments/constituent_lock mgr/fragments/nmake/check_application mgr/cmt_dcc_version.sh

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CMT/v1r25-branch/mgr/fragments/nmake/constituent

    r595 r641  
    22
    33cmt_${CONSTITUENT}_${HASTARGETTAG} = 1
     4cmt_${CONSTITUENT}_${HASDEPENDENCIES} = 1
    45
    5 #--------------------------------------------------------
     6#----------------------------------------
    67
    78!if defined (cmt_${CONSTITUENT}_has_target_tag)
    89
    9 #cmt_local_tagfile_${CONSTITUENT} = $(${PACKAGE}_tag)_${CONSTITUENT}.nmake
    1010cmt_local_tagfile_${CONSTITUENT} = $(bin)$(${PACKAGE}_tag)_${CONSTITUENT}.nmake
    11 cmt_local_setup_${CONSTITUENT} = $(bin)setup_${CONSTITUENT}.nmake.tmp
    1211cmt_final_setup_${CONSTITUENT} = $(bin)setup_${CONSTITUENT}.nmake
    13 #cmt_final_setup_${CONSTITUENT} = $(bin)${PACKAGE}_${CONSTITUENT}_setup.nmake
    1412cmt_local_${CONSTITUENT}_makefile = $(bin)${CONSTITUENT}.nmake
    1513
    1614${CONSTITUENT}_extratags = -tag_add=target_${CONSTITUENT}
    1715
    18 #!if [if not exist $(bin) mkdir $(bin)] == 0
    19 #!endif
    20 
    21 #!if "$(QUICK)" == "" || !exist ($(cmt_local_tagfile_${CONSTITUENT}))
    22 
    23 #!if [$(echo) (constituents.nmake) Rebuilding $(cmt_local_tagfile_${CONSTITUENT})] == 0
    24 #!endif
    25 #!if [cmt -tag=$(tags) $(${CONSTITUENT}_extratags) build tag_makefile >$(cmt_local_tagfile_${CONSTITUENT})] == 0
    26 #!endif
    27 
    28 #!if [$(echo) (constituents.nmake) Rebuilding $(cmt_final_setup_${CONSTITUENT})] == 0
    29 #!endif
    30 #!if [$(cmtexe) -tag=$(tags) $(${CONSTITUENT}_extratags) show setup >$(cmt_local_setup_${CONSTITUENT})] == 0
    31 #!endif
    32 
    33 #!if exist ($(cmt_final_setup_${CONSTITUENT})) && [ echo n|comp $(cmt_final_setup_${CONSTITUENT}) $(cmt_local_setup_${CONSTITUENT}) >nul 2>&1 ] == 0
    34 #!if [ del $(cmt_local_setup_${CONSTITUENT}) ] == 0
    35 #!endif
    36 #!else
    37 #!if [ move /y $(cmt_local_setup_${CONSTITUENT}) $(cmt_final_setup_${CONSTITUENT}) >nul ] == 0
    38 #!endif
    39 #!endif
    40 
    41 #!endif
    42 
    4316!else
    4417
    45 #cmt_local_tagfile_${CONSTITUENT} = $(${PACKAGE}_tag).nmake
    4618cmt_local_tagfile_${CONSTITUENT} = $(bin)$(${PACKAGE}_tag).nmake
    47 #cmt_local_setup_${CONSTITUENT} = $(bin)setup.nmake.tmp
    4819cmt_final_setup_${CONSTITUENT} = $(bin)setup.nmake
    49 #cmt_final_setup_${CONSTITUENT} = $(bin)${PACKAGE}_setup.nmake
    5020cmt_local_${CONSTITUENT}_makefile = $(bin)${CONSTITUENT}.nmake
    5121
    5222!endif
    53 
    54 #!if "$(QUICK)" == ""
    55 #$(cmt_local_${CONSTITUENT}_makefile) : $(${CONSTITUENT}_dependencies) $(cmt_local_tagfile_${CONSTITUENT})
    56 #!else
    57 #$(cmt_local_${CONSTITUENT}_makefile) : $(cmt_local_tagfile_${CONSTITUENT})
    58 #!endif
    5923
    6024!if defined (cmt_${CONSTITUENT}_has_target_tag)
     
    9054!endif
    9155
    92 cmt_${CONSTITUENT}_${HASDEPENDENCIES} = 1
    9356
    9457!if defined (cmt_${CONSTITUENT}_has_dependencies)
     
    10972        $(echo) (constituents.nmake) ${CONSTITUENT} done
    11073
    111 clean :: ${CONSTITUENT}clean
     74clean :: ${CONSTITUENT}clean ;
    11275
    11376${CONSTITUENT}clean :: $(${CONSTITUENT}clean_dependencies) ##$(cmt_local_${CONSTITUENT}_makefile)
    114         $(echo) (constituents.nmake) Starting ${CONSTITUENT}clean
     77        $(echo) (constituents.nmake) Starting $@
    11578        @set include=$(include)
    11679        @set lib=$(lib)
    117         @-if exist $(cmt_local_${CONSTITUENT}_makefile) $(MAKE) /nologo /f $(cmt_local_${CONSTITUENT}_makefile) /$(MAKEFLAGS) bin=$(bin) build_strategy=keep_makefiles ${CONSTITUENT}clean tag=$(tag)
    118         $(echo) (constituents.nmake) ${CONSTITUENT}clean done
     80        @-if exist $(cmt_local_${CONSTITUENT}_makefile) $(MAKE) /nologo /f $(cmt_local_${CONSTITUENT}_makefile) /$(MAKEFLAGS) bin=$(bin) build_strategy=keep_makefiles $@ tag=$(tag)
     81        $(echo) (constituents.nmake) $@ done
    11982#       @$(MAKE) /nologo /f $(cmt_local_${CONSTITUENT}_makefile) /$(MAKEFLAGS) bin=$(bin) build_strategy=keep_makefiles ${CONSTITUENT}clean tag=$(tag)
    12083
    121 install :: ${CONSTITUENT}install
     84install :: ${CONSTITUENT}install ;
    12285
    12386${CONSTITUENT}install :: $(${CONSTITUENT}_dependencies) $(cmt_local_${CONSTITUENT}_makefile)
    124         $(echo) (constituents.nmake) Starting install ${CONSTITUENT}
     87        $(echo) (constituents.nmake) Starting $@
    12588        @set include=$(include)
    12689        @set lib=$(lib)
    127         @-$(MAKE) /nologo /f $(cmt_local_${CONSTITUENT}_makefile) /$(MAKEFLAGS) bin=$(bin) build_strategy=keep_makefiles install tag=$(tag)
    128         $(echo) (constituents.nmake) install ${CONSTITUENT} done
     90        @$(MAKE) /nologo /f $(cmt_local_${CONSTITUENT}_makefile) /$(MAKEFLAGS) bin=$(bin) build_strategy=keep_makefiles install tag=$(tag)
     91        $(echo) (constituents.nmake) $@ done
    12992
    130 uninstall :: ${CONSTITUENT}uninstall
     93uninstall :: ${CONSTITUENT}uninstall ;
    13194
    132 #${CONSTITUENT}uninstall :: $(cmt_local_${CONSTITUENT}_makefile)
    133 #${CONSTITUENT}uninstall :: $(cmt_local_tagfile_${CONSTITUENT})
    13495${CONSTITUENT}uninstall :: $(${CONSTITUENT}uninstall_dependencies)
    135         $(echo) (constituents.nmake) Starting uninstall ${CONSTITUENT}
     96        $(echo) (constituents.nmake) Starting $@
    13697        @set include=$(include)
    13798        @set lib=$(lib)
     
    140101#       @if not exist $(cmt_local_${CONSTITUENT}_makefile) $(cmtexe) -tag=$(tags) $(${CONSTITUENT}_extratags) build -nmake constituent_makefile -out=$(cmt_local_${CONSTITUENT}_makefile) ${CONSTITUENT}
    141102#       @-$(MAKE) /nologo /f $(cmt_local_${CONSTITUENT}_makefile) /$(MAKEFLAGS) bin=$(bin) build_strategy=keep_makefiles uninstall tag=$(tag)
    142         $(echo) (constituents.nmake) uninstall ${CONSTITUENT} done
     103        $(echo) (constituents.nmake) $@ done
    143104
    144105#-- end of constituent ------
Note: See TracChangeset for help on using the changeset viewer.