Ignore:
Timestamp:
Mar 15, 2009, 1:13:07 PM (15 years ago)
Author:
rybkin
Message:

See C.L. 387

File:
1 edited

Legend:

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

    r488 r492  
    6868makefiles : $(cmt_local_${CONSTITUENT}_makefile)
    6969
     70ifndef QUICK
     71$(cmt_local_${CONSTITUENT}_makefile) : $(${CONSTITUENT}_dependencies) $(cmt_local_tagfile_${CONSTITUENT}) build_library_links
     72else
    7073$(cmt_local_${CONSTITUENT}_makefile) : $(cmt_local_tagfile_${CONSTITUENT})
     74endif
    7175        $(echo) "(constituents.make) Building ${CONSTITUENT}.make"; \
    7276          $(cmtexe) -tag=$(tags) $(${CONSTITUENT}_extratags) build constituent_makefile -out=$(cmt_local_${CONSTITUENT}_makefile) ${CONSTITUENT}
    7377
    74 ifndef QUICK
    75 ${CONSTITUENT} :: $(${CONSTITUENT}_dependencies) $(cmt_local_${CONSTITUENT}_makefile) build_library_links dirs ${CONSTITUENT}dirs
    76 else
    7778${CONSTITUENT} :: $(${CONSTITUENT}_dependencies) $(cmt_local_${CONSTITUENT}_makefile) dirs ${CONSTITUENT}dirs
    78 endif
    7979        $(echo) "(constituents.make) Starting ${CONSTITUENT}"
    8080        @$(MAKE) -f $(cmt_local_${CONSTITUENT}_makefile) ${CONSTITUENT}
     
    8383clean :: ${CONSTITUENT}clean
    8484
    85 ${CONSTITUENT}clean :: $(${CONSTITUENT}clean_dependencies) $(cmt_local_${CONSTITUENT}_makefile)
     85${CONSTITUENT}clean :: $(${CONSTITUENT}clean_dependencies) ##$(cmt_local_${CONSTITUENT}_makefile)
    8686        $(echo) "(constituents.make) Starting ${CONSTITUENT}clean"
    87         @$(MAKE) -f $(cmt_local_${CONSTITUENT}_makefile) ${CONSTITUENT}clean
     87        @-if test -f $(cmt_local_${CONSTITUENT}_makefile); then \
     88          $(MAKE) -f $(cmt_local_${CONSTITUENT}_makefile) ${CONSTITUENT}clean; \
     89        fi
    8890        $(echo) "(constituents.make) ${CONSTITUENT}clean done"
    89 #       @-if test -f $(cmt_local_${CONSTITUENT}_makefile); then \
    90 #         $(MAKE) -f $(cmt_local_${CONSTITUENT}_makefile) cmt_lock_pid=$${cmt_lock_pid} ${CONSTITUENT}clean; \
    91 #       fi
     91#       @-$(MAKE) -f $(cmt_local_${CONSTITUENT}_makefile) ${CONSTITUENT}clean
    9292
    9393##        /bin/rm -f $(cmt_local_${CONSTITUENT}_makefile) $(bin)${CONSTITUENT}_dependencies.make
     
    102102uninstall :: ${CONSTITUENT}uninstall
    103103
    104 ${CONSTITUENT}uninstall :: $(cmt_local_${CONSTITUENT}_makefile)
     104$(foreach d,$(${CONSTITUENT}_dependencies),$(eval $(d)uninstall_dependencies += ${CONSTITUENT}uninstall))
     105
     106${CONSTITUENT}uninstall :: $(${CONSTITUENT}uninstall_dependencies) $(cmt_local_${CONSTITUENT}_makefile)
    105107        $(echo) "(constituents.make) Starting uninstall ${CONSTITUENT}"
    106108        @$(MAKE) -f $(cmt_local_${CONSTITUENT}_makefile) uninstall
Note: See TracChangeset for help on using the changeset viewer.