Changeset 75d1f0fb in rtems for tools/update/ampolish


Ignore:
Timestamp:
Sep 5, 2000, 3:30:48 PM (19 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
19530ab5
Parents:
7294718f
Message:

2000-09-04 Ralf Corsepius <corsepiu@…>

  • ampolish: Add rules to add compile.am
File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/update/ampolish

    r7294718f r75d1f0fb  
    135135      push @ibuf, "include \$(top_srcdir)/${rtems_top}automake/lib.am\n" ;
    136136    }
     137    elsif ( /^[\s]*include[\s\t]*.*compile.am[\s]*$/o )
     138    {
     139      # remove the line
     140    }
    137141    elsif ( /^(.*[^\s])[\s]*$/o )
    138142    { # remove trailing spaces
     
    221225      if ( "$1" eq "lib" )
    222226      {
     227        push @ibuf, "include \$(top_srcdir)/${rtems_top}automake/compile.am\n" ;
    223228        push @ibuf, "include \$(top_srcdir)/${rtems_top}automake/$1.am\n" ;
    224229      }
     
    230235      {
    231236        $main::seen_host = 1 ;
     237      }
     238    }
     239    elsif ( /^[\s]*include[\s\t]*\$\(RTEMS_ROOT\)\/make\/(.*)\.cfg$/o )
     240    {
     241      if ( "$1" eq "leaf" )
     242      {
     243        push @ibuf, "include \$(top_srcdir)/${rtems_top}automake/compile.am\n" ;
     244        push @ibuf, "include \$(RTEMS_ROOT)/make/$1.cfg\n" ;
     245      }
     246      else
     247      {
     248        push @ibuf, "include \$(RTEMS_ROOT)/make/$1.cfg\n" ;
    232249      }
    233250    }
Note: See TracChangeset for help on using the changeset viewer.