- Timestamp:
- Feb 15, 2008, 4:48:37 PM (16 years ago)
- Location:
- CMT/HEAD
- Files:
-
- 29 edited
Legend:
- Unmodified
- Added
- Removed
-
CMT/HEAD/ChangeLog
r440 r441 1 2008-02-15 <rybkin@lal.in2p3.fr> 345 2 3 * src/Makefile.core: Control the verbosity of Make by defining one of 4 the Make variables with the following effect: 5 QUIET - print CMT messages (default) 6 VERBOSE - print CMT messages and echo Make commands 7 ECHO - echo Make commands 8 SILENT - no CMT messages or Make commands echoing 9 Control the prefix of the CMT messages via the Make variable CMTMSGHDR 10 (default value: #CMT--->) 11 * src/Makefile.header: idem 12 * mgr/fragments/constituents_header: idem 13 * mgr/fragments/group: idem 14 * mgr/fragments/constituent: idem 15 * mgr/fragments/constituent_lock: idem 16 * mgr/fragments/constituents_trailer: idem 17 * mgr/fragments/make_header: idem 18 * mgr/fragments/application_header: idem 19 * mgr/fragments/application: idem 20 * mgr/fragments/application_launcher: idem 21 * mgr/fragments/library_header: idem 22 * mgr/fragments/library: idem 23 * mgr/fragments/library_no_share: idem 24 * mgr/fragments/dependencies: idem 25 * mgr/fragments/c: idem 26 * mgr/fragments/c_library: idem 27 * mgr/fragments/cpp: idem 28 * mgr/fragments/cpp_library: idem 29 * mgr/fragments/fortran: idem 30 * mgr/fragments/fortran_library: idem 31 * mgr/fragments/java_header: idem 32 * mgr/fragments/jar: idem 33 * mgr/fragments/cleanup_application: idem 34 * mgr/fragments/installer: idem 35 * mgr/cmt_make_shlib.sh: idem 36 * mgr/cmt_install_action.sh: idem 37 * mgr/cmt_uninstall_action.sh: idem 38 1 39 2008-02-09 <rybkin@lal.in2p3.fr> 344 2 40 -
CMT/HEAD/mgr/cmt_install_action.sh
r440 r441 26 26 # 5 cmtpath of the package 27 27 #------------------------------------------------------------------------------ 28 : ${CMTMSGHDR:=$0:} 28 29 29 30 source_dir="" … … 134 135 fi 135 136 136 echo " Installing file ${file_name} into ${install_dir}"137 echo "${CMTMSGHDR}" "Installing file ${file_name} into ${install_dir}" 137 138 if test -L ${dest_file_path} -o -f ${dest_file_path}; then 138 139 /bin/rm -f ${dest_file_path} -
CMT/HEAD/mgr/cmt_make_shlib.sh
r28 r441 2 2 3 3 #set -x 4 : ${CMTMSGHDR:=$0:} 4 5 5 6 lib=$1 … … 35 36 36 37 if test `uname` = "Linux" ; then 37 echo " BUILDING SHARED LIBRARY ${lib}"38 echo "${CMTMSGHDR}" "BUILDING SHARED LIBRARY ${lib}" 38 39 # ATTEMPT 2: temp for sharedlin force 39 40 # cp lib${lib}.a lib${lib}.so -
CMT/HEAD/mgr/cmt_uninstall_action.sh
r440 r441 23 23 # 4 cmtpath of the package 24 24 #------------------------------------------------------------------------------ 25 : ${CMTMSGHDR:=$0:} 25 26 26 27 source_dir="" … … 122 123 123 124 if test -d ${dest_file_path}; then 124 echo Removing directory ${file_name} from ${install_dir}125 echo "${CMTMSGHDR}" Removing directory ${file_name} from ${install_dir} 125 126 /bin/rm -rf ${dest_file_path} 126 127 elif test -f ${dest_file_path}; then 127 echo Removing file ${file_name} from ${install_dir}128 echo "${CMTMSGHDR}" Removing file ${file_name} from ${install_dir} 128 129 /bin/rm -f ${dest_file_path} 129 130 fi -
CMT/HEAD/mgr/fragments/application
r227 r441 2 2 3 3 $(bin)${CONSTITUENT}${application_suffix} :: ${OBJS} $(use_stamps) $(${CONSTITUENT}stamps) requirements $(use_requirements) 4 $(link_echo) $@4 $(link_echo) "application $@" 5 5 $(link_silent) cd $(bin); ${LINKMACRO} -o ${CONSTITUENT}.exe.new ${OBJS} $(use_linkopts) $(${CONSTITUENT}linkopts); mv -f ${CONSTITUENT}.exe.new ${CONSTITUENT}${application_suffix} 6 6 … … 19 19 20 20 ${CONSTITUENT}install :: $(install_dir)/$(${CONSTITUENT}installname) 21 @if test ! "${CMTINSTALLAREA}" = ""; then\ 22 echo "installation done"; \23 fi 21 ifdef CMTINSTALLAREA 22 $(echo) "installation done" 23 endif 24 24 25 25 $(install_dir)/$(${CONSTITUENT}installname) :: $(bin)$(${CONSTITUENT}installname) 26 @if test ! "${CMTINSTALLAREA}" = ""; then \ 27 26 ifdef CMTINSTALLAREA 27 $(install_silent) $(cmt_install_action) \ 28 28 -source "`(cd $(bin); pwd)`" \ 29 29 -name "$(${CONSTITUENT}installname)" \ 30 30 -out "$(install_dir)" \ 31 31 -cmd "$(cmt_installarea_command)" \ 32 -cmtpath "$($(package)_cmtpath)" ; \33 fi 32 -cmtpath "$($(package)_cmtpath)" 33 endif 34 34 35 35 ##${CONSTITUENT}clean :: ${CONSTITUENT}uninstall … … 38 38 39 39 ${CONSTITUENT}uninstall :: 40 @echo "------> (${CONSTITUENT}.make) Removing installed files" 41 @if test ! "${CMTINSTALLAREA}" = ""; then \ 42 $(cmt_uninstall_action) \ 40 ifdef CMTINSTALLAREA 41 $(cleanup_silent) $(cmt_uninstall_action) \ 43 42 -source "`(cd $(bin); pwd)`" \ 44 43 -name "$(${CONSTITUENT}installname)" \ 45 44 -out "$(install_dir)" \ 46 -cmtpath "$($(package)_cmtpath)" ; \47 fi 45 -cmtpath "$($(package)_cmtpath)" 46 endif 48 47 48 # @echo "------> (${CONSTITUENT}.make) Removing installed files" 49 49 #-- end of application -
CMT/HEAD/mgr/fragments/application_header
r11 r441 2 2 3 3 ${CONSTITUENT} :: dirs ${PROTOTARGET} $(bin)${CONSTITUENT}${application_suffix} 4 @/bin/echo "------>${CONSTITUENT} ok"4 $(echo) "${CONSTITUENT} ok" 5 5 6 6 #-- end of application_header -
CMT/HEAD/mgr/fragments/application_launcher
r11 r441 2 2 3 3 ${CONSTITUENT} :: 4 cd $(bin); \4 $(silent) cd $(bin); \ 5 5 ${${CONSTITUENT}_pre_check}; \ 6 6 ${FULLNAME} ${${CONSTITUENT}_check_args}; \ -
CMT/HEAD/mgr/fragments/c
r436 r441 4 4 5 5 $(bin)${NAME}${CONSTITUENTSUFFIX}.o : $(${NAME}_${FILESUFFIX}_dependencies) 6 $(c_echo) $ @6 $(c_echo) $< 7 7 $(c_silent) cd $(bin); $(ccomp) -o ${NAME}${CONSTITUENTSUFFIX}.o $(use_pp_cflags) $(${CONSTITUENT}_pp_cflags) $(app_${CONSTITUENT}_pp_cflags) $(${NAME}_pp_cflags) $(use_cflags) $(${CONSTITUENT}_cflags) $(app_${CONSTITUENT}_cflags) $(${NAME}_cflags) $(${NAME}_${FILESUFFIX}_cflags) ${ADDINCLUDE} ${FULLNAME} 8 8 -
CMT/HEAD/mgr/fragments/c_library
r436 r441 4 4 5 5 $(bin)$(binobj)${NAME}${CONSTITUENTSUFFIX}.o : $(${NAME}_${FILESUFFIX}_dependencies) 6 $(c_echo) $ @6 $(c_echo) $< 7 7 $(c_silent) cd $(bin); $(ccomp) -o $(binobj)${NAME}${CONSTITUENTSUFFIX}.o $(use_pp_cflags) $(${CONSTITUENT}_pp_cflags) $(lib_${CONSTITUENT}_pp_cflags) $(${NAME}_pp_cflags) $(use_cflags) $(${CONSTITUENT}_cflags) $(lib_${CONSTITUENT}_cflags) $(${NAME}_cflags) $(${NAME}_${FILESUFFIX}_cflags) ${ADDINCLUDE} ${FULLNAME} 8 8 -
CMT/HEAD/mgr/fragments/cleanup_application
r11 r441 1 1 #-- start of cleanup_application ------ 2 @echo "------> (${CONSTITUENT}.make) Removing application files" 3 -$(cleanup_echo) ${CONSTITUENT}${application_suffix} 4 -@cd $(bin); /bin/rm -f ${CONSTITUENT}${application_suffix} 2 $(cleanup_echo) ${CONSTITUENT}${application_suffix} 3 -$(cleanup_silent) cd $(bin); /bin/rm -f ${CONSTITUENT}${application_suffix} 4 5 # @echo "------> (${CONSTITUENT}.make) Removing application files" 5 6 #-- end of cleanup_application ------ -
CMT/HEAD/mgr/fragments/constituent
r434 r441 26 26 $(cmt_local_tagfile_${CONSTITUENT}) : 27 27 endif 28 @/bin/echo "------>(constituents.make) Rebuilding setup.make $(cmt_local_tagfile_${CONSTITUENT})"28 $(echo) "(constituents.make) Rebuilding setup.make $(cmt_local_tagfile_${CONSTITUENT})" 29 29 @if test -f $(cmt_local_tagfile_${CONSTITUENT}); then /bin/rm -f $(cmt_local_tagfile_${CONSTITUENT}); fi ; \ 30 30 $(cmtexe) -quiet -tag=$(tags) $(${CONSTITUENT}_extratags) build tag_makefile >>$(cmt_local_tagfile_${CONSTITUENT}); \ 31 31 if test -f $(cmt_final_setup_${CONSTITUENT}); then /bin/rm -f $(cmt_final_setup_${CONSTITUENT}); fi; \ 32 32 $(cmtexe) -quiet -tag=$(tags) $(${CONSTITUENT}_extratags) show setup >>$(cmt_final_setup_${CONSTITUENT}) 33 @/bin/echosetup.make ok33 $(echo) setup.make ok 34 34 35 35 else … … 53 53 $(cmt_local_${CONSTITUENT}_makefile) :: $(cmt_local_tagfile_${CONSTITUENT}) 54 54 endif 55 @echo "------>(constituents.make) Building ${CONSTITUENT}.make"; \55 $(echo) "(constituents.make) Building ${CONSTITUENT}.make"; \ 56 56 $(cmtexe) -quiet -tag=$(tags) $(${CONSTITUENT}_extratags) build constituent_makefile -out=$(cmt_local_${CONSTITUENT}_makefile) ${CONSTITUENT} 57 57 58 58 ${CONSTITUENT} :: $(${CONSTITUENT}_dependencies) $(cmt_local_${CONSTITUENT}_makefile) 59 @echo "------>(constituents.make) Starting ${CONSTITUENT}"59 $(echo) "(constituents.make) Starting ${CONSTITUENT}" 60 60 @$(MAKE) -f $(cmt_local_${CONSTITUENT}_makefile) cmt_lock_pid=$${cmt_lock_pid} ${CONSTITUENT} 61 @echo "------>(constituents.make) ${CONSTITUENT} done"61 $(echo) "(constituents.make) ${CONSTITUENT} done" 62 62 63 63 clean :: ${CONSTITUENT}clean 64 64 65 65 ${CONSTITUENT}clean :: $(${CONSTITUENT}clean_dependencies) ##$(cmt_local_${CONSTITUENT}_makefile) 66 $(echo) "(constituents.make) Starting ${CONSTITUENT}clean" 66 67 @-if test -f $(cmt_local_${CONSTITUENT}_makefile); then \ 67 echo "------> (constituents.make) Starting ${CONSTITUENT}clean"; \68 68 $(MAKE) -f $(cmt_local_${CONSTITUENT}_makefile) cmt_lock_pid=$${cmt_lock_pid} ${CONSTITUENT}clean; \ 69 69 fi … … 74 74 75 75 ${CONSTITUENT}install :: $(${CONSTITUENT}_dependencies) $(cmt_local_${CONSTITUENT}_makefile) 76 @echo "------>(constituents.make) Starting install ${CONSTITUENT}"76 $(echo) "(constituents.make) Starting install ${CONSTITUENT}" 77 77 @-$(MAKE) -f $(cmt_local_${CONSTITUENT}_makefile) cmt_lock_pid=$${cmt_lock_pid} install 78 @echo "------>(constituents.make) install ${CONSTITUENT} done"78 $(echo) "(constituents.make) install ${CONSTITUENT} done" 79 79 80 80 uninstall :: ${CONSTITUENT}uninstall 81 81 82 82 ${CONSTITUENT}uninstall :: $(cmt_local_${CONSTITUENT}_makefile) 83 @echo "------>(constituents.make) Starting uninstall ${CONSTITUENT}"83 $(echo) "(constituents.make) Starting uninstall ${CONSTITUENT}" 84 84 @-$(MAKE) -f $(cmt_local_${CONSTITUENT}_makefile) cmt_lock_pid=$${cmt_lock_pid} uninstall 85 @echo "------>(constituents.make) uninstall ${CONSTITUENT} done"85 $(echo) "(constituents.make) uninstall ${CONSTITUENT} done" 86 86 87 87 ifndef PEDANTIC 88 88 .DEFAULT:: 89 @echo "------>(constituents.make) Starting $@ ${CONSTITUENT}"90 @echoUsing default action for $@91 @echo "------>(constituents.make) $@ ${CONSTITUENT} done"89 $(echo) "(constituents.make) Starting $@ ${CONSTITUENT}" 90 $(echo) Using default action for $@ 91 $(echo) "(constituents.make) $@ ${CONSTITUENT} done" 92 92 endif 93 93 -
CMT/HEAD/mgr/fragments/constituent_lock
r434 r441 26 26 $(cmt_local_tagfile_${CONSTITUENT}) : 27 27 endif 28 @/bin/echo "------>(constituents.make) Rebuilding setup.make $(cmt_local_tagfile_${CONSTITUENT})"28 $(echo) "(constituents.make) Rebuilding setup.make $(cmt_local_tagfile_${CONSTITUENT})" 29 29 @if test -f $(cmt_local_tagfile_${CONSTITUENT}); then /bin/rm -f $(cmt_local_tagfile_${CONSTITUENT}); fi ; \ 30 30 $(cmtexe) -quiet -tag=$(tags) $(${CONSTITUENT}_extratags) build tag_makefile >>$(cmt_local_tagfile_${CONSTITUENT}); \ 31 31 if test -f $(cmt_final_setup_${CONSTITUENT}); then /bin/rm -f $(cmt_final_setup_${CONSTITUENT}); fi; \ 32 32 $(cmtexe) -quiet -tag=$(tags) $(${CONSTITUENT}_extratags) show setup >>$(cmt_final_setup_${CONSTITUENT}) 33 @/bin/echosetup.make ok33 $(echo) setup.make ok 34 34 35 35 else … … 53 53 $(cmt_local_${CONSTITUENT}_makefile) :: $(cmt_local_tagfile_${CONSTITUENT}) 54 54 endif 55 @echo "------>(constituents.make) Building ${CONSTITUENT}.make"; \55 $(echo) "(constituents.make) Building ${CONSTITUENT}.make"; \ 56 56 $(cmtexe) -quiet -tag=$(tags) $(${CONSTITUENT}_extratags) build constituent_makefile -out=$(cmt_local_${CONSTITUENT}_makefile) ${CONSTITUENT} 57 57 58 58 ${CONSTITUENT} :: $(${CONSTITUENT}_dependencies) $(cmt_local_${CONSTITUENT}_makefile) 59 @echo "------>(constituents.make) Creating ${CONSTITUENT}${lock_suffix}"59 $(echo) "(constituents.make) Creating ${CONSTITUENT}${lock_suffix}" 60 60 @${lock_command} ${CONSTITUENT}${lock_suffix} 61 @echo "------>(constituents.make) Starting ${CONSTITUENT}"61 $(echo) "(constituents.make) Starting ${CONSTITUENT}" 62 62 @$(MAKE) -f $(cmt_local_${CONSTITUENT}_makefile) cmt_lock_pid=$${cmt_lock_pid} ${CONSTITUENT}; \ 63 63 retval=$$?; ${unlock_command} ${CONSTITUENT}${lock_suffix}; exit $${retval} 64 @echo "------>(constituents.make) ${CONSTITUENT} done"64 $(echo) "(constituents.make) ${CONSTITUENT} done" 65 65 66 66 clean :: ${CONSTITUENT}clean 67 67 68 68 ${CONSTITUENT}clean :: $(${CONSTITUENT}clean_dependencies) ##$(cmt_local_${CONSTITUENT}_makefile) 69 $(echo) "(constituents.make) Starting ${CONSTITUENT}clean" 69 70 @-if test -f $(cmt_local_${CONSTITUENT}_makefile); then \ 70 echo "------> (constituents.make) Starting ${CONSTITUENT}clean"; \71 71 $(MAKE) -f $(cmt_local_${CONSTITUENT}_makefile) cmt_lock_pid=$${cmt_lock_pid} ${CONSTITUENT}clean; \ 72 72 fi … … 77 77 78 78 ${CONSTITUENT}install :: $(${CONSTITUENT}_dependencies) $(cmt_local_${CONSTITUENT}_makefile) 79 @echo "------>(constituents.make) Starting install ${CONSTITUENT}"79 $(echo) "(constituents.make) Starting install ${CONSTITUENT}" 80 80 @-$(MAKE) -f $(cmt_local_${CONSTITUENT}_makefile) cmt_lock_pid=$${cmt_lock_pid} install 81 @echo "------>(constituents.make) install ${CONSTITUENT} done"81 $(echo) "(constituents.make) install ${CONSTITUENT} done" 82 82 83 83 uninstall :: ${CONSTITUENT}uninstall 84 84 85 85 ${CONSTITUENT}uninstall :: $(cmt_local_${CONSTITUENT}_makefile) 86 @echo "------>(constituents.make) Starting uninstall ${CONSTITUENT}"86 $(echo) "(constituents.make) Starting uninstall ${CONSTITUENT}" 87 87 @-$(MAKE) -f $(cmt_local_${CONSTITUENT}_makefile) cmt_lock_pid=$${cmt_lock_pid} uninstall 88 @echo "------>(constituents.make) uninstall ${CONSTITUENT} done"88 $(echo) "(constituents.make) uninstall ${CONSTITUENT} done" 89 89 90 90 ifndef PEDANTIC 91 91 .DEFAULT:: 92 @echo "------>(constituents.make) Starting $@ ${CONSTITUENT}"93 @echoUsing default action for $@94 @echo "------>(constituents.make) $@ ${CONSTITUENT} done"92 $(echo) "(constituents.make) Starting $@ ${CONSTITUENT}" 93 $(echo) Using default action for $@ 94 $(echo) "(constituents.make) $@ ${CONSTITUENT} done" 95 95 endif 96 96 -
CMT/HEAD/mgr/fragments/constituents_header
r434 r441 56 56 57 57 $(cmt_final_setup) : $(cmt_local_tagfile) 58 @/bin/echo "------>(constituents.make) Rebuilding $@"58 $(echo) "(constituents.make) Rebuilding $@" 59 59 @if test ! -d $(@D); then $(mkdir) -p $(@D); fi; \ 60 60 if test -f $(cmt_local_setup); then /bin/rm -f $(cmt_local_setup); fi; \ … … 65 65 else \ 66 66 if /usr/bin/diff $(cmt_local_setup) $@ >/dev/null ; then \ 67 echo "$@ untouched"; \67 : ; \ 68 68 else \ 69 69 mv $(cmt_local_setup) $@; \ 70 70 fi; \ 71 71 fi 72 @/bin/echo $@ ok 72 73 # @/bin/echo $@ ok 73 74 74 75 config :: checkuses … … 81 82 ifndef QUICK 82 83 all :: build_library_links 83 @echo "------>(constituents.make) all done"84 $(echo) "(constituents.make) all done" 84 85 endif 85 86 … … 95 96 96 97 build_library_links : dirs requirements 97 @echo "------>(constituents.make) Rebuilding library links"; \98 $(echo) "(constituents.make) Rebuilding library links"; \ 98 99 if test ! -d $(bin) ; then $(mkdir) -p $(bin) ; fi; \ 99 100 $(build_library_links) -
CMT/HEAD/mgr/fragments/constituents_trailer
r95 r441 4 4 5 5 remove_library_links :: 6 @echo"Removing library links"; \7 $(remove_library_links) ; \6 $(echo) "Removing library links"; \ 7 $(remove_library_links) 8 8 9 9 makefilesclean :: … … 16 16 17 17 binclean :: clean 18 $(echo) "Removing binary directory $(bin)" 18 19 @if test ! "$(bin)" = "./"; then \ 19 echo "Removing binary directory $(bin)"20 20 /bin/rm -rf $(bin); \ 21 21 fi -
CMT/HEAD/mgr/fragments/cpp
r436 r441 4 4 5 5 $(bin)$(binobj)${NAME}${CONSTITUENTSUFFIX}.o : $(${NAME}_${FILESUFFIX}_dependencies) 6 $(cpp_echo) $ @6 $(cpp_echo) $< 7 7 $(cpp_silent) cd $(bin); $(cppcomp) -o $(binobj)${NAME}${CONSTITUENTSUFFIX}.o $(use_pp_cppflags) $(${CONSTITUENT}_pp_cppflags) $(app_${CONSTITUENT}_pp_cppflags) $(${NAME}_pp_cppflags) $(use_cppflags) $(${CONSTITUENT}_cppflags) $(app_${CONSTITUENT}_cppflags) $(${NAME}_cppflags) $(${NAME}_${FILESUFFIX}_cppflags) ${ADDINCLUDE} ${FULLNAME} 8 8 -
CMT/HEAD/mgr/fragments/cpp_library
r436 r441 4 4 5 5 $(bin)$(binobj)${NAME}${CONSTITUENTSUFFIX}.o : $(${NAME}_${FILESUFFIX}_dependencies) 6 $(cpp_echo) $ @6 $(cpp_echo) $< 7 7 $(cpp_silent) cd $(bin); $(cppcomp) -o $(binobj)${NAME}${CONSTITUENTSUFFIX}.o $(use_pp_cppflags) $(${CONSTITUENT}_pp_cppflags) $(lib_${CONSTITUENT}_pp_cppflags) $(${NAME}_pp_cppflags) $(use_cppflags) $(${CONSTITUENT}_cppflags) $(lib_${CONSTITUENT}_cppflags) $(${NAME}_cppflags) $(${NAME}_${FILESUFFIX}_cppflags) ${ADDINCLUDE} ${FULLNAME} 8 8 -
CMT/HEAD/mgr/fragments/dependencies
r436 r441 5 5 ifndef QUICK 6 6 $(bin)${CONSTITUENT}_dependencies.make : ${LINE} $(use_requirements) $(cmt_final_setup_${CONSTITUENT}) 7 @echo "------>(${CONSTITUENT}.make) Rebuilding $@"; \7 $(echo) "(${CONSTITUENT}.make) Rebuilding $@"; \ 8 8 $(build_dependencies) ${CONSTITUENT} -all_sources 9 9 endif -
CMT/HEAD/mgr/fragments/fortran
r436 r441 4 4 5 5 $(bin)${NAME}${CONSTITUENTSUFFIX}.o : $(${NAME}_${FILESUFFIX}_dependencies) 6 $(fortran_echo) $ @6 $(fortran_echo) $< 7 7 $(fortran_silent)cd $(bin); $(fcomp) -o ${NAME}${CONSTITUENTSUFFIX}.o $(use_pp_fflags) $(${CONSTITUENT}_pp_fflags) $(app_${CONSTITUENT}_pp_fflags) $(${NAME}_pp_fflags) $(use_fflags) $(${CONSTITUENT}_fflags) $(app_${CONSTITUENT}_fflags) $(${NAME}_fflags) $(${NAME}_${FILESUFFIX}_fflags) ${ADDINCLUDE} ${FULLNAME} 8 8 -
CMT/HEAD/mgr/fragments/fortran_library
r436 r441 4 4 5 5 $(bin)$(binobj)${NAME}${CONSTITUENTSUFFIX}.o : $(${NAME}_${FILESUFFIX}_dependencies) 6 $(fortran_echo) $ @6 $(fortran_echo) $< 7 7 $(fortran_silent)cd $(bin); $(fcomp) -o $(binobj)${NAME}${CONSTITUENTSUFFIX}.o $(use_pp_fflags) $(${CONSTITUENT}_pp_fflags) $(lib_${CONSTITUENT}_pp_fflags) $(${NAME}_pp_fflags) $(use_fflags) $(${CONSTITUENT}_fflags) $(lib_${CONSTITUENT}_fflags) $(${NAME}_fflags) $(${NAME}_${FILESUFFIX}_fflags) ${ADDINCLUDE} ${FULLNAME} 8 8 -
CMT/HEAD/mgr/fragments/group
r325 r441 4 4 5 5 ${GROUP} :: $(${GROUP}_dependencies) $(${GROUP}_pre_constituents) $(${GROUP}_constituents) $(${GROUP}_post_constituents) 6 @/bin/echo " ${GROUP} ok." 6 $(echo) "${GROUP} ok." 7 8 # @/bin/echo " ${GROUP} ok." 7 9 8 10 clean :: allclean 9 11 10 12 ${GROUP}clean :: $(${GROUP}_constituentsclean) 11 @echo $(${GROUP}_constituentsclean) 12 @/bin/echo " ${GROUP}clean ok." 13 $(echo) $(${GROUP}_constituentsclean) 14 $(echo) "${GROUP}clean ok." 15 16 # @echo $(${GROUP}_constituentsclean) 17 # @/bin/echo " ${GROUP}clean ok." 13 18 14 19 ${GROUP}clean :: makefilesclean -
CMT/HEAD/mgr/fragments/installer
r11 r441 4 4 5 5 ${install_dir}/${NAME}${FILESUFFIX} : ${FULLNAME} 6 @if test ! -d "${install_dir}" ; then mkdir -p ${install_dir}; fi7 $ {install_command} ${FULLNAME} ${install_dir}/${NAME}${FILESUFFIX}6 $(install_silent) if test ! -d "${install_dir}" ; then mkdir -p ${install_dir}; fi 7 $(install_silent) ${install_command} ${FULLNAME} ${install_dir}/${NAME}${FILESUFFIX} 8 8 9 9 ${CONSTITUENT}clean :: 10 $ {uninstall_command} ${install_dir}/${NAME}${FILESUFFIX}10 $(cleanup_silent) ${uninstall_command} ${install_dir}/${NAME}${FILESUFFIX} 11 11 12 12 #-- end of installer ------ -
CMT/HEAD/mgr/fragments/jar
r11 r441 13 13 14 14 ${CONSTITUENT}install :: $(install_dir)/$(${CONSTITUENT}installname) 15 @if test ! "${CMTINSTALLAREA}" = ""; then\ 16 echo "installation done"; \17 fi 15 ifdef CMTINSTALLAREA 16 $(echo) "installation done" 17 endif 18 18 19 19 $(install_dir)/$(${CONSTITUENT}installname) :: $(javabin)$(${CONSTITUENT}installname) 20 @if test ! "${CMTINSTALLAREA}" = ""; then \ 21 20 ifdef CMTINSTALLAREA 21 $(install_silent) $(cmt_install_action) \ 22 22 -source "$(PACKAGE_ROOT)/classes" \ 23 23 -name "$(${CONSTITUENT}installname)" \ 24 24 -out "$(install_dir)" \ 25 25 -cmd "$(cmt_installarea_command)" \ 26 -cmtpath "$($(package)_cmtpath)" ; \27 fi 26 -cmtpath "$($(package)_cmtpath)" 27 endif 28 28 29 29 ##${CONSTITUENT}clean :: ${CONSTITUENT}uninstall … … 32 32 33 33 ${CONSTITUENT}uninstall :: 34 @if test ! "${CMTINSTALLAREA}" = ""; then \ 35 34 ifdef CMTINSTALLAREA 35 $(cleanup_silent) $(cmt_uninstall_action) \ 36 36 -source "$(PACKAGE_ROOT)/classes" \ 37 37 -name "$(${CONSTITUENT}installname)" \ 38 38 -out "$(install_dir)" \ 39 -cmtpath "$($(package)_cmtpath)" ; \40 fi 39 -cmtpath "$($(package)_cmtpath)" 40 endif 41 41 42 42 ${CONSTITUENT}clean :: 43 /bin/rm -rf $(javabin)/${CONSTITUENT}44 /bin/rm -f $(javabin)/${CONSTITUENT}.jar43 $(cleanup_silent) /bin/rm -rf $(javabin)/${CONSTITUENT} 44 $(cleanup_silent) /bin/rm -f $(javabin)/${CONSTITUENT}.jar 45 45 46 46 #-- end of jar ------ -
CMT/HEAD/mgr/fragments/java_header
r401 r441 2 2 3 3 ${CONSTITUENT}javadirs :: 4 @if test ! -d $(javabin)/${CONSTITUENT} ; then $(mkdir) -p $(javabin)${CONSTITUENT} ; fi4 $(silent) if test ! -d $(javabin)/${CONSTITUENT} ; then $(mkdir) -p $(javabin)${CONSTITUENT} ; fi 5 5 6 6 ${CONSTITUENT} :: ${CONSTITUENT}javadirs $(javabin)${CONSTITUENT}.jar 7 @/bin/echo "------>${CONSTITUENT} ok"7 $(echo) "${CONSTITUENT} ok" 8 8 9 9 $(javabin)${CONSTITUENT}.jar :: ${OBJS} … … 21 21 22 22 ${CONSTITUENT}install :: $(install_dir)/$(${CONSTITUENT}installname) 23 @if test ! "${CMTINSTALLAREA}" = ""; then\ 24 echo "installation done"; \25 fi 23 ifdef CMTINSTALLAREA 24 $(echo) "installation done" 25 endif 26 26 27 27 $(install_dir)/$(${CONSTITUENT}installname) :: $(javabin)$(${CONSTITUENT}installname) 28 @if test ! "${CMTINSTALLAREA}" = ""; then \ 29 28 ifdef CMTINSTALLAREA 29 $(install_silent) $(cmt_install_action) \ 30 30 -source "$(PACKAGE_ROOT)/classes" \ 31 31 -name "$(${CONSTITUENT}installname)" \ 32 32 -out "$(install_dir)" \ 33 33 -cmd "$(cmt_installarea_command)" \ 34 -cmtpath "$($(package)_cmtpath)" ; \35 fi 34 -cmtpath "$($(package)_cmtpath)" 35 endif 36 36 37 37 ##${CONSTITUENT}clean :: ${CONSTITUENT}uninstall … … 40 40 41 41 ${CONSTITUENT}uninstall :: 42 @if test ! "${CMTINSTALLAREA}" = ""; then \ 43 42 ifdef CMTINSTALLAREA 43 $(cleanup_silent) $(cmt_uninstall_action) \ 44 44 -source "$(PACKAGE_ROOT)/classes" \ 45 45 -name "$(${CONSTITUENT}installname)" \ 46 46 -out "$(install_dir)" \ 47 -cmtpath "$($(package)_cmtpath)" ; \48 fi 47 -cmtpath "$($(package)_cmtpath)" 48 endif 49 49 50 50 ${CONSTITUENT}clean :: 51 /bin/rm -rf $(javabin)/${CONSTITUENT}52 /bin/rm -f $(javabin)/${CONSTITUENT}.jar51 $(cleanup_silent) /bin/rm -rf $(javabin)/${CONSTITUENT} 52 $(cleanup_silent) /bin/rm -f $(javabin)/${CONSTITUENT}.jar 53 53 54 54 #-- end of java_header ------ -
CMT/HEAD/mgr/fragments/library
r227 r441 2 2 3 3 ${CONSTITUENT}LIB :: $(${CONSTITUENT}lib) $(${CONSTITUENT}shstamp) 4 @/bin/echo "------>${CONSTITUENT} : library ok"4 $(echo) "${CONSTITUENT} : library ok" 5 5 6 6 $(${CONSTITUENT}lib) :: ${OBJS} 7 $(lib_echo) library7 $(lib_echo) "library $@" 8 8 $(lib_silent) cd $(bin); \ 9 9 $(ar) $(${CONSTITUENT}lib) $? … … 52 52 53 53 ${CONSTITUENT}install :: $(install_dir)/$(${CONSTITUENT}installname) 54 @if test ! "${CMTINSTALLAREA}" = ""; then\ 55 echo "installation done"; \56 fi 54 ifdef CMTINSTALLAREA 55 $(echo) "installation done" 56 endif 57 57 58 58 $(install_dir)/$(${CONSTITUENT}installname) :: $(bin)$(${CONSTITUENT}installname) 59 @if test ! "${CMTINSTALLAREA}" = ""; then \ 60 59 ifdef CMTINSTALLAREA 60 $(install_silent) $(cmt_install_action) \ 61 61 -source "`(cd $(bin); pwd)`" \ 62 62 -name "$(${CONSTITUENT}installname)" \ 63 63 -out "$(install_dir)" \ 64 64 -cmd "$(cmt_installarea_command)" \ 65 -cmtpath "$($(package)_cmtpath)" ; \66 fi 65 -cmtpath "$($(package)_cmtpath)" 66 endif 67 67 68 68 ##${CONSTITUENT}clean :: ${CONSTITUENT}uninstall … … 71 71 72 72 ${CONSTITUENT}uninstall :: 73 @if test ! "${CMTINSTALLAREA}" = ""; then \ 74 73 ifdef CMTINSTALLAREA 74 $(cleanup_silent) $(cmt_uninstall_action) \ 75 75 -source "`(cd $(bin); pwd)`" \ 76 76 -name "$(${CONSTITUENT}installname)" \ 77 77 -out "$(install_dir)" \ 78 -cmtpath "$($(package)_cmtpath)" ; \ 79 fi 80 78 -cmtpath "$($(package)_cmtpath)" 79 endif 81 80 82 81 #-- end of libary ----------------------- -
CMT/HEAD/mgr/fragments/library_header
r11 r441 7 7 8 8 ${CONSTITUENT} :: dirs ${PROTOTARGET} ${CONSTITUENT}LIB 9 @/bin/echo "------>${CONSTITUENT} ok"9 $(echo) "${CONSTITUENT} ok" 10 10 11 11 #-- end of libary_header ---------------- -
CMT/HEAD/mgr/fragments/library_no_share
r11 r441 2 2 3 3 ${CONSTITUENT}LIB :: $(${CONSTITUENT}lib) 4 @/bin/echo ${CONSTITUENT} : library ok4 $(echo) "${CONSTITUENT} : library ok" 5 5 6 6 $(${CONSTITUENT}lib) :: ${OBJS} 7 $(lib_echo) library7 $(lib_echo) "library $@" 8 8 $(lib_silent) cd $(bin); \ 9 9 $(ar) $(${CONSTITUENT}lib) $? … … 34 34 35 35 ${CONSTITUENT}install :: $(install_dir)/$(${CONSTITUENT}installname) 36 @if test ! "${CMTINSTALLAREA}" = ""; then\ 37 echo "installation done"; \38 fi 36 ifdef CMTINSTALLAREA 37 $(echo) "installation done" 38 endif 39 39 40 40 $(install_dir)/$(${CONSTITUENT}installname) :: $(bin)$(${CONSTITUENT}installname) 41 @if test ! "${CMTINSTALLAREA}" = ""; then \ 42 41 ifdef CMTINSTALLAREA 42 $(install_silent) $(cmt_install_action) \ 43 43 -source "`(cd $(bin); pwd)`" \ 44 44 -name "$(${CONSTITUENT}installname)" \ 45 45 -out "$(install_dir)" \ 46 46 -cmd "$(cmt_installarea_command)" \ 47 -cmtpath "$($(package)_cmtpath)" ; \48 fi 47 -cmtpath "$($(package)_cmtpath)" 48 endif 49 49 50 50 ##${CONSTITUENT}clean :: ${CONSTITUENT}uninstall … … 53 53 54 54 ${CONSTITUENT}uninstall :: 55 @if test ! "${CMTINSTALLAREA}" = ""; then \ 56 55 ifdef CMTINSTALLAREA 56 $(cleanup_silent) $(cmt_uninstall_action) \ 57 57 -source "`(cd $(bin); pwd)`" \ 58 58 -name "$(${CONSTITUENT}installname)" \ 59 59 -out "$(install_dir)" \ 60 -cmtpath "$($(package)_cmtpath)" ; \61 fi 60 -cmtpath "$($(package)_cmtpath)" 61 endif 62 62 63 63 ${CONSTITUENT}clean :: -
CMT/HEAD/mgr/fragments/make_header
r434 r441 99 99 100 100 help :: 101 @echo'${CONSTITUENT}'101 $(echo) '${CONSTITUENT}' 102 102 103 103 binobj = … … 106 106 ${CONSTITUENT}:: 107 107 @if test ! -d $(bin)$(binobj) ; then $(mkdir) -p $(bin)$(binobj) ; fi 108 @echo"STRUCTURED_OUTPUT="$(bin)$(binobj)108 $(echo) "STRUCTURED_OUTPUT="$(bin)$(binobj) 109 109 endif 110 110 -
CMT/HEAD/src/Makefile.core
r11 r441 41 41 # 42 42 43 ifndef CMTMSGHDR 44 CMTMSGHDR = \#CMT---> 45 endif 46 47 ifdef ECHO 48 VERBOSE = 1 49 endif 50 51 ifndef VERBOSE 52 QUIET = 1 53 endif 54 55 ifdef SILENT 56 QUIET = 1 57 MAKEFLAGS += --silent 58 endif 59 43 60 ifdef QUIET 44 61 LEX_QUIET = 1 … … 51 68 LIB_QUIET = 1 52 69 CLEANUP_QUIET = 1 70 INSTALL_QUIET = 1 53 71 silent = @ 54 echo = @ /bin/echo72 echo = @- echo "$(CMTMSGHDR)" 55 73 else 56 74 silent = 57 echo = @- echo 75 echo = @- echo "$(CMTMSGHDR)" 58 76 endif 59 77 60 78 ifdef LEX_QUIET 61 79 lex_silent = @ 62 lex_echo = @/bin/echo rebuilding80 lex_echo = $(echo) building 63 81 else 64 82 lex_silent = 65 lex_echo = $(echo) 83 lex_echo = $(echo) building 66 84 endif 67 85 68 86 ifdef YACC_QUIET 69 87 yacc_silent = @ 70 yacc_echo = @/bin/echo rebuilding88 yacc_echo = $(echo) building 71 89 else 72 90 yacc_silent = 73 yacc_echo = $(echo) 91 yacc_echo = $(echo) building 74 92 endif 75 93 76 94 ifdef C_QUIET 77 95 c_silent = @ 78 c_echo = @/bin/echo rebuilding96 c_echo = $(echo) compiling 79 97 else 80 98 c_silent = 81 c_echo = $(echo) 99 c_echo = $(echo) compiling 82 100 endif 83 101 84 102 ifdef CPP_QUIET 85 103 cpp_silent = @ 86 cpp_echo = @/bin/echo rebuilding104 cpp_echo = $(echo) compiling 87 105 else 88 106 cpp_silent = 89 cpp_echo = $(echo) 107 cpp_echo = $(echo) compiling 90 108 endif 91 109 92 110 ifdef FORTRAN_QUIET 93 111 fortran_silent = @ 94 fortran_echo = @/bin/echo rebuilding112 fortran_echo = $(echo) compiling 95 113 else 96 114 fortran_silent = 97 fortran_echo = $(echo) 115 fortran_echo = $(echo) compiling 98 116 endif 99 117 100 118 ifdef JAVA_QUIET 101 119 java_silent = @ 102 java_echo = @/bin/echo rebuilding120 java_echo = $(echo) building 103 121 else 104 122 java_silent = 105 java_echo = $(echo) 123 java_echo = $(echo) building 106 124 endif 107 125 108 126 ifdef LINK_QUIET 109 127 link_silent = @ 110 link_echo = @/bin/echo rebuilding128 link_echo = $(echo) building 111 129 else 112 130 link_silent = 113 link_echo = $(echo) 131 link_echo = $(echo) building 114 132 endif 115 133 116 134 ifdef LIB_QUIET 117 135 lib_silent = @ 118 lib_echo = @/bin/echo rebuilding136 lib_echo = $(echo) building 119 137 else 120 138 lib_silent = 121 lib_echo = $(echo) 139 lib_echo = $(echo) building 122 140 endif 123 141 124 142 ifdef CLEANUP_QUIET 125 143 cleanup_silent = @ 126 cleanup_echo = @/bin/echo removing144 cleanup_echo = $(echo) removing 127 145 else 128 146 cleanup_silent = 129 cleanup_echo = $(echo) 147 cleanup_echo = $(echo) removing 148 endif 149 150 ifdef INSTALL_QUIET 151 install_silent = @ 152 install_echo = $(echo) installing 153 else 154 install_silent = 155 install_echo = $(echo) installing 156 endif 157 158 ifdef ECHO 159 echo = @: 160 endif 161 162 ifdef SILENT 163 echo = @: 130 164 endif 131 165 -
CMT/HEAD/src/Makefile.header
r434 r441 98 98 99 99 $(cmt_constituents_makefile) : $(cmt_local_tagfile) 100 @echo "------>(Makefile.header) Rebuilding $@"; \100 $(echo) "(Makefile.header) Rebuilding $@"; \ 101 101 if test ! -d $(@D) ; then $(mkdir) -p $(@D); fi; \ 102 102 $(cmtexe) -quiet -tag=$(tags) build constituents_makefile -out=$@; \ 103 103 retval=$$?; \ 104 104 if test $${retval} != 0; then \ 105 echo "#CMT> Error generating constituents makefile" >&2; \105 echo "#CMT> Error: $@: Cannot generate" >&2; \ 106 106 /bin/rm -f $@; fi; \ 107 107 exit $${retval} … … 112 112 $(cmt_local_tagfile) : 113 113 endif 114 @/bin/echo "------>(Makefile.header) Rebuilding $@"; \114 $(echo) "(Makefile.header) Rebuilding $@"; \ 115 115 if test -f $@; then rm -f $@; fi; \ 116 116 if test ! -d $(@D); then $(mkdir) -p $(@D); fi; \ 117 echo CMTCONFIG=$(CMTCONFIG) ; \ 118 $(cmtexe) -quiet -tag=$(tags) build tag_makefile >$@ \ 119 && /bin/echo $@ ok 117 $(cmtexe) -quiet -tag=$(tags) build tag_makefile >$@ 118 119 # && /bin/echo $@ ok 120 # $(echo) CMTCONFIG=$(CMTCONFIG) ; \ 121 # 120 122 121 123 #
Note: See TracChangeset
for help on using the changeset viewer.