Remove `config-dependent' and `device-driver' flags.

This commit is contained in:
mycroft 1996-08-12 00:55:54 +00:00
parent 558d72128e
commit b9ae4a5e3f
3 changed files with 8 additions and 13 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: config.h,v 1.23 1996/03/17 13:18:15 cgd Exp $ */
/* $NetBSD: config.h,v 1.24 1996/08/12 00:55:54 mycroft Exp $ */
/*
* Copyright (c) 1992, 1993
@ -218,11 +218,9 @@ struct files {
/* flags */
#define FI_SEL 0x01 /* selected */
#define FI_CONFIGDEP 0x02 /* config-dependent */
#define FI_DRIVER 0x04 /* device-driver */
#define FI_NEEDSCOUNT 0x08 /* needs-count */
#define FI_NEEDSFLAG 0x10 /* needs-flag */
#define FI_HIDDEN 0x20 /* obscured by other(s), base names overlap */
#define FI_NEEDSCOUNT 0x02 /* needs-count */
#define FI_NEEDSFLAG 0x04 /* needs-flag */
#define FI_HIDDEN 0x08 /* obscured by other(s), base names overlap */
/*
* Hash tables look up name=value pairs. The pointer value of the name

View File

@ -1,4 +1,4 @@
/* $NetBSD: mkmakefile.c,v 1.29 1996/03/17 13:18:23 cgd Exp $ */
/* $NetBSD: mkmakefile.c,v 1.30 1996/08/12 00:55:55 mycroft Exp $ */
/*
* Copyright (c) 1992, 1993
@ -337,12 +337,11 @@ emitrules(fp)
*fpath != '/' ? "$S/" : "", fpath) < 0)
return (1);
if ((cp = fi->fi_mkrule) == NULL) {
cp = fi->fi_flags & FI_DRIVER ? "DRIVER" : "NORMAL";
cp = "NORMAL";
ch = fpath[strlen(fpath) - 1];
if (islower(ch))
ch = toupper(ch);
(void)sprintf(buf, "${%s_%c%s}", cp, ch,
fi->fi_flags & FI_CONFIGDEP ? "_C" : "");
(void)sprintf(buf, "${%s_%c}", cp, ch);
cp = buf;
}
if (fprintf(fp, "\t%s\n\n", cp) < 0)

View File

@ -1,5 +1,5 @@
%{
/* $NetBSD: scan.l,v 1.4 1996/03/17 06:29:35 cgd Exp $ */
/* $NetBSD: scan.l,v 1.5 1996/08/12 00:55:57 mycroft Exp $ */
/*
* Copyright (c) 1992, 1993
@ -110,8 +110,6 @@ vector { return VECTOR; }
with { return WITH; }
/* keywords with values */
config-dependent { yylval.val = FI_CONFIGDEP; return FFLAG; }
device-driver { yylval.val = FI_DRIVER; return FFLAG; }
needs-count { yylval.val = FI_NEEDSCOUNT; return FFLAG; }
needs-flag { yylval.val = FI_NEEDSFLAG; return FFLAG; }