freebsd-nq/usr.sbin/config
Justin T. Gibbs 80785c507b Add new keywords to config. The options availible in file.i386 are now:
/*
         * filename     [ standard | optional ] [ config-dependent ]
         *      [ dev* | profiling-routine ] [ device-driver] [ no-obj ]
         *      [ compile-with "compile rule" [no-implicit-rule] ]
         *                     [ dependancy "dependancy-list"]
         */

I added

no-obj -  This entry does not create anything linkable to the kernel.
dependancy - Add additional dependancy rules to a target.
no-implicit-rule - Don't assume .c -> .o type rules.  Config is really
             dumb in this area and assumes that everything is a .c file
	     irregarless of extention.  This was the best choice really
	     since there may even be .c file that you don't want to follow
	     the standard rules.

This was all done so that the building to the aic7770 assembler and using
the aic7770 assembler in the building of the aic7770 driver could be config
dependant.  I can now have an entry like this for the driver:

aic7770                         optional        ahc     device-driver   \
        compile-with    "${CC} $> -o $@"                                \
        dependancy      "$S/gnu/misc/aic7770/aic7770.c"                 \
        no-obj no-implicit-rule
aic7770_seq.h                   optional        ahc     device-driver          \
        compile-with "${.CURDIR}/aic7770 -o $@ $S/gnu/misc/aic7770/aic7770.seq"\
        dependancy "$S/gnu/misc/aic7770/aic7770.seq aic7770"                   \
        no-obj no-implicit-rule
i386/isa/aic7770.c              optional        ahc     device-driver   \
        dependancy "aic7770_seq.h"

I also added '\' escaping to newlines so that this doesn't look as gross as
it could have.

Reviewed by: jkh
1994-11-17 20:30:01 +00:00
..
SMM.doc Converted 'vmunix' to 'kernel'. 1994-08-05 09:14:37 +00:00
config.8 Support for Bruce Evans' new dynamic interrupt support. 1994-08-18 05:11:32 +00:00
config.h Add new keywords to config. The options availible in file.i386 are now: 1994-11-17 20:30:01 +00:00
config.y Disallow timezone specification, but still allow it to be present 1994-08-08 15:09:40 +00:00
lang.l Treat formfeeds like any other whitespace. 1994-11-07 19:57:20 +00:00
main.c Add new keywords to config. The options availible in file.i386 are now: 1994-11-17 20:30:01 +00:00
Makefile Revert back to old config behavior if compiled with -DCONFIG_DONT_CLOBBER. 1994-09-06 20:04:39 +00:00
mkglue.c Oops...forgot to list the changes.... 1994-08-18 05:15:26 +00:00
mkheaders.c BSD 4.4 Lite usr.sbin Sources 1994-05-26 05:23:31 +00:00
mkioconf.c Don't include map.h - it's been obsoleted. 1994-11-03 15:34:24 +00:00
mkmakefile.c Add new keywords to config. The options availible in file.i386 are now: 1994-11-17 20:30:01 +00:00
mkswapconf.c Added a slot in the swap-dev-table for NFS-diskless to abuse. 1994-10-18 08:16:29 +00:00
mkubglue.c BSD 4.4 Lite usr.sbin Sources 1994-05-26 05:23:31 +00:00