48bfd35976
This program prints the number of CPU threads it can run on, while respecting cpusets (or not, depending on switches). It aims to be compatible with nproc as found in GNU coreutils. Reviewed by: des Reviewed by: pstef Differential Revision: https://reviews.freebsd.org/D38386
54 lines
568 B
Makefile
54 lines
568 B
Makefile
# From: @(#)Makefile 8.1 (Berkeley) 5/31/93
|
|
# $FreeBSD$
|
|
|
|
.include <src.opts.mk>
|
|
|
|
SUBDIR= cat \
|
|
chflags \
|
|
chio \
|
|
chmod \
|
|
cp \
|
|
date \
|
|
dd \
|
|
df \
|
|
domainname \
|
|
echo \
|
|
ed \
|
|
expr \
|
|
freebsd-version \
|
|
getfacl \
|
|
hostname \
|
|
kenv \
|
|
kill \
|
|
ln \
|
|
ls \
|
|
mkdir \
|
|
mv \
|
|
nproc \
|
|
pax \
|
|
pkill \
|
|
ps \
|
|
pwait \
|
|
pwd \
|
|
realpath \
|
|
rm \
|
|
rmdir \
|
|
setfacl \
|
|
sh \
|
|
sleep \
|
|
stty \
|
|
sync \
|
|
test \
|
|
timeout \
|
|
uuidgen
|
|
|
|
SUBDIR.${MK_SENDMAIL}+= rmail
|
|
SUBDIR.${MK_TCSH}+= csh
|
|
SUBDIR.${MK_TESTS}+= tests
|
|
|
|
.include <bsd.arch.inc.mk>
|
|
|
|
SUBDIR_PARALLEL=
|
|
|
|
.include <bsd.subdir.mk>
|