Changeset 183
- Timestamp:
- May 2, 2006, 2:37:57 PM (18 years ago)
- Location:
- CMT/HEAD/mgr/fragments
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
CMT/HEAD/mgr/fragments/cleanup_header
r127 r183 4 4 @cd . 5 5 6 #------------------------------------------------------------------------ 7 # Temporary hack to deal with missing files 8 # and to avoid infinite loops in make. However, this must be seen as a ugly hack 9 # since it considers an Atlas use case with config.h.in. This hack is 10 # harmless to any user of this special file though. 11 # =====> the .DEFAULT target should eventually complete disappear 12 #------------------------------------------------------------------------ 6 ifndef PEDANTIC 7 .DEFAULT:: 8 @echo "You should provide a target for this file $@" 9 # @exit 0 10 endif 13 11 14 .DEFAULT:: 15 @echo "You should provide a target for this file $@" 16 # @if echo $@ | grep config.h.in ; then exit 0; else exit 1; fi 12 #ifdef PEDANTIC 13 #.DEFAULT:: 14 # @echo "You should provide a target for this file $@" 15 # @exit 1 16 #endif 17 17 18 ##@echo Using default action for $@ 18 19 19 20 20 -
CMT/HEAD/mgr/fragments/constituent
r123 r183 8 8 9 9 ifdef READONLY 10 cmt_local_tagfile_${CONSTITUENT} 11 cmt_final_setup_${CONSTITUENT} = /tmp/CMT_${PACKAGE}_${CONSTITUENT}setup.make10 cmt_local_tagfile_${CONSTITUENT} = /tmp/CMT_$(${PACKAGE}_tag)_${CONSTITUENT}.make$(cmt_lock_pid) 11 cmt_final_setup_${CONSTITUENT} = /tmp/CMT_${PACKAGE}_${CONSTITUENT}_setup.make 12 12 cmt_local_${CONSTITUENT}_makefile = /tmp/CMT_${CONSTITUENT}$(cmt_lock_pid).make 13 13 else 14 cmt_local_tagfile_${CONSTITUENT} 15 cmt_final_setup_${CONSTITUENT} = $(bin)${PACKAGE}_${CONSTITUENT}setup.make14 cmt_local_tagfile_${CONSTITUENT} = $(${PACKAGE}_tag)_${CONSTITUENT}.make 15 cmt_final_setup_${CONSTITUENT} = $(bin)${PACKAGE}_${CONSTITUENT}_setup.make 16 16 cmt_local_${CONSTITUENT}_makefile = $(bin)${CONSTITUENT}.make 17 17 endif … … 31 31 ifdef READONLY 32 32 cmt_local_tagfile_${CONSTITUENT} = /tmp/CMT_$(${PACKAGE}_tag).make$(cmt_lock_pid) 33 cmt_final_setup_${CONSTITUENT} = /tmp/CMT_${PACKAGE} setup.make33 cmt_final_setup_${CONSTITUENT} = /tmp/CMT_${PACKAGE}_setup.make 34 34 cmt_local_${CONSTITUENT}_makefile = /tmp/CMT_${CONSTITUENT}$(cmt_lock_pid).make 35 35 else 36 36 cmt_local_tagfile_${CONSTITUENT} = $(${PACKAGE}_tag).make 37 cmt_final_setup_${CONSTITUENT} = $(bin)${PACKAGE} setup.make37 cmt_final_setup_${CONSTITUENT} = $(bin)${PACKAGE}_setup.make 38 38 cmt_local_${CONSTITUENT}_makefile = $(bin)${CONSTITUENT}.make 39 39 endif … … 75 75 @echo "------> (constituents.make) uninstall ${CONSTITUENT} done" 76 76 77 ifndef PEDANTIC 77 78 .DEFAULT:: 78 79 @echo "------> (constituents.make) Starting $@ ${CONSTITUENT}" 79 80 @echo Using default action for $@ 80 81 @echo "------> (constituents.make) $@ ${CONSTITUENT} done" 82 endif 81 83 82 84 -
CMT/HEAD/mgr/fragments/constituents_header
r131 r183 23 23 24 24 ifdef READONLY 25 cmt_local_setup = /tmp/CMT_${PACKAGE} setup$(cmt_lock_pid).make26 cmt_final_setup = /tmp/CMT_${PACKAGE} setup.make25 cmt_local_setup = /tmp/CMT_${PACKAGE}_setup$(cmt_lock_pid).make 26 cmt_final_setup = /tmp/CMT_${PACKAGE}_setup.make 27 27 else 28 cmt_local_setup = $(bin)${PACKAGE} setup$(cmt_lock_pid).make29 cmt_final_setup = $(bin)${PACKAGE} setup.make28 cmt_local_setup = $(bin)${PACKAGE}_setup$(cmt_lock_pid).make 29 cmt_final_setup = $(bin)${PACKAGE}_setup.make 30 30 endif 31 31 32 32 #-------------------------------------------------------- 33 33 34 ##cmt_lock_setup = /tmp/lock$(cmt_lock_pid).make34 cmt_lock_setup = /tmp/lock$(cmt_lock_pid).make 35 35 cmt_temp_tag = /tmp/tag$(cmt_lock_pid).make 36 36 … … 40 40 ## @bin=`$(cmtexe) -quiet show macro_value bin` 41 41 42 $(cmt_local_tagfile) : ##$(cmt_lock_setup)42 $(cmt_local_tagfile) : $(cmt_lock_setup) 43 43 @/bin/echo "------> (constituents.make) Rebuilding setup.make $(cmt_local_tagfile)" 44 44 @if test -f $(cmt_local_tagfile); then /bin/rm -f $(cmt_local_tagfile); fi … … 49 49 echo CMTCONFIG=$(CMTCONFIG); \ 50 50 if test -f $(cmt_local_setup); then /bin/rm -f $(cmt_local_setup); fi; \ 51 cmt_local_setup=$${bin}${PACKAGE} setup$(cmt_lock_pid).make; \52 cmt_final_setup=$${bin}${PACKAGE} setup.make; \51 cmt_local_setup=$${bin}${PACKAGE}_setup$(cmt_lock_pid).make; \ 52 cmt_final_setup=$${bin}${PACKAGE}_setup.make; \ 53 53 trap '/bin/rm -f $${cmt_local_setup}' 0 1 2 15; \ 54 54 $(cmtexe) -quiet -tag=$(tags) show setup >>$${cmt_local_setup}; \ … … 64 64 @/bin/echo setup.make ok 65 65 66 config :: ##checkuses66 config :: checkuses 67 67 @exit 0 68 68 … … 89 89 90 90 .DEFAULT :: 91 @echo "You should provide a target for this file $@" 92 # @if test "$@" = "$(cmt_lock_setup)"; then \ 93 # /bin/rm -f $(cmt_lock_setup); \ 94 # touch $(cmt_lock_setup); \ 95 # fi 91 @if test "$@" = "$(cmt_lock_setup)"; then \ 92 /bin/rm -f $(cmt_lock_setup); \ 93 touch $(cmt_lock_setup); \ 94 fi 96 95 97 96 #-- end of constituents_header ------ -
CMT/HEAD/mgr/fragments/make_header
r107 r183 51 51 52 52 ifdef READONLY 53 cmt_final_setup_${CONSTITUENT} = /tmp/CMT_${PACKAGE}_${CONSTITUENT} setup.make53 cmt_final_setup_${CONSTITUENT} = /tmp/CMT_${PACKAGE}_${CONSTITUENT}_setup.make 54 54 cmt_local_${CONSTITUENT}_makefile = /tmp/CMT_${CONSTITUENT}$(cmt_lock_pid).make 55 55 else 56 cmt_final_setup_${CONSTITUENT} = $(bin)${PACKAGE}_${CONSTITUENT} setup.make56 cmt_final_setup_${CONSTITUENT} = $(bin)${PACKAGE}_${CONSTITUENT}_setup.make 57 57 cmt_local_${CONSTITUENT}_makefile = $(bin)${CONSTITUENT}.make 58 58 endif … … 61 61 62 62 ifdef READONLY 63 cmt_final_setup_${CONSTITUENT} = /tmp/CMT_${PACKAGE} setup.make63 cmt_final_setup_${CONSTITUENT} = /tmp/CMT_${PACKAGE}_setup.make 64 64 cmt_local_${CONSTITUENT}_makefile = /tmp/CMT_${CONSTITUENT}$(cmt_lock_pid).make 65 65 else 66 cmt_final_setup_${CONSTITUENT} = $(bin)${PACKAGE} setup.make66 cmt_final_setup_${CONSTITUENT} = $(bin)${PACKAGE}_setup.make 67 67 cmt_local_${CONSTITUENT}_makefile = $(bin)${CONSTITUENT}.make 68 68 endif … … 71 71 72 72 ifdef READONLY 73 cmt_final_setup = /tmp/CMT_${PACKAGE} setup.make73 cmt_final_setup = /tmp/CMT_${PACKAGE}_setup.make 74 74 else 75 cmt_final_setup = $(bin)${PACKAGE} setup.make75 cmt_final_setup = $(bin)${PACKAGE}_setup.make 76 76 endif 77 77 … … 90 90 if test ! -d $(bin) ; then $(mkdir) -p $(bin) ; fi 91 91 92 ### /bin/rm -f checkuses93 94 92 javadirs :: 95 93 @if test ! -d $(javabin) ; then $(mkdir) -p $(javabin) ; fi
Note: See TracChangeset
for help on using the changeset viewer.