path: root/jmake/
diff options
authorManoj Srivastava <>2014-04-27 17:54:01 -0700
committerManoj Srivastava <>2014-04-27 17:54:01 -0700
commit8f5e5726134ce5b4bd436b16f367796d851df553 (patch)
tree0ce2ad130721dcf917d7f81fb8495bf0a189d266 /jmake/
parent02bf7be6fc0f798790ef5b2160bc89a77b909428 (diff)
Imported Upstream version 3.5-36
Diffstat (limited to 'jmake/')
1 files changed, 33 insertions, 6 deletions
diff --git a/jmake/ b/jmake/
index 2125c0c..afd5e65 100644
--- a/jmake/
+++ b/jmake/
@@ -1,4 +1,4 @@
-''' $Id: 3 2006-08-25 21:39:07Z rmanfredi $
+''' $Id: 47 2010-11-28 22:23:13Z rmanfredi $
''' Copyright (c) 1991-1997, 2004-2006, Raphael Manfredi
@@ -152,6 +152,33 @@ To implement a logical OR, see below.
.IP 3)
+Makefile target tests:
+.IP \(bu
+?\fItarget\fR?:<text>: keeps <test> iff \fItarget\fR is defined.
+.IP \(bu
+%\fItarget\fR%:<text>: keeps <test> iff \fItarget\fR is not defined.
+A makefile \fItarget\fR is defined as a standalone target, for instance
+.B depend.local
+target, which would be defined as:
+.sp +5
+.sp -5
+Also note that it is only valid for targets defined
+.I so far
+in the generated makefile. It is not a predicate that can be used
+to test for targets that will eventually be defined later on in the
+.IP 4)
@@ -217,9 +244,9 @@ Here is a way to implement a logical OR:
.in -5
Actually, this is ugly, because the text has to appear twice.
-Fortunately, I did not use it. :-)
+Fortunately, I did not use that construct. :-)
-But actually, as you have surely already guessed, the best way to
+Indeed, as you have surely already guessed, the best way to
implement a logical OR is to use De Morgan's Law:
.in +5
@@ -233,7 +260,7 @@ text /* If SYMBOL or not TOKEN */
.in -5
-Who said they didn't care ? ;-)
+Who said they didn't care about logic? ;-)
Expansion is done with the \fIexpand\fR command. It has been provided to
@@ -440,7 +467,7 @@ therefore depend on the configuration options chosen when \fIConfigure\fR
was run.
-.IP 4)
+.IP 5)
@@ -450,7 +477,7 @@ Initializations:
++SYMBOL <value>: Adds <value> to the SYMBOL macro.
-.IP 5)
+.IP 6)
User-defined variables:
The user may define CFLAGS, LDFLAGS or DPFLAGS as additional flags to be used