SCCS-vsn: usr.bin/make/job.c 5.11
SCCS-vsn: usr.bin/make/make.h 5.9
SCCS-vsn: usr.bin/make/parse.c 5.11
SCCS-vsn: usr.bin/make/targ.c 5.6
-static char sccsid[] = "@(#)job.c 5.10 (Berkeley) %G%";
+static char sccsid[] = "@(#)job.c 5.11 (Berkeley) %G%";
#endif /* not lint */
/*-
#endif /* not lint */
/*-
struct timeval times[2]; /* Times for utimes() call */
struct stat attr; /* Attributes of the file */
struct timeval times[2]; /* Times for utimes() call */
struct stat attr; /* Attributes of the file */
- if (gn->type & (OP_JOIN|OP_USE|OP_EXEC|OP_DONTCARE)) {
+ if (gn->type & (OP_JOIN|OP_USE|OP_EXEC|OP_OPTIONAL)) {
- * .JOIN, .USE, .ZEROTIME and .DONTCARE targets are "virtual" targets
+ * .JOIN, .USE, .ZEROTIME and .OPTIONAL targets are "virtual" targets
* and, as such, shouldn't really be created.
*/
return;
* and, as such, shouldn't really be created.
*/
return;
* given, we stop in our tracks, otherwise we just don't update
* this node's parents so they never get examined.
*/
* given, we stop in our tracks, otherwise we just don't update
* this node's parents so they never get examined.
*/
- if (gn->type & OP_DONTCARE) {
+ if (gn->type & OP_OPTIONAL) {
printf ("Can't figure out how to make %s (ignored)\n",
gn->name);
} else if (keepgoing) {
printf ("Can't figure out how to make %s (ignored)\n",
gn->name);
} else if (keepgoing) {
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * @(#)make.h 5.8 (Berkeley) %G%
+ * @(#)make.h 5.9 (Berkeley) %G%
* per line (::) */
#define OP_OPMASK (OP_DEPENDS|OP_FORCE|OP_DOUBLEDEP)
* per line (::) */
#define OP_OPMASK (OP_DEPENDS|OP_FORCE|OP_DOUBLEDEP)
-#define OP_DONTCARE 0x00000008 /* Don't care if the target doesn't
+#define OP_OPTIONAL 0x00000008 /* Don't care if the target doesn't
* exist and can't be created */
#define OP_USE 0x00000010 /* Use associated commands for parents */
#define OP_EXEC 0x00000020 /* Target is never out of date, but always
* exist and can't be created */
#define OP_USE 0x00000010 /* Use associated commands for parents */
#define OP_EXEC 0x00000020 /* Target is never out of date, but always
-static char sccsid[] = "@(#)parse.c 5.10 (Berkeley) %G%";
+static char sccsid[] = "@(#)parse.c 5.11 (Berkeley) %G%";
#endif /* not lint */
/*-
#endif /* not lint */
/*-
} parseKeywords[] = {
{ ".BEGIN", Begin, 0 },
{ ".DEFAULT", Default, 0 },
} parseKeywords[] = {
{ ".BEGIN", Begin, 0 },
{ ".DEFAULT", Default, 0 },
-{ ".DONTCARE", Attribute, OP_DONTCARE },
+{ ".OPTIONAL", Attribute, OP_OPTIONAL },
{ ".END", End, 0 },
{ ".EXEC", Attribute, OP_EXEC },
{ ".IGNORE", Ignore, OP_IGNORE },
{ ".END", End, 0 },
{ ".EXEC", Attribute, OP_EXEC },
{ ".IGNORE", Ignore, OP_IGNORE },
-static char sccsid[] = "@(#)targ.c 5.5 (Berkeley) %G%";
+static char sccsid[] = "@(#)targ.c 5.6 (Berkeley) %G%";
#endif /* not lint */
/*-
#endif /* not lint */
/*-
type &= ~tbit;
switch(tbit) {
type &= ~tbit;
switch(tbit) {
PRINTBIT(USE);
PRINTBIT(EXEC);
PRINTBIT(IGNORE);
PRINTBIT(USE);
PRINTBIT(EXEC);
PRINTBIT(IGNORE);