Changeset 79


Ignore:
Timestamp:
Aug 31, 2005, 3:01:38 PM (19 years ago)
Author:
arnault
Message:

Fixing session - see CL#275

Location:
CMT/HEAD
Files:
20 edited

Legend:

Unmodified
Added
Removed
  • CMT/HEAD/ChangeLog

    r78 r79  
     12005-08-31  Christian Arnault  <arnault@lal.in2p3.fr> 275
     2
     3        * mgr/fragments/constituent (uninstall): Protect against missing un/install targets
     4        * mgr/fragments/nmake/constituent (uninstall): Protect against missing un/install targets
     5
     6        * mgr/fragments/cmt_action_runner_header: Add install and uninstall dummy target
     7        * mgr/fragments/nmake/cmt_action_runner_header: Add install and uninstall dummy target
     8
     9        * mgr/cmt_uninstall_action.bat: [Fix] typo
     10
     11        * source/cmt_project.cxx (create_project): When create a parent-less project, link it to
     12        previous top project(s) and upgrade strategies
     13        (class VisitorForFillCMTPATH): [Fix] Should not add the path separator
     14
     15        * source/cmt_project.h (class Project): Add a function to ask if a project has parents
     16
     17        * source/cmt_include.cxx (parse): When expanding include, the use must be trasmitted to new includes
     18
     192005-08-30  Christian Arnault  <arnault@lal.in2p3.fr> 275
     20
     21        * source/cmt_parser.cxx (class StandardMacroBuilder): Parse all includes for Current use
     22
     23        * source/cmt_include.cxx: Do the parse_all operation in the context of one Use.
     24
     25        * source/cmt_include.h (class Include): Do the parse_all operation in the context of one Use.
     26
     27        * source/cmt_project.cxx (create): Return a boolean status to show success of the creation
     28
     29        * source/cmt_project.h (class Project): create function returns a boolean that
     30        describes if the creation was successful. In case of success the current directory
     31        is in the cmt directory of the project.
     32
     33        * source/cmt_system.cxx (scan_dir): Fix a bug
     34
     35        * source/cmt_deps_builder.cxx (build_deps_text): Fix state change when in single line comment
     36
    1372005-08-19  Christian Arnault  <arnault@lal.in2p3.fr> 274
    238
  • CMT/HEAD/mgr/cmt.nmake

    r48 r79  
    33#  Application cmt
    44#
    5 #   Generated Mon May 02 10:21:06 2005  by ARNAULT
     5#   Generated Wed Aug 31 14:53:11 2005  by carnault
    66#
    77#====================================
  • CMT/HEAD/mgr/cmt_build_deps.sh

    r28 r79  
    11
     2#===============================================================
     3#
     4# This shell script emulates the behaviour of the 'cmt buid dependencies' operation
     5# but using cpp -M instead
     6#
     7#===============================================================
    28
    3 function action ()
     9function compute_dependencies ()
    410{
    511  file=$1
    612
    7   suffix=`echo ${file} | sed -e 's#.*[.]##'`
     13  # Generate the expected format:
     14  #  one single line
     15  #  prefix is a make macro
     16  #  ends with a dependency to the stamp file
    817
    9   eval cpp -M ${incl} ${file}
     18  a=`eval cpp -M ${allflags} ${file} | \
     19    sed -e 's#[.]o:#_'"${suffix}"'_dependencies = #' -e 's#[\\]$##'`
    1020
    11   eval cpp -M ${incl} ${file} | \
    12     sed -e 's#[.]o:#_'"${suffix}"'_dependencies = #' | \
    13     egrep -v '(/usr/include|/usr/lib)' | eval sed ${e}
     21  if test ! `echo ${a} | wc -w` = "0"; then
     22    echo -n ${a}
     23  else
     24    echo -n "${file_name}_${suffix}_dependencies = ${file}"
     25  fi
     26
     27  echo " \$(bin)${constituent}_deps/${file_name}_${suffix}.stamp"
     28
     29  # create or update the stamp file
     30
     31  touch ${bin}/${constituent}_deps/${file_name}_${suffix}.stamp
    1432}
    1533
    16 use_includes=`cmt -quiet show macro use_includes | grep use_includes= | sed -e 's#use_includes=.##' -e 's#.$##'`
    17 includes=`cmt -quiet show macro includes | grep includes= | sed -e 's#$[(]use_includes[)]#'"${use_includes}"'#' -e 's#includes=.##' -e 's#.$##' -e 's#$(ppcmd)##g' -e 's#["]##g'`
     34#--------------------------------------------
     35macro_value ()
     36{
     37  name=$1
     38  shift
    1839
    19 tmp1=/tmp/A$$
    20 tmp2=/tmp/B$$
    21 tmp3=/tmp/C$$
     40  grep "^${name}=" ${tempmacros} | sed -e "s#^${name}=##"
     41}
    2242
    23 echo ${includes} >|${tmp1}
    24 cmt filter ${tmp1} ${tmp2}
     43#-----------------------------------------------------
     44# Pre-compute all configuration parameters from CMT queries
     45#-----------------------------------------------------
     46function prepare_context ()
     47{
     48  /bin/rm -f ${tempmacros}
     49  cmt -quiet build tag_makefile > ${tempmacros}
     50  cmt -quiet filter ${tempmacros} ${tempmacros}A; mv ${tempmacros}A ${tempmacros}
    2551
    26 a=`cat ${tmp1} | sed -e 's#[ ][ ]*# #g' -e 's#^[ ]##'`
    27 b=`cat ${tmp2} | sed -e 's#[ ][ ]*# #g' -e 's#^[ ]##'`
     52  # /bin/rm -f ${tempconstituents}
     53  # cmt -quiet show constituents > ${tempconstituents}
     54  # cmt -quiet filter ${tempconstituents} ${tempconstituents}A; mv ${tempconstituents}A ${tempconstituents}
     55}
    2856
    29 e=; i=1; for x in `echo ${a}`; do y=`echo $b | cut -d' ' -f${i}`; i=`expr ${i} + 1`; e="${e} -e 's#${y}#${x}#'"; done
     57#------------------------------------------------------------------------------------------
     58# Main
     59#
     60#  Expected arguments:
     61#    1    : <constituent name>
     62#    2    : -all_sources
     63#    3... : <source file list>
     64#
     65#------------------------------------------------------------------------------------------
    3066
    31 incl=; for f in `echo $includes | sed -e 's#[(]#{#g' -e 's#[)]#}#'`; do incl="${incl} -I${f}"; done
    32 echo e=$e
     67constituent=$1
     68shift
     69
     70all_sources=$1
     71shift
    3372
    3473files=$*
    3574
     75#---------------
     76# Prepare temporary file management
     77#
     78tempprefix=/tmp/CMT$$
     79if test ! "${TMP}" = ""; then
     80  tempprefix=${TMP}/CMT$$
     81fi
     82
     83tempmacros=${tempprefix}/macros$$
     84tempconstituents=${tempprefix}/constituents$$
     85
     86trap "if test -d ${tempprefix} ; then chmod -R +w ${tempprefix}; fi; /bin/rm -rf ${tempprefix}" 0 1 2 15
     87
     88if test -d ${tempprefix} ; then chmod -R +w ${tempprefix}; fi
     89/bin/rm -rf ${tempprefix}
     90mkdir -p ${tempprefix}
     91#---------------
     92
     93#---------------
     94# prepare the context from CMT
     95#
     96prepare_context
     97
     98incl=`macro_value includes`
     99
     100cflags=`macro_value cflags`
     101const_cflags=`macro_value ${constituent}_cflags`
     102const_pp_cflags=`macro_value ${constituent}_pp_cflags`
     103
     104cppflags=`macro_value cppflags`
     105const_cppflags=`macro_value ${constituent}_cppflags`
     106const_pp_cppflags=`macro_value ${constituent}_pp_cppflags`
     107
     108bin=`macro_value bin`
     109#--------------
     110
     111#--------------
     112# Prepare the directory for the stamp files
     113#
     114mkdir -p ${bin}/${constituent}_deps
     115#--------------
     116
     117#--------------
     118# Prepare the dependency file
     119#
     120output=${bin}${constituent}_dependencies.make
     121#--------------
     122
     123#--------------
     124# Loop over source files (if any)
     125#
    36126for f in `echo ${files}`; do
    37   action ${f}
     127  suffix=`echo ${f} | sed -e 's#.*[.]##'`
     128  file_name=`basename ${f} .${suffix}`
     129
     130  # First remove the old dependency line from the output
     131
     132  if test -f ${output}; then
     133    grep -v "${file_name}_${suffix}_dependencies" ${output} >t$$; mv t$$ ${output}
     134  fi
     135
     136  echo "computing dependencies for ${file_name}.${suffix}"
     137
     138  case ${suffix} in
     139    c ) allflags="${incl} ${cflags} ${const_cflags} ${const_cpp_cflags}";;
     140    C|cc|cxx|cpp ) allflags="${incl} ${cppflags} ${const_cppflags} ${const_cpp_cppflags}";;
     141  esac
     142
     143  echo "cpp -M ${allflags} ${f}"
     144
     145  compute_dependencies ${f} >>${output}
    38146done
     147#--------------
    39148
    40149
     150
  • CMT/HEAD/mgr/cmt_dependencies.make

    r78 r79  
    1 cmt_cxx_dependencies =  ../source/cmt.cxx
    2 cmt_awk_cxx_dependencies =  ../source/cmt_awk.cxx   ../source/cmt_string.h   ../source/cmt_vector.h   ../source/cmt_regexp.h   ../source/cmt_system.h
    3 cmt_branch_cxx_dependencies =  ../source/cmt_branch.cxx   ../source/cmt_string.h   ../source/cmt_vector.h   ../source/cmt_regexp.h   ../source/cmt_system.h   ../source/cmt_branch.h   ../source/cmt_fragment.h   ../source/cmt_group.h   ../source/cmt_constituent.h   ../source/cmt_language.h   ../source/cmt_std.h   ../source/cmt.h   ../source/cmt_parser.h   ../source/cmt_pattern.h   ../source/cmt_include.h   ../source/cmt_script.h   ../source/cmt_scope_section.h   ../source/cmt_use.h   ../source/cmt_map.h   ../source/cmt_symbol.h   ../source/cmt_awk.h   ../source/cmt_project.h   ../source/cmt_cmtpath_pattern.h   ../source/cmt_database.h
    4 cmt_constituent_cxx_dependencies =  ../source/cmt_constituent.cxx   ../source/cmt_string.h   ../source/cmt_vector.h   ../source/cmt_regexp.h   ../source/cmt_system.h   ../source/cmt_fragment.h   ../source/cmt_group.h   ../source/cmt_constituent.h   ../source/cmt_language.h   ../source/cmt_awk.h   ../source/cmt_deps_builder.h   ../source/cmt_generator.h   ../source/cmt_branch.h   ../source/cmt_std.h   ../source/cmt.h   ../source/cmt_parser.h   ../source/cmt_pattern.h   ../source/cmt_include.h   ../source/cmt_script.h   ../source/cmt_scope_section.h   ../source/cmt_use.h   ../source/cmt_map.h   ../source/cmt_symbol.h   ../source/cmt_project.h   ../source/cmt_cmtpath_pattern.h   ../source/cmt_database.h
    5 cmt_deps_builder_cxx_dependencies =  ../source/cmt_deps_builder.cxx   ../source/cmt_string.h   ../source/cmt_vector.h   ../source/cmt_regexp.h   ../source/cmt_system.h   ../source/cmt_include.h   ../source/cmt_script.h   ../source/cmt_std.h   ../source/cmt.h   ../source/cmt_parser.h   ../source/cmt_pattern.h   ../source/cmt_scope_section.h   ../source/cmt_use.h   ../source/cmt_map.h   ../source/cmt_symbol.h   ../source/cmt_log.h
    6 cmt_fragment_cxx_dependencies =  ../source/cmt_fragment.cxx   ../source/cmt_string.h   ../source/cmt_vector.h   ../source/cmt_regexp.h   ../source/cmt_system.h   ../source/cmt_include.h   ../source/cmt_script.h   ../source/cmt_std.h   ../source/cmt.h   ../source/cmt_parser.h   ../source/cmt_pattern.h   ../source/cmt_scope_section.h   ../source/cmt_use.h   ../source/cmt_map.h   ../source/cmt_symbol.h   ../source/cmt_branch.h   ../source/cmt_fragment.h   ../source/cmt_group.h   ../source/cmt_constituent.h   ../source/cmt_language.h   ../source/cmt_awk.h   ../source/cmt_project.h   ../source/cmt_cmtpath_pattern.h   ../source/cmt_database.h
    7 cmt_generator_cxx_dependencies =  ../source/cmt_generator.cxx   ../source/cmt_string.h   ../source/cmt_vector.h   ../source/cmt_regexp.h   ../source/cmt_system.h   ../source/cmt_include.h   ../source/cmt_script.h   ../source/cmt_std.h   ../source/cmt.h   ../source/cmt_parser.h   ../source/cmt_pattern.h   ../source/cmt_scope_section.h   ../source/cmt_use.h   ../source/cmt_map.h   ../source/cmt_symbol.h   ../source/cmt_fragment.h   ../source/cmt_group.h   ../source/cmt_constituent.h   ../source/cmt_language.h   ../source/cmt_awk.h   ../source/cmt_deps_builder.h   ../source/cmt_generator.h   ../source/cmt_generators.h
    8 cmt_include_cxx_dependencies =  ../source/cmt_include.cxx   ../source/cmt_string.h   ../source/cmt_vector.h   ../source/cmt_regexp.h   ../source/cmt_system.h   ../source/cmt_include.h   ../source/cmt_script.h   ../source/cmt_std.h   ../source/cmt.h   ../source/cmt_parser.h   ../source/cmt_pattern.h   ../source/cmt_scope_section.h   ../source/cmt_use.h   ../source/cmt_map.h   ../source/cmt_symbol.h
    9 cmt_parser_cxx_dependencies =  ../source/cmt_parser.cxx   ../source/cmt_version.h   ../source/cmt_string.h   ../source/cmt_vector.h   ../source/cmt_regexp.h   ../source/cmt_system.h   ../source/cmt_branch.h   ../source/cmt_fragment.h   ../source/cmt_group.h   ../source/cmt_constituent.h   ../source/cmt_language.h   ../source/cmt_std.h   ../source/cmt.h   ../source/cmt_parser.h   ../source/cmt_pattern.h   ../source/cmt_include.h   ../source/cmt_script.h   ../source/cmt_scope_section.h   ../source/cmt_use.h   ../source/cmt_map.h   ../source/cmt_symbol.h   ../source/cmt_awk.h   ../source/cmt_project.h   ../source/cmt_cmtpath_pattern.h   ../source/cmt_database.h   ../source/cmt_deps_builder.h   ../source/cmt_generator.h   ../source/cmt_error.h   ../source/cmt_cvs.h   ../source/cmt_lock.h   ../source/cmt_triggers.h   ../source/cmt_model.h   ../source/cmt_syntax.h   ../source/cmt_install_area.h   ../source/cmt_sequence.h   ../source/cmt_log.h   ../source/cmt_commands.h
    10 cmt_script_cxx_dependencies =  ../source/cmt_script.cxx   ../source/cmt_string.h   ../source/cmt_vector.h   ../source/cmt_regexp.h   ../source/cmt_system.h   ../source/cmt_include.h   ../source/cmt_script.h   ../source/cmt_std.h   ../source/cmt.h   ../source/cmt_parser.h   ../source/cmt_pattern.h   ../source/cmt_scope_section.h   ../source/cmt_use.h
    11 cmt_string_cxx_dependencies =  ../source/cmt_string.cxx   ../source/cmt_string.h
    12 cmt_system_cxx_dependencies =  ../source/cmt_system.cxx   ../source/cmt_string.h   ../source/cmt_error.h
    13 cmt_tag_cxx_dependencies =  ../source/cmt_tag.cxx   ../source/cmt_string.h   ../source/cmt_vector.h   ../source/cmt_regexp.h   ../source/cmt_system.h   ../source/cmt_branch.h   ../source/cmt_fragment.h   ../source/cmt_group.h   ../source/cmt_constituent.h   ../source/cmt_language.h   ../source/cmt_std.h   ../source/cmt.h   ../source/cmt_parser.h   ../source/cmt_pattern.h   ../source/cmt_include.h   ../source/cmt_script.h   ../source/cmt_scope_section.h   ../source/cmt_use.h   ../source/cmt_map.h   ../source/cmt_symbol.h   ../source/cmt_awk.h   ../source/cmt_project.h   ../source/cmt_cmtpath_pattern.h   ../source/cmt_database.h   ../source/cmt_log.h
    14 cmt_use_cxx_dependencies =  ../source/cmt_use.cxx   ../source/cmt_string.h   ../source/cmt_vector.h   ../source/cmt_regexp.h   ../source/cmt_system.h   ../source/cmt_include.h   ../source/cmt_script.h   ../source/cmt_std.h   ../source/cmt.h   ../source/cmt_parser.h   ../source/cmt_pattern.h   ../source/cmt_scope_section.h   ../source/cmt_use.h   ../source/cmt_map.h   ../source/cmt_symbol.h   ../source/cmt_error.h   ../source/cmt_branch.h   ../source/cmt_fragment.h   ../source/cmt_group.h   ../source/cmt_constituent.h   ../source/cmt_language.h   ../source/cmt_awk.h   ../source/cmt_project.h   ../source/cmt_cmtpath_pattern.h   ../source/cmt_database.h   ../source/cmt_syntax.h
    15 cmt_symbol_cxx_dependencies =  ../source/cmt_symbol.cxx   ../source/cmt_string.h   ../source/cmt_vector.h   ../source/cmt_regexp.h   ../source/cmt_system.h   ../source/cmt_include.h   ../source/cmt_script.h   ../source/cmt_std.h   ../source/cmt.h   ../source/cmt_parser.h   ../source/cmt_pattern.h   ../source/cmt_scope_section.h   ../source/cmt_use.h   ../source/cmt_map.h   ../source/cmt_symbol.h   ../source/cmt_branch.h   ../source/cmt_fragment.h   ../source/cmt_group.h   ../source/cmt_constituent.h   ../source/cmt_language.h   ../source/cmt_awk.h   ../source/cmt_project.h   ../source/cmt_cmtpath_pattern.h   ../source/cmt_database.h
    16 cmt_error_cxx_dependencies =  ../source/cmt_error.cxx   ../source/cmt_vector.h
    17 cmt_pattern_cxx_dependencies =  ../source/cmt_pattern.cxx   ../source/cmt_std.h   ../source/cmt_string.h   ../source/cmt_vector.h   ../source/cmt_regexp.h   ../source/cmt_system.h   ../source/cmt.h   ../source/cmt_parser.h   ../source/cmt_pattern.h   ../source/cmt_include.h   ../source/cmt_script.h   ../source/cmt_scope_section.h   ../source/cmt_use.h   ../source/cmt_branch.h   ../source/cmt_fragment.h   ../source/cmt_group.h   ../source/cmt_constituent.h   ../source/cmt_language.h   ../source/cmt_map.h   ../source/cmt_symbol.h   ../source/cmt_awk.h   ../source/cmt_project.h   ../source/cmt_cmtpath_pattern.h   ../source/cmt_database.h   ../source/cmt_error.h   ../source/cmt_syntax.h
    18 cmt_language_cxx_dependencies =  ../source/cmt_language.cxx   ../source/cmt_string.h   ../source/cmt_vector.h   ../source/cmt_regexp.h   ../source/cmt_system.h   ../source/cmt_branch.h   ../source/cmt_fragment.h   ../source/cmt_group.h   ../source/cmt_constituent.h   ../source/cmt_language.h   ../source/cmt_std.h   ../source/cmt.h   ../source/cmt_parser.h   ../source/cmt_pattern.h   ../source/cmt_include.h   ../source/cmt_script.h   ../source/cmt_scope_section.h   ../source/cmt_use.h   ../source/cmt_map.h   ../source/cmt_symbol.h   ../source/cmt_awk.h   ../source/cmt_project.h   ../source/cmt_cmtpath_pattern.h   ../source/cmt_database.h
    19 cmt_cvs_cxx_dependencies =  ../source/cmt_cvs.cxx   ../source/cmt_cvs.h   ../source/cmt_string.h   ../source/cmt_regexp.h   ../source/cmt_awk.h   ../source/cmt_vector.h   ../source/cmt_system.h   ../source/cmt_include.h   ../source/cmt_script.h   ../source/cmt_std.h   ../source/cmt.h   ../source/cmt_parser.h   ../source/cmt_pattern.h   ../source/cmt_scope_section.h   ../source/cmt_use.h   ../source/cmt_map.h   ../source/cmt_symbol.h   ../source/cmt_project.h
    20 cmt_group_cxx_dependencies =  ../source/cmt_group.cxx   ../source/cmt_string.h   ../source/cmt_vector.h   ../source/cmt_regexp.h   ../source/cmt_system.h   ../source/cmt_branch.h   ../source/cmt_fragment.h   ../source/cmt_group.h   ../source/cmt_constituent.h   ../source/cmt_language.h   ../source/cmt_std.h   ../source/cmt.h   ../source/cmt_parser.h   ../source/cmt_pattern.h   ../source/cmt_include.h   ../source/cmt_script.h   ../source/cmt_scope_section.h   ../source/cmt_use.h   ../source/cmt_map.h   ../source/cmt_symbol.h   ../source/cmt_awk.h   ../source/cmt_project.h   ../source/cmt_cmtpath_pattern.h   ../source/cmt_database.h
    21 cmt_database_cxx_dependencies =  ../source/cmt_database.cxx   ../source/cmt_vector.h
    22 cmt_lock_cxx_dependencies =  ../source/cmt_lock.cxx   ../source/cmt_lock.h   ../source/cmt_string.h   ../source/cmt_vector.h   ../source/cmt_regexp.h   ../source/cmt_system.h   ../source/cmt_error.h   ../source/cmt_include.h   ../source/cmt_script.h   ../source/cmt_std.h   ../source/cmt.h   ../source/cmt_parser.h   ../source/cmt_pattern.h   ../source/cmt_scope_section.h   ../source/cmt_use.h   ../source/cmt_map.h   ../source/cmt_symbol.h
    23 cmt_triggers_cxx_dependencies =  ../source/cmt_triggers.cxx   ../source/cmt_string.h   ../source/cmt_triggers.h   ../source/cmt_std.h   ../source/cmt_vector.h   ../source/cmt_regexp.h   ../source/cmt_system.h   ../source/cmt_awk.h   ../source/cmt_include.h   ../source/cmt_script.h   ../source/cmt.h   ../source/cmt_parser.h   ../source/cmt_pattern.h   ../source/cmt_scope_section.h   ../source/cmt_use.h   ../source/cmt_map.h   ../source/cmt_symbol.h   ../source/cmt_fragment.h   ../source/cmt_group.h   ../source/cmt_constituent.h   ../source/cmt_project.h   ../source/cmt_syntax.h
    24 cmt_regexp_cxx_dependencies =  ../source/cmt_regexp.cxx   ../source/cmt_regexp.h   ../source/cmt_vector.h   ../source/cmt_string.h   ../source/cmt_system.h
    25 cmt_model_cxx_dependencies =  ../source/cmt_model.cxx   ../source/cmt_string.h   ../source/cmt_vector.h   ../source/cmt_regexp.h   ../source/cmt_system.h   ../source/cmt_fragment.h   ../source/cmt_include.h   ../source/cmt_script.h   ../source/cmt_std.h   ../source/cmt.h   ../source/cmt_parser.h   ../source/cmt_pattern.h   ../source/cmt_scope_section.h   ../source/cmt_use.h   ../source/cmt_map.h   ../source/cmt_symbol.h
    26 cmt_project_cxx_dependencies =  ../source/cmt_project.cxx   ../source/cmt_string.h   ../source/cmt_vector.h   ../source/cmt_regexp.h   ../source/cmt_system.h   ../source/cmt_branch.h   ../source/cmt_fragment.h   ../source/cmt_group.h   ../source/cmt_constituent.h   ../source/cmt_language.h   ../source/cmt_std.h   ../source/cmt.h   ../source/cmt_parser.h   ../source/cmt_pattern.h   ../source/cmt_include.h   ../source/cmt_script.h   ../source/cmt_scope_section.h   ../source/cmt_use.h   ../source/cmt_map.h   ../source/cmt_symbol.h   ../source/cmt_awk.h   ../source/cmt_project.h   ../source/cmt_cmtpath_pattern.h   ../source/cmt_database.h   ../source/cmt_syntax.h   ../source/cmt_tag.h   ../source/cmt_error.h
    27 cmt_syntax_cxx_dependencies =  ../source/cmt_syntax.cxx   ../source/cmt_string.h   ../source/cmt_vector.h   ../source/cmt_regexp.h   ../source/cmt_system.h   ../source/cmt.h   ../source/cmt_include.h   ../source/cmt_script.h   ../source/cmt_std.h   ../source/cmt_parser.h   ../source/cmt_pattern.h   ../source/cmt_scope_section.h   ../source/cmt_use.h   ../source/cmt_map.h   ../source/cmt_symbol.h   ../source/cmt_fragment.h   ../source/cmt_group.h   ../source/cmt_constituent.h   ../source/cmt_error.h   ../source/cmt_branch.h   ../source/cmt_language.h   ../source/cmt_awk.h   ../source/cmt_project.h   ../source/cmt_cmtpath_pattern.h
    28 cmt_install_area_cxx_dependencies =  ../source/cmt_install_area.cxx   ../source/cmt_string.h   ../source/cmt_vector.h   ../source/cmt_regexp.h   ../source/cmt_system.h   ../source/cmt.h   ../source/cmt_install_area.h   ../source/cmt_include.h   ../source/cmt_script.h   ../source/cmt_std.h   ../source/cmt_parser.h   ../source/cmt_pattern.h   ../source/cmt_scope_section.h   ../source/cmt_use.h   ../source/cmt_awk.h   ../source/cmt_project.h   ../source/cmt_syntax.h   ../source/cmt_map.h   ../source/cmt_symbol.h   ../source/cmt_cmtpath_pattern.h
    29 cmt_cmtpath_pattern_cxx_dependencies =  ../source/cmt_cmtpath_pattern.cxx   ../source/cmt_cmtpath_pattern.h   ../source/cmt_string.h   ../source/cmt_vector.h   ../source/cmt_regexp.h   ../source/cmt_system.h   ../source/cmt_include.h   ../source/cmt_script.h   ../source/cmt_std.h   ../source/cmt.h   ../source/cmt_parser.h   ../source/cmt_pattern.h   ../source/cmt_scope_section.h   ../source/cmt_use.h   ../source/cmt_awk.h   ../source/cmt_project.h   ../source/cmt_syntax.h
    30 cmt_sequence_cxx_dependencies =  ../source/cmt_sequence.cxx   ../source/cmt_string.h   ../source/cmt_vector.h   ../source/cmt_regexp.h   ../source/cmt_system.h
    31 cmt_generators_cxx_dependencies =  ../source/cmt_generators.cxx   ../source/cmt_string.h   ../source/cmt_regexp.h   ../source/cmt_awk.h   ../source/cmt_vector.h   ../source/cmt_system.h   ../source/cmt_include.h   ../source/cmt_script.h   ../source/cmt_std.h   ../source/cmt.h   ../source/cmt_parser.h   ../source/cmt_pattern.h   ../source/cmt_scope_section.h   ../source/cmt_use.h   ../source/cmt_map.h   ../source/cmt_symbol.h   ../source/cmt_log.h
    32 cmt_scope_section_cxx_dependencies =  ../source/cmt_scope_section.cxx
    33 cmt_log_cxx_dependencies =  ../source/cmt_log.cxx   ../source/cmt_log.h   ../source/cmt_string.h   ../source/cmt_vector.h   ../source/cmt_regexp.h   ../source/cmt_system.h   ../source/cmt.h
    34 cmt_commands_cxx_dependencies =  ../source/cmt_commands.cxx   ../source/cmt_string.h   ../source/cmt_vector.h   ../source/cmt_regexp.h   ../source/cmt_system.h   ../source/cmt_include.h   ../source/cmt_script.h   ../source/cmt_std.h   ../source/cmt.h   ../source/cmt_parser.h   ../source/cmt_pattern.h   ../source/cmt_scope_section.h   ../source/cmt_use.h   ../source/cmt_map.h   ../source/cmt_tag.h   ../source/cmt_symbol.h   ../source/cmt_awk.h   ../source/cmt_project.h
     1cmt_cxx_dependencies =  ../source/cmt.cxx   ../source/cmt_std.h   ../source/cmt_string.h   ../source/cmt_vector.h   ../source/cmt_parser.h   ../source/cmt_regexp.h   ../source/cmt_system.h   ../source/cmt.h
     2cmt_awk_cxx_dependencies =  ../source/cmt_awk.cxx   ../source/cmt_std.h   ../source/cmt_string.h   ../source/cmt_regexp.h   ../source/cmt_awk.h   ../source/cmt_vector.h   ../source/cmt_system.h
     3cmt_branch_cxx_dependencies =  ../source/cmt_branch.cxx   ../source/cmt_std.h   ../source/cmt_string.h   ../source/cmt_vector.h   ../source/cmt_regexp.h   ../source/cmt_system.h   ../source/cmt.h   ../source/cmt_parser.h   ../source/cmt_branch.h   ../source/cmt_fragment.h   ../source/cmt_group.h   ../source/cmt_constituent.h   ../source/cmt_language.h   ../source/cmt_map.h   ../source/cmt_pattern.h   ../source/cmt_include.h   ../source/cmt_script.h   ../source/cmt_scope_section.h   ../source/cmt_use.h   ../source/cmt_tag.h   ../source/cmt_symbol.h   ../source/cmt_awk.h   ../source/cmt_project.h   ../source/cmt_cmtpath_pattern.h   ../source/cmt_database.h
     4cmt_constituent_cxx_dependencies =  ../source/cmt_constituent.cxx   ../source/cmt_std.h   ../source/cmt_string.h   ../source/cmt_vector.h   ../source/cmt_regexp.h   ../source/cmt_system.h   ../source/cmt.h   ../source/cmt_parser.h   ../source/cmt_fragment.h   ../source/cmt_group.h   ../source/cmt_constituent.h   ../source/cmt_language.h   ../source/cmt_awk.h   ../source/cmt_deps_builder.h   ../source/cmt_generator.h   ../source/cmt_branch.h   ../source/cmt_map.h   ../source/cmt_pattern.h   ../source/cmt_include.h   ../source/cmt_script.h   ../source/cmt_scope_section.h   ../source/cmt_use.h   ../source/cmt_tag.h   ../source/cmt_symbol.h   ../source/cmt_project.h   ../source/cmt_cmtpath_pattern.h   ../source/cmt_database.h
     5cmt_deps_builder_cxx_dependencies =  ../source/cmt_deps_builder.cxx   ../source/cmt_std.h   ../source/cmt_string.h   ../source/cmt_vector.h   ../source/cmt_parser.h   ../source/cmt_regexp.h   ../source/cmt_system.h   ../source/cmt.h   ../source/cmt_deps_builder.h   ../source/cmt_map.h   ../source/cmt_include.h   ../source/cmt_script.h   ../source/cmt_pattern.h   ../source/cmt_scope_section.h   ../source/cmt_use.h   ../source/cmt_tag.h   ../source/cmt_symbol.h   ../source/cmt_log.h
     6cmt_fragment_cxx_dependencies =  ../source/cmt_fragment.cxx   ../source/cmt_std.h   ../source/cmt_string.h   ../source/cmt_vector.h   ../source/cmt_regexp.h   ../source/cmt_system.h   ../source/cmt.h   ../source/cmt_parser.h   ../source/cmt_fragment.h   ../source/cmt_map.h   ../source/cmt_include.h   ../source/cmt_script.h   ../source/cmt_pattern.h   ../source/cmt_scope_section.h   ../source/cmt_use.h   ../source/cmt_tag.h   ../source/cmt_symbol.h   ../source/cmt_branch.h   ../source/cmt_group.h   ../source/cmt_constituent.h   ../source/cmt_language.h   ../source/cmt_awk.h   ../source/cmt_project.h   ../source/cmt_cmtpath_pattern.h   ../source/cmt_database.h
     7cmt_generator_cxx_dependencies =  ../source/cmt_generator.cxx   ../source/cmt_std.h   ../source/cmt_string.h   ../source/cmt_vector.h   ../source/cmt_regexp.h   ../source/cmt_system.h   ../source/cmt.h   ../source/cmt_parser.h   ../source/cmt_fragment.h   ../source/cmt_group.h   ../source/cmt_constituent.h   ../source/cmt_language.h   ../source/cmt_awk.h   ../source/cmt_deps_builder.h   ../source/cmt_generator.h   ../source/cmt_map.h   ../source/cmt_include.h   ../source/cmt_script.h   ../source/cmt_pattern.h   ../source/cmt_scope_section.h   ../source/cmt_use.h   ../source/cmt_tag.h   ../source/cmt_symbol.h   ../source/cmt_generators.h
     8cmt_include_cxx_dependencies =  ../source/cmt_include.cxx   ../source/cmt_std.h   ../source/cmt_string.h   ../source/cmt_vector.h   ../source/cmt_regexp.h   ../source/cmt_system.h   ../source/cmt.h   ../source/cmt_parser.h   ../source/cmt_include.h   ../source/cmt_map.h   ../source/cmt_script.h   ../source/cmt_pattern.h   ../source/cmt_scope_section.h   ../source/cmt_use.h   ../source/cmt_tag.h   ../source/cmt_symbol.h   ../source/cmt_log.h
     9cmt_parser_cxx_dependencies =  ../source/cmt_parser.cxx   ../source/cmt_std.h   ../source/cmt_string.h   ../source/cmt_vector.h   ../source/cmt_regexp.h   ../source/cmt_system.h   ../source/cmt.h   ../source/cmt_parser.h   ../source/cmt_version.h   ../source/cmt_branch.h   ../source/cmt_fragment.h   ../source/cmt_group.h   ../source/cmt_constituent.h   ../source/cmt_language.h   ../source/cmt_map.h   ../source/cmt_pattern.h   ../source/cmt_include.h   ../source/cmt_script.h   ../source/cmt_scope_section.h   ../source/cmt_use.h   ../source/cmt_tag.h   ../source/cmt_symbol.h   ../source/cmt_awk.h   ../source/cmt_project.h   ../source/cmt_cmtpath_pattern.h   ../source/cmt_database.h   ../source/cmt_deps_builder.h   ../source/cmt_generator.h   ../source/cmt_error.h   ../source/cmt_cvs.h   ../source/cmt_lock.h   ../source/cmt_triggers.h   ../source/cmt_model.h   ../source/cmt_syntax.h   ../source/cmt_install_area.h   ../source/cmt_sequence.h   ../source/cmt_log.h   ../source/cmt_commands.h
     10cmt_script_cxx_dependencies =  ../source/cmt_script.cxx   ../source/cmt_std.h   ../source/cmt_string.h   ../source/cmt_vector.h   ../source/cmt_regexp.h   ../source/cmt_system.h   ../source/cmt.h   ../source/cmt_parser.h   ../source/cmt_script.h   ../source/cmt_map.h   ../source/cmt_include.h   ../source/cmt_pattern.h   ../source/cmt_scope_section.h   ../source/cmt_use.h
     11cmt_string_cxx_dependencies =  ../source/cmt_string.cxx   ../source/cmt_std.h   ../source/cmt_string.h
     12cmt_system_cxx_dependencies =  ../source/cmt_system.cxx   ../source/cmt_std.h   ../source/cmt_string.h   ../source/cmt_vector.h   ../source/cmt_regexp.h   ../source/cmt_system.h   ../source/cmt_error.h
     13cmt_tag_cxx_dependencies =  ../source/cmt_tag.cxx   ../source/cmt_std.h   ../source/cmt_string.h   ../source/cmt_vector.h   ../source/cmt_regexp.h   ../source/cmt_system.h   ../source/cmt.h   ../source/cmt_parser.h   ../source/cmt_map.h   ../source/cmt_include.h   ../source/cmt_script.h   ../source/cmt_pattern.h   ../source/cmt_scope_section.h   ../source/cmt_use.h   ../source/cmt_tag.h   ../source/cmt_branch.h   ../source/cmt_fragment.h   ../source/cmt_group.h   ../source/cmt_constituent.h   ../source/cmt_language.h   ../source/cmt_symbol.h   ../source/cmt_awk.h   ../source/cmt_project.h   ../source/cmt_cmtpath_pattern.h   ../source/cmt_database.h   ../source/cmt_log.h
     14cmt_use_cxx_dependencies =  ../source/cmt_use.cxx   ../source/cmt_std.h   ../source/cmt_string.h   ../source/cmt_vector.h   ../source/cmt_map.h   ../source/cmt_regexp.h   ../source/cmt_system.h   ../source/cmt.h   ../source/cmt_parser.h   ../source/cmt_include.h   ../source/cmt_script.h   ../source/cmt_pattern.h   ../source/cmt_scope_section.h   ../source/cmt_use.h   ../source/cmt_tag.h   ../source/cmt_symbol.h   ../source/cmt_error.h   ../source/cmt_branch.h   ../source/cmt_fragment.h   ../source/cmt_group.h   ../source/cmt_constituent.h   ../source/cmt_language.h   ../source/cmt_awk.h   ../source/cmt_project.h   ../source/cmt_cmtpath_pattern.h   ../source/cmt_database.h   ../source/cmt_syntax.h
     15cmt_symbol_cxx_dependencies =  ../source/cmt_symbol.cxx   ../source/cmt_std.h   ../source/cmt_string.h   ../source/cmt_vector.h   ../source/cmt_map.h   ../source/cmt_regexp.h   ../source/cmt_system.h   ../source/cmt.h   ../source/cmt_parser.h   ../source/cmt_include.h   ../source/cmt_script.h   ../source/cmt_pattern.h   ../source/cmt_scope_section.h   ../source/cmt_use.h   ../source/cmt_tag.h   ../source/cmt_symbol.h   ../source/cmt_branch.h   ../source/cmt_fragment.h   ../source/cmt_group.h   ../source/cmt_constituent.h   ../source/cmt_language.h   ../source/cmt_awk.h   ../source/cmt_project.h   ../source/cmt_cmtpath_pattern.h   ../source/cmt_database.h
     16cmt_error_cxx_dependencies =  ../source/cmt_error.cxx   ../source/cmt_std.h   ../source/cmt_string.h   ../source/cmt_error.h   ../source/cmt_vector.h
     17cmt_pattern_cxx_dependencies =  ../source/cmt_pattern.cxx   ../source/cmt_std.h   ../source/cmt_string.h   ../source/cmt_vector.h   ../source/cmt_parser.h   ../source/cmt_regexp.h   ../source/cmt_system.h   ../source/cmt.h   ../source/cmt_map.h   ../source/cmt_pattern.h   ../source/cmt_include.h   ../source/cmt_script.h   ../source/cmt_scope_section.h   ../source/cmt_use.h   ../source/cmt_branch.h   ../source/cmt_fragment.h   ../source/cmt_group.h   ../source/cmt_constituent.h   ../source/cmt_language.h   ../source/cmt_tag.h   ../source/cmt_symbol.h   ../source/cmt_awk.h   ../source/cmt_project.h   ../source/cmt_cmtpath_pattern.h   ../source/cmt_database.h   ../source/cmt_error.h   ../source/cmt_syntax.h
     18cmt_language_cxx_dependencies =  ../source/cmt_language.cxx   ../source/cmt_std.h   ../source/cmt_string.h   ../source/cmt_vector.h   ../source/cmt_regexp.h   ../source/cmt_system.h   ../source/cmt.h   ../source/cmt_parser.h   ../source/cmt_fragment.h   ../source/cmt_language.h   ../source/cmt_branch.h   ../source/cmt_group.h   ../source/cmt_constituent.h   ../source/cmt_map.h   ../source/cmt_pattern.h   ../source/cmt_include.h   ../source/cmt_script.h   ../source/cmt_scope_section.h   ../source/cmt_use.h   ../source/cmt_tag.h   ../source/cmt_symbol.h   ../source/cmt_awk.h   ../source/cmt_project.h   ../source/cmt_cmtpath_pattern.h   ../source/cmt_database.h
     19cmt_cvs_cxx_dependencies =  ../source/cmt_cvs.cxx   ../source/cmt_std.h   ../source/cmt_string.h   ../source/cmt_vector.h   ../source/cmt_parser.h   ../source/cmt_regexp.h   ../source/cmt_system.h   ../source/cmt.h   ../source/cmt_cvs.h   ../source/cmt_awk.h   ../source/cmt_map.h   ../source/cmt_include.h   ../source/cmt_script.h   ../source/cmt_pattern.h   ../source/cmt_scope_section.h   ../source/cmt_use.h   ../source/cmt_tag.h   ../source/cmt_symbol.h   ../source/cmt_project.h
     20cmt_group_cxx_dependencies =  ../source/cmt_group.cxx   ../source/cmt_std.h   ../source/cmt_string.h   ../source/cmt_vector.h   ../source/cmt_regexp.h   ../source/cmt_system.h   ../source/cmt.h   ../source/cmt_parser.h   ../source/cmt_group.h   ../source/cmt_branch.h   ../source/cmt_fragment.h   ../source/cmt_constituent.h   ../source/cmt_language.h   ../source/cmt_map.h   ../source/cmt_pattern.h   ../source/cmt_include.h   ../source/cmt_script.h   ../source/cmt_scope_section.h   ../source/cmt_use.h   ../source/cmt_tag.h   ../source/cmt_symbol.h   ../source/cmt_awk.h   ../source/cmt_project.h   ../source/cmt_cmtpath_pattern.h   ../source/cmt_database.h
     21cmt_database_cxx_dependencies =  ../source/cmt_database.cxx   ../source/cmt_vector.h   ../source/cmt_std.h   ../source/cmt_string.h   ../source/cmt_regexp.h   ../source/cmt_system.h   ../source/cmt.h   ../source/cmt_parser.h   ../source/cmt_branch.h   ../source/cmt_fragment.h   ../source/cmt_group.h   ../source/cmt_constituent.h   ../source/cmt_language.h   ../source/cmt_map.h   ../source/cmt_pattern.h   ../source/cmt_include.h   ../source/cmt_script.h   ../source/cmt_scope_section.h   ../source/cmt_use.h   ../source/cmt_tag.h   ../source/cmt_symbol.h   ../source/cmt_awk.h   ../source/cmt_project.h   ../source/cmt_cmtpath_pattern.h   ../source/cmt_database.h
     22cmt_lock_cxx_dependencies =  ../source/cmt_lock.cxx   ../source/cmt_std.h   ../source/cmt_lock.h   ../source/cmt_string.h   ../source/cmt_vector.h   ../source/cmt_regexp.h   ../source/cmt_system.h   ../source/cmt_error.h   ../source/cmt.h   ../source/cmt_parser.h   ../source/cmt_map.h   ../source/cmt_include.h   ../source/cmt_script.h   ../source/cmt_pattern.h   ../source/cmt_scope_section.h   ../source/cmt_use.h   ../source/cmt_tag.h   ../source/cmt_symbol.h
     23cmt_triggers_cxx_dependencies =  ../source/cmt_triggers.cxx   ../source/cmt_std.h   ../source/cmt_string.h   ../source/cmt_triggers.h   ../source/cmt_vector.h   ../source/cmt_regexp.h   ../source/cmt_system.h   ../source/cmt_awk.h   ../source/cmt_map.h   ../source/cmt.h   ../source/cmt_parser.h   ../source/cmt_include.h   ../source/cmt_script.h   ../source/cmt_pattern.h   ../source/cmt_scope_section.h   ../source/cmt_use.h   ../source/cmt_tag.h   ../source/cmt_symbol.h   ../source/cmt_fragment.h   ../source/cmt_group.h   ../source/cmt_constituent.h   ../source/cmt_project.h   ../source/cmt_syntax.h
     24cmt_regexp_cxx_dependencies =  ../source/cmt_regexp.cxx   ../source/cmt_std.h   ../source/cmt_string.h   ../source/cmt_regexp.h   ../source/cmt_vector.h   ../source/cmt_system.h
     25cmt_model_cxx_dependencies =  ../source/cmt_model.cxx   ../source/cmt_std.h   ../source/cmt_string.h   ../source/cmt_vector.h   ../source/cmt_regexp.h   ../source/cmt_system.h   ../source/cmt_model.h   ../source/cmt.h   ../source/cmt_parser.h   ../source/cmt_fragment.h   ../source/cmt_map.h   ../source/cmt_include.h   ../source/cmt_script.h   ../source/cmt_pattern.h   ../source/cmt_scope_section.h   ../source/cmt_use.h   ../source/cmt_tag.h   ../source/cmt_symbol.h
     26cmt_project_cxx_dependencies =  ../source/cmt_project.cxx   ../source/cmt_std.h   ../source/cmt_string.h   ../source/cmt_vector.h   ../source/cmt_regexp.h   ../source/cmt_system.h   ../source/cmt.h   ../source/cmt_parser.h   ../source/cmt_awk.h   ../source/cmt_project.h   ../source/cmt_branch.h   ../source/cmt_fragment.h   ../source/cmt_group.h   ../source/cmt_constituent.h   ../source/cmt_language.h   ../source/cmt_map.h   ../source/cmt_pattern.h   ../source/cmt_include.h   ../source/cmt_script.h   ../source/cmt_scope_section.h   ../source/cmt_use.h   ../source/cmt_tag.h   ../source/cmt_symbol.h   ../source/cmt_cmtpath_pattern.h   ../source/cmt_database.h   ../source/cmt_syntax.h   ../source/cmt_error.h
     27cmt_syntax_cxx_dependencies =  ../source/cmt_syntax.cxx   ../source/cmt_std.h   ../source/cmt_string.h   ../source/cmt_vector.h   ../source/cmt_map.h   ../source/cmt_regexp.h   ../source/cmt_system.h   ../source/cmt.h   ../source/cmt_parser.h   ../source/cmt_include.h   ../source/cmt_script.h   ../source/cmt_pattern.h   ../source/cmt_scope_section.h   ../source/cmt_use.h   ../source/cmt_awk.h   ../source/cmt_project.h   ../source/cmt_syntax.h   ../source/cmt_tag.h   ../source/cmt_symbol.h   ../source/cmt_fragment.h   ../source/cmt_group.h   ../source/cmt_constituent.h   ../source/cmt_error.h   ../source/cmt_branch.h   ../source/cmt_language.h   ../source/cmt_cmtpath_pattern.h
     28cmt_install_area_cxx_dependencies =  ../source/cmt_install_area.cxx   ../source/cmt_std.h   ../source/cmt_string.h   ../source/cmt_vector.h   ../source/cmt_regexp.h   ../source/cmt_system.h   ../source/cmt_parser.h   ../source/cmt.h   ../source/cmt_install_area.h   ../source/cmt_map.h   ../source/cmt_include.h   ../source/cmt_script.h   ../source/cmt_pattern.h   ../source/cmt_scope_section.h   ../source/cmt_use.h   ../source/cmt_awk.h   ../source/cmt_project.h   ../source/cmt_syntax.h   ../source/cmt_tag.h   ../source/cmt_symbol.h   ../source/cmt_cmtpath_pattern.h
     29cmt_cmtpath_pattern_cxx_dependencies =  ../source/cmt_cmtpath_pattern.cxx   ../source/cmt_vector.h   ../source/cmt_std.h   ../source/cmt_string.h   ../source/cmt_regexp.h   ../source/cmt_system.h   ../source/cmt.h   ../source/cmt_parser.h   ../source/cmt_branch.h   ../source/cmt_fragment.h   ../source/cmt_group.h   ../source/cmt_constituent.h   ../source/cmt_language.h   ../source/cmt_map.h   ../source/cmt_pattern.h   ../source/cmt_include.h   ../source/cmt_script.h   ../source/cmt_scope_section.h   ../source/cmt_use.h   ../source/cmt_tag.h   ../source/cmt_symbol.h   ../source/cmt_awk.h   ../source/cmt_project.h   ../source/cmt_cmtpath_pattern.h   ../source/cmt_database.h   ../source/cmt_syntax.h
     30cmt_sequence_cxx_dependencies =  ../source/cmt_sequence.cxx   ../source/cmt_std.h   ../source/cmt_string.h   ../source/cmt_regexp.h   ../source/cmt_awk.h   ../source/cmt_sequence.h   ../source/cmt_vector.h   ../source/cmt_system.h
     31cmt_generators_cxx_dependencies =  ../source/cmt_generators.cxx   ../source/cmt_std.h   ../source/cmt_string.h   ../source/cmt_vector.h   ../source/cmt_regexp.h   ../source/cmt_system.h   ../source/cmt.h   ../source/cmt_parser.h   ../source/cmt_fragment.h   ../source/cmt_group.h   ../source/cmt_constituent.h   ../source/cmt_language.h   ../source/cmt_awk.h   ../source/cmt_deps_builder.h   ../source/cmt_generator.h   ../source/cmt_generators.h   ../source/cmt_map.h   ../source/cmt_include.h   ../source/cmt_script.h   ../source/cmt_pattern.h   ../source/cmt_scope_section.h   ../source/cmt_use.h   ../source/cmt_tag.h   ../source/cmt_symbol.h   ../source/cmt_log.h
     32cmt_scope_section_cxx_dependencies =  ../source/cmt_scope_section.cxx   ../source/cmt_std.h   ../source/cmt_string.h   ../source/cmt_vector.h   ../source/cmt_regexp.h   ../source/cmt_system.h   ../source/cmt.h   ../source/cmt_parser.h   ../source/cmt_scope_section.h
     33cmt_log_cxx_dependencies =  ../source/cmt_log.cxx   ../source/cmt_std.h   ../source/cmt_string.h   ../source/cmt_log.h   ../source/cmt_vector.h   ../source/cmt_parser.h   ../source/cmt_regexp.h   ../source/cmt_system.h   ../source/cmt.h
     34cmt_commands_cxx_dependencies =  ../source/cmt_commands.cxx   ../source/cmt_std.h   ../source/cmt_string.h   ../source/cmt_vector.h   ../source/cmt_map.h   ../source/cmt_parser.h   ../source/cmt_regexp.h   ../source/cmt_system.h   ../source/cmt.h   ../source/cmt_commands.h   ../source/cmt_include.h   ../source/cmt_script.h   ../source/cmt_pattern.h   ../source/cmt_scope_section.h   ../source/cmt_use.h   ../source/cmt_tag.h   ../source/cmt_symbol.h   ../source/cmt_awk.h   ../source/cmt_project.h
  • CMT/HEAD/mgr/cmt_dependencies.nmake

    r48 r79  
    66cmt_fragment_cxx_dependencies = "..\source\cmt_fragment.cxx" "..\source\cmt_std.h" "..\source\cmt_string.h" "..\source\cmt_vector.h" "..\source\cmt_regexp.h" "..\source\cmt_system.h" "..\source\cmt.h" "..\source\cmt_parser.h" "..\source\cmt_fragment.h" "..\source\cmt_map.h" "..\source\cmt_include.h" "..\source\cmt_script.h" "..\source\cmt_pattern.h" "..\source\cmt_scope_section.h" "..\source\cmt_use.h" "..\source\cmt_tag.h" "..\source\cmt_symbol.h" "..\source\cmt_branch.h" "..\source\cmt_group.h" "..\source\cmt_constituent.h" "..\source\cmt_language.h" "..\source\cmt_awk.h" "..\source\cmt_project.h" "..\source\cmt_cmtpath_pattern.h" "..\source\cmt_database.h"
    77cmt_generator_cxx_dependencies = "..\source\cmt_generator.cxx" "..\source\cmt_std.h" "..\source\cmt_string.h" "..\source\cmt_vector.h" "..\source\cmt_regexp.h" "..\source\cmt_system.h" "..\source\cmt.h" "..\source\cmt_parser.h" "..\source\cmt_fragment.h" "..\source\cmt_group.h" "..\source\cmt_constituent.h" "..\source\cmt_language.h" "..\source\cmt_awk.h" "..\source\cmt_deps_builder.h" "..\source\cmt_generator.h" "..\source\cmt_map.h" "..\source\cmt_include.h" "..\source\cmt_script.h" "..\source\cmt_pattern.h" "..\source\cmt_scope_section.h" "..\source\cmt_use.h" "..\source\cmt_tag.h" "..\source\cmt_symbol.h" "..\source\cmt_generators.h"
    8 cmt_include_cxx_dependencies = "..\source\cmt_include.cxx" "..\source\cmt_std.h" "..\source\cmt_string.h" "..\source\cmt_vector.h" "..\source\cmt_regexp.h" "..\source\cmt_system.h" "..\source\cmt.h" "..\source\cmt_parser.h" "..\source\cmt_include.h" "..\source\cmt_map.h" "..\source\cmt_script.h" "..\source\cmt_pattern.h" "..\source\cmt_scope_section.h" "..\source\cmt_use.h"
     8cmt_include_cxx_dependencies = "..\source\cmt_include.cxx" "..\source\cmt_std.h" "..\source\cmt_string.h" "..\source\cmt_vector.h" "..\source\cmt_regexp.h" "..\source\cmt_system.h" "..\source\cmt.h" "..\source\cmt_parser.h" "..\source\cmt_include.h" "..\source\cmt_map.h" "..\source\cmt_script.h" "..\source\cmt_pattern.h" "..\source\cmt_scope_section.h" "..\source\cmt_use.h" "..\source\cmt_tag.h" "..\source\cmt_symbol.h" "..\source\cmt_log.h"
    99cmt_parser_cxx_dependencies = "..\source\cmt_parser.cxx" "..\source\cmt_std.h" "..\source\cmt_string.h" "..\source\cmt_vector.h" "..\source\cmt_regexp.h" "..\source\cmt_system.h" "..\source\cmt.h" "..\source\cmt_parser.h" "..\source\cmt_version.h" "..\source\cmt_branch.h" "..\source\cmt_fragment.h" "..\source\cmt_group.h" "..\source\cmt_constituent.h" "..\source\cmt_language.h" "..\source\cmt_map.h" "..\source\cmt_pattern.h" "..\source\cmt_include.h" "..\source\cmt_script.h" "..\source\cmt_scope_section.h" "..\source\cmt_use.h" "..\source\cmt_tag.h" "..\source\cmt_symbol.h" "..\source\cmt_awk.h" "..\source\cmt_project.h" "..\source\cmt_cmtpath_pattern.h" "..\source\cmt_database.h" "..\source\cmt_deps_builder.h" "..\source\cmt_generator.h" "..\source\cmt_error.h" "..\source\cmt_cvs.h" "..\source\cmt_lock.h" "..\source\cmt_triggers.h" "..\source\cmt_model.h" "..\source\cmt_syntax.h" "..\source\cmt_install_area.h" "..\source\cmt_sequence.h" "..\source\cmt_log.h" "..\source\cmt_commands.h"
    1010cmt_script_cxx_dependencies = "..\source\cmt_script.cxx" "..\source\cmt_std.h" "..\source\cmt_string.h" "..\source\cmt_vector.h" "..\source\cmt_regexp.h" "..\source\cmt_system.h" "..\source\cmt.h" "..\source\cmt_parser.h" "..\source\cmt_script.h" "..\source\cmt_map.h" "..\source\cmt_include.h" "..\source\cmt_pattern.h" "..\source\cmt_scope_section.h" "..\source\cmt_use.h"
  • CMT/HEAD/mgr/cmt_uninstall_action.bat

    r11 r79  
    1313
    1414if "%source_dir%"=="" exit /B 0
    15 if "%dir_name%"=="" exit /B 0
     15if "%file_name%"=="" exit /B 0
    1616if "%install_dir%"=="" exit /B 0
    1717
  • CMT/HEAD/mgr/fragments/cleanup_objects

    r11 r79  
    22        $(cleanup_echo) objects
    33        -$(cleanup_silent) cd $(bin); /bin/rm -f ${OBJS}
     4        -$(cleanup_silent) cd $(bin); /bin/rm -rf ${CONSTITUENT}_deps ${CONSTITUENT}_dependencies.make
    45#-- end of cleanup_objects ------
  • CMT/HEAD/mgr/fragments/cmt_action_runner_header

    r11 r79  
    2626endif
    2727
     28install ::
     29uninstall ::
     30
    2831#-- end of cmt_action_runner_header -----------------
  • CMT/HEAD/mgr/fragments/constituent

    r11 r79  
    5454
    5555${CONSTITUENT}clean :: $(${CONSTITUENT}clean_dependencies) ##$(cmt_local_${CONSTITUENT}_makefile)
    56         @if test -f $(cmt_local_${CONSTITUENT}_makefile); then \
     56        @-if test -f $(cmt_local_${CONSTITUENT}_makefile); then \
    5757          echo "------> (constituents.make) Starting ${CONSTITUENT}clean"; \
    5858          $(MAKE) -f $(cmt_local_${CONSTITUENT}_makefile) $(MAKEFLAGS) cmt_lock_pid=$${cmt_lock_pid} ${CONSTITUENT}clean; \
     
    6565${CONSTITUENT}install :: $(${CONSTITUENT}_dependencies) $(cmt_local_${CONSTITUENT}_makefile)
    6666        @echo "------> (constituents.make) Starting install ${CONSTITUENT}"
    67         @$(MAKE) -f $(cmt_local_${CONSTITUENT}_makefile) $(MAKEFLAGS) cmt_lock_pid=$${cmt_lock_pid} install
     67        @-$(MAKE) -f $(cmt_local_${CONSTITUENT}_makefile) $(MAKEFLAGS) cmt_lock_pid=$${cmt_lock_pid} install
    6868        @echo "------> (constituents.make) install ${CONSTITUENT} done"
    6969
     
    7272${CONSTITUENT}uninstall :: $(cmt_local_${CONSTITUENT}_makefile)
    7373        @echo "------> (constituents.make) Starting uninstall ${CONSTITUENT}"
    74         @$(MAKE) -f $(cmt_local_${CONSTITUENT}_makefile) $(MAKEFLAGS) cmt_lock_pid=$${cmt_lock_pid} uninstall
     74        @-$(MAKE) -f $(cmt_local_${CONSTITUENT}_makefile) $(MAKEFLAGS) cmt_lock_pid=$${cmt_lock_pid} uninstall
    7575        @echo "------> (constituents.make) uninstall ${CONSTITUENT} done"
    7676
  • CMT/HEAD/mgr/fragments/library

    r11 r79  
    3636        $(cleanup_echo) objects
    3737        $(cleanup_silent) cd $(bin); /bin/rm -f ${OBJS}
     38        $(cleanup_silent) cd $(bin); /bin/rm -rf ${CONSTITUENT}_deps ${CONSTITUENT}_dependencies.make
    3839
    3940#-----------------------------------------------------------------
  • CMT/HEAD/mgr/fragments/nmake/cmt_action_runner_header

    r11 r79  
    2626!endif
    2727
     28install ::
     29uninstall ::
     30
    2831#-- end of cmt_action_runner_header -----------------
  • CMT/HEAD/mgr/fragments/nmake/constituent

    r11 r79  
    5151        @set include=$(include)
    5252        @set lib=$(lib)
    53         @$(MAKE) /nologo /f $(cmt_local_${CONSTITUENT}_makefile) $(MAKEFLAGS) build_strategy=keep_makefiles ${CONSTITUENT}clean tag=$(tag)
     53        @-$(MAKE) /nologo /f $(cmt_local_${CONSTITUENT}_makefile) $(MAKEFLAGS) build_strategy=keep_makefiles ${CONSTITUENT}clean tag=$(tag)
    5454        @echo (constituents.nmake) ${CONSTITUENT}clean done
    5555
     
    6060        @set include=$(include)
    6161        @set lib=$(lib)
    62         @$(MAKE) /nologo /f $(cmt_local_${CONSTITUENT}_makefile) $(MAKEFLAGS) build_strategy=keep_makefiles install tag=$(tag)
     62        @-$(MAKE) /nologo /f $(cmt_local_${CONSTITUENT}_makefile) $(MAKEFLAGS) build_strategy=keep_makefiles install tag=$(tag)
    6363        @echo (constituents.nmake) install ${CONSTITUENT} done
    6464
     
    6969        @set include=$(include)
    7070        @set lib=$(lib)
    71         @$(MAKE) /nologo /f $(cmt_local_${CONSTITUENT}_makefile) $(MAKEFLAGS) build_strategy=keep_makefiles uninstall tag=$(tag)
     71        @-$(MAKE) /nologo /f $(cmt_local_${CONSTITUENT}_makefile) $(MAKEFLAGS) build_strategy=keep_makefiles uninstall tag=$(tag)
    7272        @echo (constituents.nmake) uninstall ${CONSTITUENT} done
    7373
  • CMT/HEAD/source/cmt_awk.cxx

    r11 r79  
    652652      CmtSystem::dirname (path, where);
    653653
    654       // cout << "## here=" << here << " entry=" << entry << " where=" << where << endl;
     654      //cout << "## here=" << here << " entry=" << entry << " where=" << where << endl;
    655655
    656656      if ((level == 0) && (entry == "InstallArea")) continue;
  • CMT/HEAD/source/cmt_deps_builder.cxx

    r78 r79  
    563563              break;
    564564            case in_line_comment:
    565               ptr = in_line_action (ptr, state);
     565              ptr = in_line_comment_action (ptr, state);
    566566              break;
    567567            }
  • CMT/HEAD/source/cmt_include.cxx

    r78 r79  
    1313#include "cmt_use.h"
    1414#include "cmt_symbol.h"
     15#include "cmt_log.h"
    1516
    1617/*----------------------------------------------------------*/
     
    115116
    116117/**
    117    Post processing of the include_dirs statements.
     118   Post processing of the include_dirs statements of a Use object.
    118119   This is meant to expand all macro references used in the
    119120   include_dirs statements
     
    122123   only performed onto the existing objects before the post-processing step
    123124 */
    124 void Include::parse_all ()
     125void Include::parse_all (Use* use)
    125126{
    126   int size = (Use::current()).includes.size ();
     127  int size;
     128  int i;
    127129
    128   for (int include_number = 0;
    129        include_number < size;
    130        include_number++)
     130  size = use->includes.size ();
     131  for (i = 0; i < size; i++)
    131132    {
    132       Include& incl = (Use::current()).includes[include_number];
     133      Include& incl = use->includes[i];
    133134
    134135      incl.parse ();
     
    152153void Include::parse ()
    153154{
    154   Symbol::expand (name);
     155  cmt_string new_name = name;
     156
     157  Symbol::expand (new_name);
     158
     159  if (new_name == name) return;
    155160
    156161  CmtSystem::cmt_string_vector ws;
     
    158163  ws.clear ();
    159164
    160   CmtSystem::split (name, " ", ws);
     165  CmtSystem::split (new_name, " ", ws);
    161166
    162167  name = "";
    163   use = 0;
    164168
    165169  for (int j = 0; j < ws.size (); j++)
     
    169173      add (w, use);
    170174    }
     175
     176  use = 0;
    171177}
    172178
  • CMT/HEAD/source/cmt_include.h

    r78 r79  
    1919  static Include* find (const cmt_string& name, Use* use);
    2020  static Include* add (const cmt_string& name, Use* use);
    21   static void parse_all ();
     21  static void parse_all (Use* use);
    2222  static void clear_all ();
    2323
  • CMT/HEAD/source/cmt_parser.cxx

    r78 r79  
    24542454void Cmt::do_create_project (const ArgParser& ap)
    24552455{
    2456   if (ap.arguments.size () < 1) return;
    2457 
    2458   const cmt_string& project = ap.arguments[0];
    2459   const cmt_string& release = ap.arguments[1];
     2456  int argc = ap.arguments.size ();
     2457  int arg = 0;
     2458
     2459  if (argc < 1) return;
     2460
     2461  cmt_string project;
     2462  cmt_string release;
    24602463  cmt_string path;
    24612464
    2462   if (ap.arguments.size () >= 3)
    2463     {
    2464       path = ap.arguments[2];
    2465     }
    2466 
    2467   Project::create (project, release, path);
     2465  project = ap.arguments[arg]; argc--; arg++;
     2466
     2467  if (argc > 0)
     2468    {
     2469      release = ap.arguments[arg];
     2470
     2471      if (release[0] != '-')
     2472        {
     2473          argc--;
     2474          arg++;
     2475          if (argc > 0)
     2476            {
     2477              path = ap.arguments[arg];
     2478              if (path[0] != '-')
     2479                {
     2480                  argc--; arg++;
     2481                }
     2482              else
     2483                {
     2484                  path = "";
     2485                }
     2486            }
     2487        }
     2488      else
     2489        {
     2490          release = "";
     2491        }
     2492    }
     2493
     2494  if (Project::create (project, release, path))
     2495    {
     2496      while (argc > 0)
     2497        {
     2498          const cmt_string& argument = ap.arguments[arg]; argc--; arg++;
     2499         
     2500          if (argument.substr (0, 5) == "-use=")
     2501            {
     2502              cmt_string use;
     2503
     2504              argument.substr (5, use);
     2505
     2506              CmtSystem::cmt_string_vector words;
     2507              CmtSystem::split (use, ":", words);
     2508
     2509              ofstream f (Project::get_project_file_name (), ios_base::app);
     2510              if (f)
     2511                {
     2512                  f << "use " << words[0] << " " << words[1] << " " << words[2] << endl;
     2513                  f << endl;
     2514                  f.close ();
     2515                }
     2516            }
     2517        }
     2518    }
    24682519}
    24692520
     
    33423393    {
    33433394      Include& incl = use.includes[include_number];
    3344      
     3395
     3396      if (incl.name == "") continue;
     3397
    33453398      temp += incl.name;
    33463399      temp += " ";
     
    64926545  void fill_for_use_includes ()
    64936546  {
    6494     Include::parse_all ();
     6547    Include::parse_all (&(Use::current()));
     6548
    64956549    Use::UsePtrVector& Uses = Use::get_ordered_uses ();
    64966550
     
    65196573            if (use->auto_imports == Off) continue;
    65206574           
     6575            Include::parse_all (use);
     6576
    65216577            use->fill_includes_macro (buffer);
    65226578          }
     
    67506806          {
    67516807            Include& incl = use.includes[include_number];
    6752            
     6808
     6809            if (incl.name == "") continue;
     6810
    67536811            buffer += "$(ppcmd)\"";
    67546812            buffer += incl.name;
  • CMT/HEAD/source/cmt_project.cxx

    r78 r79  
    6060  void filter (const cmt_string& line)
    6161  {
    62     if (m_output != "")
    63       {
    64         m_output += "\n";
    65       }
    66    
    6762    CmtSystem::cmt_string_vector words;
    6863    CmtSystem::split (line, " \t", words);
     
    7671        m_output += line;
    7772      }
     73
     74    m_output += "\n";
    7875  }
    7976 
     
    216213
    217214  static Project::ProjectVector& Projects = Project::projects ();
     215
     216  int i;
    218217 
    219   for (int i = 0; i < Projects.size (); i++)
     218  for (i = 0; i < Projects.size (); i++)
    220219    {
    221220      Project& p = Projects[i];
     
    504503      parent->add_child (project);
    505504
    506       // Since p is a new parent, we should propagate the settings UP.
     505      // Since project is a new child, we should propagate the settings UP.
    507506
    508507      parent->update_strategies_from_children ();
     508    }
     509  else
     510    {
     511      // this project has no parent thus it should become the top project.
     512      // Let's look for all projects without parent.
     513      // they will become children of this project.
     514
     515      for (i = 0; i < Projects.size (); i++)
     516        {
     517          Project* p = &(Projects[i]);
     518          if (p->get_name () == name) continue;
     519          if (!p->has_parents ())
     520            {
     521              project->add_child (p);
     522              p->add_parent (project);
     523            }
     524        }
     525
     526      // Since project is a new parent, we should upgrade its settings
     527
     528      project->update_strategies_from_children ();
    509529    }
    510530
     
    552572
    553573//----------------------------------------------------------
    554 void Project::create (const cmt_string& name,
     574bool Project::create (const cmt_string& name,
    555575                      const cmt_string& release,
    556576                      const cmt_string& path)
     
    573593        {
    574594          cout << "Cannot create the " << path << " directory" << endl;
    575           return;
     595          return (false);
    576596        }
    577597
     
    579599        {
    580600          cout << "Cannot access the " << path << " directory" << endl;
    581           return;
     601          return (false);
    582602        }
    583603    }
     
    586606    {
    587607      cout << "Cannot create the " << name << " directory" << endl;
    588       return;
     608      return (false);
    589609    }
    590610
     
    592612    {
    593613      cout << "Cannot access the " << name << " directory" << endl;
    594       return;
     614      return (false);
    595615    }
    596616
     
    600620        {
    601621          cout << "Cannot create the " << release << " directory" << endl;
    602           return;
     622          return (false);
    603623        }
    604624     
     
    606626        {
    607627          cout << "Cannot access the " << release << " directory" << endl;
    608           return;
     628          return (false);
    609629        }
    610630    }
     
    615635        {
    616636          cout << "Cannot create the cmt directory" << endl;
    617           return;
     637          return (false);
    618638        }
    619639      else
     
    636656          f.close ();
    637657        }
     658      else
     659        {
     660          cout << "Cannot create the project file" << endl;
     661          return (false);
     662        }
    638663    }
    639664  else
     
    649674      cout << "project file already there" << endl;
    650675    }
     676
     677  return (true);
    651678}
    652679
     
    931958  static ProjectVector& Projects = projects ();
    932959
    933   for (int i = 0; i < Projects.size (); i++)
     960  int i;
     961
     962  for (i = 0; i < Projects.size (); i++)
     963    {
     964      Project& p = Projects[i];
     965      p.m_visited = false;
     966    }
     967
     968  for (i = 0; i < Projects.size (); i++)
    934969    {
    935970      const Project& project = Projects[i];
     
    10681103        m_buffer += "path_append CMTPATH \"";
    10691104        m_buffer += w;
    1070         m_buffer += ":\" \n";
     1105        m_buffer += "\" \n";
    10711106      }
    10721107  }
     
    10831118        m_buffer += "path_append CMTPATH \"";
    10841119        m_buffer += w;
    1085         m_buffer += ":\" \n";
     1120        m_buffer += "\" \n";
    10861121      }
    10871122  }
     
    12361271
    12371272  m_strategies.clear ();
     1273}
     1274
     1275//----------------------------------------------------------
     1276bool Project::has_parents () const
     1277{
     1278  return ((m_parents.size () > 0));
    12381279}
    12391280
  • CMT/HEAD/source/cmt_project.h

    r41 r79  
    9595  typedef cmt_vector<Project*> ProjectPtrVector;
    9696
    97   static void create (const cmt_string& name,
     97  static bool create (const cmt_string& name,
    9898                      const cmt_string& release,
    9999                      const cmt_string& path);
     
    149149  void clear ();
    150150  void configure ();
     151  bool has_parents () const;
    151152  bool has_parent (Project* p) const;
    152153  bool has_child (Project* p) const;
  • CMT/HEAD/source/cmt_system.cxx

    r42 r79  
    719719  else
    720720    {
     721      name_prefix = "";
    721722    }
    722723
Note: See TracChangeset for help on using the changeset viewer.