Changeset 442 for CMT/HEAD/src/Makefile.core
- Timestamp:
- Feb 16, 2008, 1:29:38 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
CMT/HEAD/src/Makefile.core
r441 r442 41 41 # 42 42 43 ifndef CMTMSGHDR 44 CMTMSGHDR = \#CMT---> 43 # default settings 44 # o print CMT messages 45 # o do not echo Make commands 46 cmtmsg = 1 47 makecmd = 48 49 # parse all the switches 50 ifdef SILENT 51 cmtmsg = 52 makecmd = 45 53 endif 46 54 47 55 ifdef ECHO 48 VERBOSE = 1 56 cmtmsg = 57 makecmd = 1 49 58 endif 50 59 51 ifndef VERBOSE 52 QUIET = 1 60 ifdef QUIET 61 cmtmsg = 1 62 makecmd = 53 63 endif 54 64 55 ifdef SILENT 56 QUIET = 1 65 ifdef VERBOSE 66 cmtmsg = 1 67 makecmd = 1 68 endif 69 70 # set the relevant Make variables 71 ifndef CMTMSGHDR 72 CMTMSGHDR = \#CMT---> 73 export CMTMSGHDR 74 endif 75 76 ifdef cmtmsg 77 export cmtmsg 78 echo = @- echo "$(CMTMSGHDR)" 79 else 80 echo = @: 81 endif 82 83 ifdef makecmd 84 export makecmd 85 silent = 86 else 87 silent = @ 57 88 MAKEFLAGS += --silent 58 89 endif 59 90 60 ifdef QUIET61 LEX_QUIET = 162 YACC_QUIET = 163 C_QUIET = 164 CPP_QUIET = 165 FORTRAN_QUIET = 166 JAVA_QUIET = 167 LINK_QUIET = 168 LIB_QUIET = 169 CLEANUP_QUIET = 170 INSTALL_QUIET = 171 silent = @72 echo = @- echo "$(CMTMSGHDR)"73 else74 silent =75 echo = @- echo "$(CMTMSGHDR)"76 endif77 78 ifdef LEX_QUIET79 lex_silent = @80 91 lex_echo = $(echo) building 81 else 82 lex_silent = 83 lex_echo = $(echo) building 84 endif 85 86 ifdef YACC_QUIET 87 yacc_silent = @ 92 lex_silent = $(silent) 88 93 yacc_echo = $(echo) building 89 else 90 yacc_silent = 91 yacc_echo = $(echo) building 92 endif 93 94 ifdef C_QUIET 95 c_silent = @ 94 yacc_silent = $(silent) 96 95 c_echo = $(echo) compiling 97 else 98 c_silent = 99 c_echo = $(echo) compiling 100 endif 101 102 ifdef CPP_QUIET 103 cpp_silent = @ 96 c_silent = $(silent) 104 97 cpp_echo = $(echo) compiling 105 else 106 cpp_silent = 107 cpp_echo = $(echo) compiling 108 endif 109 110 ifdef FORTRAN_QUIET 111 fortran_silent = @ 98 cpp_silent = $(silent) 112 99 fortran_echo = $(echo) compiling 113 else 114 fortran_silent = 115 fortran_echo = $(echo) compiling 116 endif 117 118 ifdef JAVA_QUIET 119 java_silent = @ 100 fortran_silent = $(silent) 120 101 java_echo = $(echo) building 121 else 122 java_silent = 123 java_echo = $(echo) building 124 endif 125 126 ifdef LINK_QUIET 127 link_silent = @ 102 java_silent = $(silent) 128 103 link_echo = $(echo) building 129 else 130 link_silent = 131 link_echo = $(echo) building 132 endif 133 134 ifdef LIB_QUIET 135 lib_silent = @ 104 link_silent = $(silent) 136 105 lib_echo = $(echo) building 137 else 138 lib_silent = 139 lib_echo = $(echo) building 140 endif 141 142 ifdef CLEANUP_QUIET 143 cleanup_silent = @ 106 lib_silent = $(silent) 144 107 cleanup_echo = $(echo) removing 145 else 146 cleanup_silent = 147 cleanup_echo = $(echo) removing 148 endif 149 150 ifdef INSTALL_QUIET 151 install_silent = @ 108 cleanup_silent = $(silent) 152 109 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 = @: 164 endif 110 install_silent = $(silent) 111 # 112 # End of Controlling the verbosity of Make 113 #--------------------------------------------- 165 114 166 115 SHELL = /bin/sh
Note: See TracChangeset
for help on using the changeset viewer.