Ignore:
Timestamp:
Aug 3, 2010, 5:11:00 PM (15 years ago)
Author:
rybkin
Message:

See C.L. 432

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CMT/HEAD/mgr/fragments/nmake/constituent

    r492 r547  
    1919!endif
    2020
    21 !if "$(QUICK)" == "" || !exist ($(cmt_local_tagfile_${CONSTITUENT}))
     21#!if "$(QUICK)" == "" || !exist ($(cmt_local_tagfile_${CONSTITUENT}))
    2222
    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
     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
    2727
    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
     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
    3232
    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
     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
    4040
    41 !endif
     41#!endif
    4242
    4343!else
     
    5252!endif
    5353
    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
     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
     59
     60!if "$(QUICK)" == "" || !exist ($(cmt_local_${CONSTITUENT}_makefile)) || !exist ($(cmt_local_tagfile_${CONSTITUENT})) || !exist ($(cmt_final_setup_${CONSTITUENT}))
     61$(cmt_local_${CONSTITUENT}_makefile) : $(${CONSTITUENT}_dependencies)
    5962        $(echo) (constituents.nmake) Building ${CONSTITUENT}.nmake
    6063        @set include=$(include)
    6164        @set lib=$(lib)
    62         @$(cmtexe) -tag=$(tags) $(${CONSTITUENT}_extratags) build -nmake constituent_makefile -out=$@ ${CONSTITUENT}
     65        @$(cmtexe) -tag=$(tags) $(${CONSTITUENT}_extratags) build -nmake constituent_config -out=$@ ${CONSTITUENT}
     66#       @$(cmtexe) -tag=$(tags) $(${CONSTITUENT}_extratags) build -nmake constituent_makefile -out=$@ ${CONSTITUENT}
    6367#       $(echo) (constituents.nmake) ${CONSTITUENT}.nmake done
     68!else
     69$(cmt_local_${CONSTITUENT}_makefile) : $(${CONSTITUENT}_dependencies) ;
     70!endif
    6471
    6572cmt_${CONSTITUENT}_${HASDEPENDENCIES} = 1
     
    104111
    105112#${CONSTITUENT}uninstall :: $(cmt_local_${CONSTITUENT}_makefile)
    106 ${CONSTITUENT}uninstall :: $(cmt_local_tagfile_${CONSTITUENT})
     113#${CONSTITUENT}uninstall :: $(cmt_local_tagfile_${CONSTITUENT})
     114${CONSTITUENT}uninstall ::
    107115        $(echo) (constituents.nmake) Starting uninstall ${CONSTITUENT}
    108116        @set include=$(include)
    109117        @set lib=$(lib)
    110         @if not exist $(cmt_local_${CONSTITUENT}_makefile) $(cmtexe) -tag=$(tags) $(${CONSTITUENT}_extratags) build -nmake constituent_makefile -out=$(cmt_local_${CONSTITUENT}_makefile) ${CONSTITUENT}
     118        @if not exist $(cmt_local_${CONSTITUENT}_makefile) $(cmtexe) -tag=$(tags) $(${CONSTITUENT}_extratags) build -nmake constituent_config -out=$(cmt_local_${CONSTITUENT}_makefile) ${CONSTITUENT}
     119#       @if not exist $(cmt_local_${CONSTITUENT}_makefile) $(cmtexe) -tag=$(tags) $(${CONSTITUENT}_extratags) build -nmake constituent_makefile -out=$(cmt_local_${CONSTITUENT}_makefile) ${CONSTITUENT}
    111120        @-$(MAKE) /nologo /f $(cmt_local_${CONSTITUENT}_makefile) /$(MAKEFLAGS) bin=$(bin) build_strategy=keep_makefiles uninstall tag=$(tag)
    112121        $(echo) (constituents.nmake) uninstall ${CONSTITUENT} done
Note: See TracChangeset for help on using the changeset viewer.