[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Automake-commit] [SCM] GNU Automake branch, maint, updated. v1.11-697-g

From: Stefano Lattarini
Subject: [Automake-commit] [SCM] GNU Automake branch, maint, updated. v1.11-697-gb088706
Date: Tue, 06 Mar 2012 20:02:23 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Automake".;a=commitdiff;h=b0887067fb2f6511e154c9feb62c5243dfc095cb

The branch, maint has been updated
       via  b0887067fb2f6511e154c9feb62c5243dfc095cb (commit)
      from  51f61dfb1e861062aaa1d73fab71278c85fe0594 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit b0887067fb2f6511e154c9feb62c5243dfc095cb
Author: Michael Hofmannm <address@hidden>
Date:   Mon Mar 5 20:05:37 2012 +0100

    depcomp: add support for IBM xlc/xlC compilers
    * lib/depcomp (xlc): New depmode.
    * NEWS, THANKS: Update.
    Copyright-paperwork-exempt: yes


Summary of changes:
 NEWS        |    3 +++
 THANKS      |    1 +
 lib/depcomp |   13 +++++++++++++
 3 files changed, 17 insertions(+), 0 deletions(-)

diff --git a/NEWS b/NEWS
index eb9af22..ffb4cb7 100644
--- a/NEWS
+++ b/NEWS
@@ -40,6 +40,9 @@ New in 1.11.0a:
 * Miscellaneous changes:
+  - Automatic dependency tracking now works also with the IBM XL C/C++
+    compilers, thanks to the new new depmode 'xlc'.
   - Automake's own build system is more silent by default, making use of
     the 'silent-rules' option.
diff --git a/THANKS b/THANKS
index d54e9d4..418ad71 100644
--- a/THANKS
+++ b/THANKS
@@ -234,6 +234,7 @@ Maxim Sinev         address@hidden
 Maynard Johnson                address@hidden
 Merijn de Jonge                address@hidden
 Michael Brantley       address@hidden
+Michael Hofmann                address@hidden
 Michael Ploujnikov     address@hidden
 Michel de Ruiter       address@hidden
 Mike Castle            address@hidden
diff --git a/lib/depcomp b/lib/depcomp
index 5621fd4..0122c04 100755
--- a/lib/depcomp
+++ b/lib/depcomp
@@ -94,6 +94,12 @@ if test "$depmode" = msvcmsys; then
+if test "$depmode" = xlc; then
+   # IBM C/C++ Compilers xlc/xlC can output gcc-like dependency informations.
+   gccflag=-qmakedep=gcc,-MF
+   depmode=gcc
 case "$depmode" in
 ## gcc 3 implements dependency tracking that does exactly what
@@ -218,6 +224,13 @@ sgi)
   rm -f "$tmpdepfile"
+  # This case exists only to let depend.m4 do its work.  It works by
+  # looking at the text of this script.  This case will never be run,
+  # since it is checked for above.
+  exit 1
+  ;;
   # The C for AIX Compiler uses -M and outputs the dependencies
   # in a .u file.  In older versions, this file always lives in the

GNU Automake

reply via email to

[Prev in Thread] Current Thread [Next in Thread]