Ignore:
Timestamp:
Jan 8, 2009, 11:23:36 AM (15 years ago)
Author:
rybkin
Message:

See C.L. 382

File:
1 edited

Legend:

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

    r473 r487  
    99#cmt_local_tagfile_${CONSTITUENT} = $(${PACKAGE}_tag)_${CONSTITUENT}.nmake
    1010cmt_local_tagfile_${CONSTITUENT} = $(bin)$(${PACKAGE}_tag)_${CONSTITUENT}.nmake
    11 cmt_final_setup_${CONSTITUENT} = $(bin)${PACKAGE}_${CONSTITUENT}_setup.nmake
     11cmt_local_setup_${CONSTITUENT} = $(bin)setup_${CONSTITUENT}.nmake.tmp
     12cmt_final_setup_${CONSTITUENT} = $(bin)setup_${CONSTITUENT}.nmake
     13#cmt_final_setup_${CONSTITUENT} = $(bin)${PACKAGE}_${CONSTITUENT}_setup.nmake
    1214cmt_local_${CONSTITUENT}_makefile = $(bin)${CONSTITUENT}.nmake
    1315
     
    1719!endif
    1820
    19 !if "$(QUICK)" == ""
     21!if "$(QUICK)" == "" || !exist ($(cmt_local_tagfile_${CONSTITUENT}))
    2022
     23!if [$(echo) (constituents.nmake) Rebuilding $(cmt_local_tagfile_${CONSTITUENT})] == 0
     24!endif
    2125!if [cmt -tag=$(tags) $(${CONSTITUENT}_extratags) build tag_makefile >$(cmt_local_tagfile_${CONSTITUENT})] == 0
    2226!endif
    2327
    24 !if [$(cmtexe) -tag=$(tags) $(${CONSTITUENT}_extratags) show setup >$(cmt_final_setup_${CONSTITUENT})] == 0
     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
    2539!endif
    2640
     
    3145#cmt_local_tagfile_${CONSTITUENT} = $(${PACKAGE}_tag).nmake
    3246cmt_local_tagfile_${CONSTITUENT} = $(bin)$(${PACKAGE}_tag).nmake
    33 cmt_final_setup_${CONSTITUENT} = $(bin)${PACKAGE}_setup.nmake
     47#cmt_local_setup_${CONSTITUENT} = $(bin)setup.nmake.tmp
     48cmt_final_setup_${CONSTITUENT} = $(bin)setup.nmake
     49#cmt_final_setup_${CONSTITUENT} = $(bin)${PACKAGE}_setup.nmake
    3450cmt_local_${CONSTITUENT}_makefile = $(bin)${CONSTITUENT}.nmake
    3551
    3652!endif
    3753
    38 !if "$(QUICK)" == ""
    39 $(cmt_local_${CONSTITUENT}_makefile) :: $(${CONSTITUENT}_dependencies) $(cmt_local_tagfile_${CONSTITUENT}) dirs
    40 !else
    41 $(cmt_local_${CONSTITUENT}_makefile) :: $(cmt_local_tagfile_${CONSTITUENT})
    42 !endif
     54#!if "$(QUICK)" == ""
     55#$(cmt_local_${CONSTITUENT}_makefile) :: $(${CONSTITUENT}_dependencies) $(cmt_local_tagfile_${CONSTITUENT}) dirs
     56#!else
     57#$(cmt_local_${CONSTITUENT}_makefile) :: $(cmt_local_tagfile_${CONSTITUENT})
     58#!endif
     59$(cmt_local_${CONSTITUENT}_makefile) : $(cmt_local_tagfile_${CONSTITUENT})
    4360        $(echo) (constituents.nmake) Building ${CONSTITUENT}.nmake
    4461        @set include=$(include)
    4562        @set lib=$(lib)
    4663        @$(cmtexe) -tag=$(tags) $(${CONSTITUENT}_extratags) build -nmake constituent_makefile -out=$@ ${CONSTITUENT}
    47         $(echo) (constituents.nmake) ${CONSTITUENT}.nmake done
     64#       $(echo) (constituents.nmake) ${CONSTITUENT}.nmake done
    4865
    49 ${CONSTITUENT} :: $(${CONSTITUENT}_dependencies) $(cmt_local_${CONSTITUENT}_makefile)
     66${CONSTITUENT} :: $(${CONSTITUENT}_dependencies) $(cmt_local_${CONSTITUENT}_makefile) dirs
    5067        $(echo) (constituents.nmake) Starting ${CONSTITUENT}
    5168        @set include=$(include)
     
    5673clean :: ${CONSTITUENT}clean
    5774
    58 ${CONSTITUENT}clean :: $(${CONSTITUENT}clean_dependencies) ##$(cmt_local_${CONSTITUENT}_makefile)
     75#${CONSTITUENT}clean :: $(${CONSTITUENT}clean_dependencies) ##$(cmt_local_${CONSTITUENT}_makefile)
     76${CONSTITUENT}clean :: $(${CONSTITUENT}clean_dependencies) $(cmt_local_${CONSTITUENT}_makefile)
    5977        $(echo) (constituents.nmake) Starting ${CONSTITUENT}clean
    6078        @set include=$(include)
    6179        @set lib=$(lib)
    62         @-if exist $(cmt_local_${CONSTITUENT}_makefile) $(MAKE) /nologo /f $(cmt_local_${CONSTITUENT}_makefile) /$(MAKEFLAGS) bin=$(bin) build_strategy=keep_makefiles ${CONSTITUENT}clean tag=$(tag)
     80        @$(MAKE) /nologo /f $(cmt_local_${CONSTITUENT}_makefile) /$(MAKEFLAGS) bin=$(bin) build_strategy=keep_makefiles ${CONSTITUENT}clean tag=$(tag)
    6381        $(echo) (constituents.nmake) ${CONSTITUENT}clean done
     82#       @-if exist $(cmt_local_${CONSTITUENT}_makefile) $(MAKE) /nologo /f $(cmt_local_${CONSTITUENT}_makefile) /$(MAKEFLAGS) bin=$(bin) build_strategy=keep_makefiles ${CONSTITUENT}clean tag=$(tag)
     83#       $(echo) (constituents.nmake) ${CONSTITUENT}clean done
    6484
    6585install :: ${CONSTITUENT}install
     
    7595
    7696${CONSTITUENT}uninstall :: $(cmt_local_${CONSTITUENT}_makefile)
    77         $(echo) (constituents.nmake) Starting uninstall ${CONSTITUENT}"
     97        $(echo) (constituents.nmake) Starting uninstall ${CONSTITUENT}
    7898        @set include=$(include)
    7999        @set lib=$(lib)
Note: See TracChangeset for help on using the changeset viewer.