NetBSD/usr.sbin/config
thorpej 152af09e65 Add a mechanism to specify prefixes that are transparently prepended
to file specifications.  The prefixes are arranged in a stack, and
nest, so that file, object, and include specifications are normalized,
and all end up relative to the kernel compile directory.

For example, in the kernel config file:

# Pull in config fragments for kernel crypto
prefix ../crypto-us/sys 			# push it
cinclude "conf/files.crypto-us"			# include it if it's there
prefix						# pop it

and in files.crypto-us:

file netinet6/esp_core.c                ipsec & ipsec_esp
file netinet6/esp_output.c              ipsec & ipsec_esp
file netinet6/esp_input.c               ipsec & ipsec_esp

...generates the following in the kernel Makefile:

        $S/../crypto-us/sys/netinet6/esp_core.c \
        $S/../crypto-us/sys/netinet6/esp_output.c \
        $S/../crypto-us/sys/netinet6/esp_input.c \

By placing this all in the kernel config file, all the magic involved in
reaching into non-standard kernel source directories is placed into a file
that the user is expected to edit anyway, and reasonable examples (and
sane defaults, for typical source checkouts) can be provided.
1999-07-09 06:44:58 +00:00
..
Makefile
Makefile.boot Make this build on Solaris (make -f Makefile.boot) 1999-04-02 06:36:30 +00:00
config.8 More and more .Os cleanups. .Os is defined in the tmac.doc-common file, 1999-03-22 18:43:46 +00:00
config.h Add a mechanism to specify prefixes that are transparently prepended 1999-07-09 06:44:58 +00:00
files.c Add a mechanism to specify prefixes that are transparently prepended 1999-07-09 06:44:58 +00:00
gram.y Add a mechanism to specify prefixes that are transparently prepended 1999-07-09 06:44:58 +00:00
hash.c
main.c Add a mechanism to specify prefixes that are transparently prepended 1999-07-09 06:44:58 +00:00
mkheaders.c Add a mechanism to specify prefixes that are transparently prepended 1999-07-09 06:44:58 +00:00
mkioconf.c Lennart Augustsson's multi-valued locator code. 1999-01-21 13:10:08 +00:00
mkmakefile.c Add a mechanism to specify prefixes that are transparently prepended 1999-07-09 06:44:58 +00:00
mkswap.c
pack.c
scan.l Add a mechanism to specify prefixes that are transparently prepended 1999-07-09 06:44:58 +00:00
sem.c
sem.h
strerror.c
util.c Add a mechanism to specify prefixes that are transparently prepended 1999-07-09 06:44:58 +00:00