summaryrefslogtreecommitdiff
path: root/dmake
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2007-10-15 14:38:34 +0000
committerIvo Hinkelmann <ihi@openoffice.org>2007-10-15 14:38:34 +0000
commit7e5a05dd14f3572250c6f286fab2b4509ef4fee6 (patch)
treeced8ff6f6aef20d46f11d629c34dd0ba30ca2391 /dmake
parent81c04183a9db35643bf00b0b8369e7f5514a0847 (diff)
INTEGRATION: CWS dmake411 (1.7.4); FILE MERGED
2007/09/14 00:08:59 vq 1.7.4.3: #i81296# Remove bit recycling for F_VISITED/F_USED. Use only F_VISITED. 2007/08/18 03:16:50 vq 1.7.4.2: #i10000# Add some comments. 2007/07/24 23:00:26 vq 1.7.4.1: #i78776# New function macro $(normpath[,para] list) to normalise the elements of list and a macro extension $(macro_name:n) to normalise the content of macro_name. The normalization is done token-wise and quotes are preserved. On cygwin the result honors the setting of .WINPATH to determine the output format. If the optional parameter para is given in the $(normpath ...) case its expanded value is used to override the .WINPATH setting for the output of the function macro.
Diffstat (limited to 'dmake')
-rw-r--r--dmake/dmake.h15
1 files changed, 11 insertions, 4 deletions
diff --git a/dmake/dmake.h b/dmake/dmake.h
index 101479456ecd..457031fdb50d 100644
--- a/dmake/dmake.h
+++ b/dmake/dmake.h
@@ -1,4 +1,4 @@
-/* RCS $Id: dmake.h,v 1.7 2007-06-12 06:04:58 obo Exp $
+/* RCS $Id: dmake.h,v 1.8 2007-10-15 15:38:34 ihi Exp $
--
-- SYNOPSIS
-- Global defines for dmake.
@@ -122,15 +122,21 @@
#define F_MULTI 0x0002 /* multiple rules for target */
#define F_SINGLE 0x0004 /* exec recipes for each out of
* date prerequisite (! ruleop) */
-#define F_TARGET 0x0008 /* marks a target */
+#define F_TARGET 0x0008 /* is set if a rule for a target exists.
+ * Prerequisites do not necessarily need
+ * to have a rule, in which case F_TARGET
+ * is not set. */
#define F_RULES 0x0010 /* indicates target has rules */
#define F_GROUP 0x0020 /* indicates that rules are to */
/* fed to the shell as a group */
#define F_TRANS 0x0040 /* same as F_STAT not used tgthr*/
#define F_STAT 0x0040 /* target already stated */
-#define F_VISITED 0x0080 /* target scheduled for make */
-#define F_USED 0x0080 /* used in rulparse.c */
+#define F_VISITED 0x0080 /* Used for two different purposes:
+ make.c: Mark that a target is scheduled
+ to be made.
+ rulparse.c: Detect circular
+ dependencies. */
#define F_SPECIAL 0x0100 /* marks a special target */
#define F_DFA 0x0200 /* bit for marking added DFA */
#define F_EXPLICIT 0x0400 /* explicit target in makefile */
@@ -172,6 +178,7 @@
#define TOUPPER_FLAG 16
#define INFNAME_FLAG 32
#define JUST_FIRST_FLAG 64
+#define NORMPATH_FLAG 128
/* special target definitions for use inside dmake */
#define ST_IF 1