Ignore:
Timestamp:
Feb 16, 2008, 1:29:38 PM (16 years ago)
Author:
rybkin
Message:

See C.L. 346

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CMT/HEAD/src/Makefile.core

    r441 r442  
    4141#
    4242
    43 ifndef CMTMSGHDR
    44 CMTMSGHDR = \#CMT--->
     43# default settings
     44#   o print CMT messages
     45#   o do not echo Make commands
     46cmtmsg = 1
     47makecmd =
     48
     49# parse all the switches
     50ifdef SILENT
     51cmtmsg =
     52makecmd =
    4553endif
    4654
    4755ifdef ECHO
    48 VERBOSE = 1
     56cmtmsg =
     57makecmd = 1
    4958endif
    5059
    51 ifndef VERBOSE
    52 QUIET = 1
     60ifdef QUIET
     61cmtmsg = 1
     62makecmd =
    5363endif
    5464
    55 ifdef SILENT
    56 QUIET = 1
     65ifdef VERBOSE
     66cmtmsg = 1
     67makecmd = 1
     68endif
     69
     70# set the relevant Make variables
     71ifndef CMTMSGHDR
     72CMTMSGHDR = \#CMT--->
     73export CMTMSGHDR
     74endif
     75
     76ifdef cmtmsg
     77export cmtmsg
     78echo = @- echo "$(CMTMSGHDR)"
     79else
     80echo = @:
     81endif
     82
     83ifdef makecmd
     84export makecmd
     85silent =
     86else
     87silent = @
    5788MAKEFLAGS += --silent
    5889endif
    5990
    60 ifdef QUIET
    61 LEX_QUIET = 1
    62 YACC_QUIET = 1
    63 C_QUIET = 1
    64 CPP_QUIET = 1
    65 FORTRAN_QUIET = 1
    66 JAVA_QUIET = 1
    67 LINK_QUIET = 1
    68 LIB_QUIET = 1
    69 CLEANUP_QUIET = 1
    70 INSTALL_QUIET = 1
    71 silent = @
    72 echo = @- echo "$(CMTMSGHDR)"
    73 else
    74 silent =
    75 echo = @- echo "$(CMTMSGHDR)"
    76 endif
    77 
    78 ifdef LEX_QUIET
    79 lex_silent = @
    8091lex_echo = $(echo) building
    81 else
    82 lex_silent =
    83 lex_echo = $(echo) building
    84 endif
    85 
    86 ifdef YACC_QUIET
    87 yacc_silent = @
     92lex_silent = $(silent)
    8893yacc_echo = $(echo) building
    89 else
    90 yacc_silent =
    91 yacc_echo = $(echo) building
    92 endif
    93 
    94 ifdef C_QUIET
    95 c_silent = @
     94yacc_silent = $(silent)
    9695c_echo = $(echo) compiling
    97 else
    98 c_silent =
    99 c_echo = $(echo) compiling
    100 endif
    101 
    102 ifdef CPP_QUIET
    103 cpp_silent = @
     96c_silent = $(silent)
    10497cpp_echo = $(echo) compiling
    105 else
    106 cpp_silent =
    107 cpp_echo = $(echo) compiling
    108 endif
    109 
    110 ifdef FORTRAN_QUIET
    111 fortran_silent = @
     98cpp_silent = $(silent)
    11299fortran_echo = $(echo) compiling
    113 else
    114 fortran_silent =
    115 fortran_echo = $(echo) compiling
    116 endif
    117 
    118 ifdef JAVA_QUIET
    119 java_silent = @
     100fortran_silent = $(silent)
    120101java_echo = $(echo) building
    121 else
    122 java_silent =
    123 java_echo = $(echo) building
    124 endif
    125 
    126 ifdef LINK_QUIET
    127 link_silent = @
     102java_silent = $(silent)
    128103link_echo = $(echo) building
    129 else
    130 link_silent =
    131 link_echo = $(echo) building
    132 endif
    133 
    134 ifdef LIB_QUIET
    135 lib_silent = @
     104link_silent = $(silent)
    136105lib_echo = $(echo) building
    137 else
    138 lib_silent =
    139 lib_echo = $(echo) building
    140 endif
    141 
    142 ifdef CLEANUP_QUIET
    143 cleanup_silent = @
     106lib_silent = $(silent)
    144107cleanup_echo = $(echo) removing
    145 else
    146 cleanup_silent =
    147 cleanup_echo = $(echo) removing
    148 endif
    149 
    150 ifdef INSTALL_QUIET
    151 install_silent = @
     108cleanup_silent = $(silent)
    152109install_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
     110install_silent = $(silent)
     111#
     112# End of Controlling the verbosity of Make
     113#---------------------------------------------
    165114
    166115SHELL     = /bin/sh
Note: See TracChangeset for help on using the changeset viewer.