[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
patch: documentation update
From: |
Tom Tromey |
Subject: |
patch: documentation update |
Date: |
16 Jul 2001 22:43:31 -0600 |
I'm checking this in.
Tom
Index: ChangeLog
from Tom Tromey <address@hidden>
* automake.texi (Program and Library Variables): Document _LINK.
Index: automake.texi
===================================================================
RCS file: /cvs/automake/automake/automake.texi,v
retrieving revision 1.219
diff -u -r1.219 automake.texi
--- automake.texi 2001/07/04 15:28:09 1.219
+++ automake.texi 2001/07/17 04:17:47
@@ -1982,6 +1982,19 @@
This variable is used to pass extra flags to the link step of a program
or a shared library.
address@hidden maude_LINK
+You can override the linker on a per-program basis. By default the
+linker is chosen according to the languages used by the program. For
+instance, a program that includes C++ source code would use the C++
+compiler to link. The @samp{_LINK} variable must hold the name of a
+command which can be passed all the @file{.o} file names as arguments.
+Note that the name of the underlying program is @emph{not} passed to
address@hidden; typically one uses @samp{$@@}:
+
address@hidden
+maude_LINK = $(CCLD) -magic -o $@
address@hidden example
+
@item maude_CFLAGS
Automake allows you to set compilation flags on a per-program (or
per-library) basis. A single source file can be included in several
@@ -1999,10 +2012,9 @@
In compilations with per-program flags, the ordinary @samp{AM_} form of
the flags variable is @emph{not} automatically included in the
-compilation (however, the user form of the variable @emph{is}
-included). So for instance, if you want the hypothetical @file{maude}
-compilation to also use the value of @samp{AM_CFLAGS}, you would need to
-write:
+compilation (however, the user form of the variable @emph{is} included).
+So for instance, if you want the hypothetical @file{maude} compilations
+to also use the value of @samp{AM_CFLAGS}, you would need to write:
@example
maude_CFLAGS = ... your flags ... $(AM_CFLAGS)
Index: stamp-vti
===================================================================
RCS file: /cvs/automake/automake/stamp-vti,v
retrieving revision 1.123
diff -u -r1.123 stamp-vti
--- stamp-vti 2001/07/04 15:29:37 1.123
+++ stamp-vti 2001/07/17 04:17:48
@@ -1,4 +1,4 @@
address@hidden UPDATED 3 July 2001
address@hidden UPDATED 16 July 2001
@set UPDATED-MONTH July 2001
@set EDITION 1.4i
@set VERSION 1.4i
Index: version.texi
===================================================================
RCS file: /cvs/automake/automake/version.texi,v
retrieving revision 1.196
diff -u -r1.196 version.texi
--- version.texi 2001/07/04 15:29:37 1.196
+++ version.texi 2001/07/17 04:17:48
@@ -1,4 +1,4 @@
address@hidden UPDATED 3 July 2001
address@hidden UPDATED 16 July 2001
@set UPDATED-MONTH July 2001
@set EDITION 1.4i
@set VERSION 1.4i
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- patch: documentation update,
Tom Tromey <=