NetBSD/usr.sbin/config
thorpej bc1733bc88 Add code to emit the cfdriver structures into ioconf.c. This requires
a change to the config grammar, to specify a device's class (i.e. DV_xxx)
like:

device	sd class disk: ...

Also emit an ioconf.h, which contains extern declarations of the
cfdriver structures.

While I'm here, add support for specifying multiple options per defopt
line, as well as specifying the file name in which the options will
appear.

defopt	foo bar baz

generates "opt_foo.h", "opt_bar.h", and "opt_baz.h"

defopt	opt_mumble.h foo bar baz

generates "opt_mumble.h" which contains all three options.

Also, clean up and fix some bugs in the code that generates header files.
1998-01-12 07:37:40 +00:00
..
Makefile use CPPFLAGS instead of CFLAGS 1997-10-23 06:31:59 +00:00
Makefile.boot Minor changes to support building on other systems (i.e. SunOS). 1996-11-07 22:59:39 +00:00
config.8 WARNSify, deprecate register, remove unused functions 1997-10-18 07:58:56 +00:00
config.h Add code to emit the cfdriver structures into ioconf.c. This requires 1998-01-12 07:37:40 +00:00
files.c WARNSify, deprecate register, remove unused functions 1997-10-18 07:58:56 +00:00
gram.y Add code to emit the cfdriver structures into ioconf.c. This requires 1998-01-12 07:37:40 +00:00
hash.c WARNSify, deprecate register, remove unused functions 1997-10-18 07:58:56 +00:00
main.c Add code to emit the cfdriver structures into ioconf.c. This requires 1998-01-12 07:37:40 +00:00
mkheaders.c Add code to emit the cfdriver structures into ioconf.c. This requires 1998-01-12 07:37:40 +00:00
mkioconf.c Add code to emit the cfdriver structures into ioconf.c. This requires 1998-01-12 07:37:40 +00:00
mkmakefile.c WARNSify, deprecate register, remove unused functions 1997-10-18 07:58:56 +00:00
mkswap.c WARNSify, deprecate register, remove unused functions 1997-10-18 07:58:56 +00:00
pack.c WARNSify, deprecate register, remove unused functions 1997-10-18 07:58:56 +00:00
scan.l Add code to emit the cfdriver structures into ioconf.c. This requires 1998-01-12 07:37:40 +00:00
sem.c Add code to emit the cfdriver structures into ioconf.c. This requires 1998-01-12 07:37:40 +00:00
sem.h Add code to emit the cfdriver structures into ioconf.c. This requires 1998-01-12 07:37:40 +00:00
strerror.c RCS Id Police. 1998-01-09 08:03:16 +00:00
util.c WARNSify, deprecate register, remove unused functions 1997-10-18 07:58:56 +00:00