diff options
author | Alexandre Duret-Lutz <adl@gnu.org> | 2004-10-10 15:52:02 +0000 |
---|---|---|
committer | Alexandre Duret-Lutz <adl@gnu.org> | 2004-10-10 15:52:02 +0000 |
commit | 8e1923fe4f8d29216ecfdf4b4e7db0239d4c3715 (patch) | |
tree | 4f5004a28483a7d281d167cb90ef92d83cde582e | |
parent | ee0d3a5233e53d46323cc2ba8cc5bf74f1679375 (diff) | |
download | automake-8e1923fe4f8d29216ecfdf4b4e7db0239d4c3715.tar.gz |
* m4/as.m4 (AM_PROG_AS): Check dependency tracking mode for CCAS.
* automake.in (cppasm): Use the dependency tracking more for CCAS.
* doc/automake.texi (Assembly Support): Note that *.S are
preprocessed with CPPFLAGS.
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | NEWS | 6 | ||||
-rw-r--r-- | THANKS | 1 | ||||
-rwxr-xr-x | automake.in | 3 | ||||
-rw-r--r-- | doc/automake.texi | 10 | ||||
-rw-r--r-- | doc/stamp-vti | 4 | ||||
-rw-r--r-- | doc/version.texi | 4 | ||||
-rw-r--r-- | m4/as.m4 | 1 |
8 files changed, 25 insertions, 11 deletions
@@ -1,3 +1,10 @@ +2004-10-10 Martin Waitz <tali@admingilde.org> (tiny change) + + * m4/as.m4 (AM_PROG_AS): Check dependency tracking mode for CCAS. + * automake.in (cppasm): Use the dependency tracking more for CCAS. + * doc/automake.texi (Assembly Support): Note that *.S are + preprocessed with CPPFLAGS. + 2004-10-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * automake.in (Languages): Split .s (asm) and .S (cppasm) into @@ -10,9 +10,9 @@ New in 1.9a: overwriting existing files if AM_MAINTAINER_MODE and maintainer-mode is not enabled. - - Preprocessed assembler (*.S) compilation now honnor CPPFLAGS, - AM_CPPFLAGS and per-target _CPPFLAGS, unlike non-preprocessed - assembler (*.s). + - Preprocessed assembler (*.S) compilation now honnors CPPFLAGS, + AM_CPPFLAGS and per-target _CPPFLAGS, and supports dependency + tracking, unlike non-preprocessed assembler (*.s). New in 1.9: @@ -150,6 +150,7 @@ Mark Phillips msp@nortelnetworks.com Markku Rossi mtr@ngs.fi Markus F.X.J. Oberhumer k3040e4@wildsau.idv-edu.uni-linz.ac.at Martin Frydl martin@idoox.com +Martin Waitz tali@admingilde.org Mathias Doreille doreille@smr.ch Matt Leach mleach@cygnus.com Matthew D. Langston langston@SLAC.Stanford.EDU diff --git a/automake.in b/automake.in index d10118ab9..3cd0accfe 100755 --- a/automake.in +++ b/automake.in @@ -816,7 +816,8 @@ register_language ('name' => 'cppasm', 'Name' => 'Preprocessed Assembler', 'config_vars' => ['CCAS', 'CCASFLAGS'], - 'flags' => ['CCASFLAGS','CPPFLAGS'], + 'autodep' => 'CCAS', + 'flags' => ['CCASFLAGS', 'CPPFLAGS'], # Users can set AM_ASFLAGS to include DEFS, INCLUDES, # or anything else required. They can also set CCAS. 'compile' => '$(CCAS) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CCASFLAGS) $(CCASFLAGS)', diff --git a/doc/automake.texi b/doc/automake.texi index 3390f0815..4aeeaa162 100644 --- a/doc/automake.texi +++ b/doc/automake.texi @@ -3897,21 +3897,25 @@ The command used to actually link a C++ program. @node Assembly Support @section Assembly Support -Automake includes some support for assembly code. +Automake includes some support for assembly code. There are two forms +of assembler files: normal (@file{*.s}) and preprocessed by @code{CPP} +(@file{*.S}). The variable @code{CCAS} holds the name of the compiler used to build assembly code. This compiler must work a bit like a C compiler; in particular it must accept @samp{-c} and @samp{-o}. The value of -@code{CCASFLAGS} is passed to the compilation. +@code{CCASFLAGS} (and @code{CPPFLAGS} for preprocessed files) is passed +to the compilation. @vindex CCAS @vindex CCASFLAGS +@vindex CPPFLAGS You are required to set @code{CCAS} and @code{CCASFLAGS} via @file{configure.ac}. The autoconf macro @code{AM_PROG_AS} will do this for you. Unless they are already set, it simply sets @code{CCAS} to the C compiler and @code{CCASFLAGS} to the C compiler flags. -Only the suffixes @samp{.s} and @samp{.S} are recognized by +Only the suffixes @file{.s} and @file{.S} are recognized by @code{automake} as being files containing assembly code. diff --git a/doc/stamp-vti b/doc/stamp-vti index bfef3c650..4e1bae8e5 100644 --- a/doc/stamp-vti +++ b/doc/stamp-vti @@ -1,4 +1,4 @@ -@set UPDATED 25 September 2004 -@set UPDATED-MONTH September 2004 +@set UPDATED 10 October 2004 +@set UPDATED-MONTH October 2004 @set EDITION 1.9a @set VERSION 1.9a diff --git a/doc/version.texi b/doc/version.texi index bfef3c650..4e1bae8e5 100644 --- a/doc/version.texi +++ b/doc/version.texi @@ -1,4 +1,4 @@ -@set UPDATED 25 September 2004 -@set UPDATED-MONTH September 2004 +@set UPDATED 10 October 2004 +@set UPDATED-MONTH October 2004 @set EDITION 1.9a @set VERSION 1.9a @@ -28,4 +28,5 @@ test "${CCAS+set}" = set || CCAS=$CC test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS AC_ARG_VAR([CCAS], [assembler compiler command (defaults to CC)]) AC_ARG_VAR([CCASFLAGS], [assembler compiler flags (defaults to CFLAGS)]) +_AM_DEPENDENCIES([CCAS]) ]) |