Changeset d3b0fe08 in rtems for depcomp


Ignore:
Timestamp:
Nov 21, 2012, 3:23:42 AM (9 years ago)
Author:
Ralf Corsépius <ralf.corsepius@…>
Branches:
4.11, 5, master
Children:
5adf02e5
Parents:
a12f7e9
Message:

Update from automake-1.12.5.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • depcomp

    ra12f7e9 rd3b0fe08  
    7575rm -f "$tmpdepfile"
    7676
     77# Avoid interferences from the environment.
     78gccflag= dashmflag=
     79
    7780# Some modes work just like other modes, but use different flags.  We
    7881# parameterize here, but still list the modes in the big case below,
     
    109112
    110113if test "$depmode" = xlc; then
    111    # IBM C/C++ Compilers xlc/xlC can output gcc-like dependency informations.
     114   # IBM C/C++ Compilers xlc/xlC can output gcc-like dependency information.
    112115   gccflag=-qmakedep=gcc,-MF
    113116   depmode=gcc
     
    143146
    144147gcc)
     148## Note that this doesn't just cater to obsosete pre-3.x GCC compilers.
     149## but also to in-use compilers like IMB xlc/xlC and the HP C compiler.
     150## (see the conditional assignment to $gccflag above).
    145151## There are various ways to get dependency output from gcc.  Here's
    146152## why we pick this rather obscure method:
     
    149155##   (We might end up doing this anyway to support other compilers.)
    150156## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like
    151 ##   -MM, not -M (despite what the docs say).
     157##   -MM, not -M (despite what the docs say).  Also, it might not be
     158##   supported by the other compilers which use the 'gcc' depmode.
    152159## - Using -M directly means running the compiler twice (even worse
    153160##   than renaming).
Note: See TracChangeset for help on using the changeset viewer.