d0fd0203fb
This reduces build output, need for recalculating paths, and makes it clearer which paths are relative to what areas in the source tree. The change in performance over a locally mounted UFS filesystem was negligible in my testing, but this may more positively impact other filesystems like NFS. LIBC_SRCTOP was left alone so Juniper (and other users) can continue to manipulate lib/libc/Makefile (and other Makefile.inc's under lib/libc) as include Makefiles with custom options. Discussed with: marcel, sjg MFC after: 1 week Reviewed by: emaste Sponsored by: Dell EMC Isilon Differential Revision: https://reviews.freebsd.org/D9207
19 lines
508 B
Makefile
19 lines
508 B
Makefile
# $FreeBSD$
|
|
|
|
# capability sources
|
|
.PATH: ${SRCTOP}/sys/kern ${LIBC_SRCTOP}/capability
|
|
|
|
SRCS+= subr_capability.c
|
|
|
|
SYM_MAPS+= ${LIBC_SRCTOP}/capability/Symbol.map
|
|
|
|
MAN+= cap_rights_init.3
|
|
|
|
MLINKS+=cap_rights_init.3 cap_rights_set.3
|
|
MLINKS+=cap_rights_init.3 cap_rights_clear.3
|
|
MLINKS+=cap_rights_init.3 cap_rights_is_set.3
|
|
MLINKS+=cap_rights_init.3 cap_rights_is_valid.3
|
|
MLINKS+=cap_rights_init.3 cap_rights_merge.3
|
|
MLINKS+=cap_rights_init.3 cap_rights_remove.3
|
|
MLINKS+=cap_rights_init.3 cap_rights_contains.3
|