Changeset View
Changeset View
Standalone View
Standalone View
lib/libstats/Makefile
- This file was added.
# $FreeBSD$ | |||||
LIB= stats | |||||
SHLIBDIR?= /lib | |||||
SHLIB_MAJOR= 0 | |||||
SRCS= subr_stats.c | |||||
WARNS?= 6 | |||||
# To debug, comment WITHOUT_ASSERT_DEBUG= and uncomment CFLAGS:= | |||||
WITHOUT_ASSERT_DEBUG= | |||||
#CFLAGS:=${CFLAGS:C/-O[0-9]/-O0 -g3/} -DDIAGNOSTIC | |||||
.PATH: ${.CURDIR}/../../sys/kern | |||||
cem: Is here any userspace-only code that can be extracted from the giant subr_stats file and made… | |||||
Not Done Inline ActionsThis is still an open concern cem: This is still an open concern | |||||
.include <bsd.lib.mk> |
Is here any userspace-only code that can be extracted from the giant subr_stats file and made its own file here?
Likewise for the kernel-only portions?
Without having scanned in exhaustive detail, it seems like at least some significant portions are #ifdef kernel or vice versa, and IMO it would significantly help legibility to have more, smaller files with more explicit purpose.