cfac01438a
These are only handled as 'build-tools' in Makefile.inc1. This causes 'make clean' from the top of the tree to not clean the directories. It also effectively has kept them disconnected and risks them bitrotting. The buildworld process never cleans them either. Connect them so they will always be built, cleaned, etc, but never installed. Discussed with: imp (briefly) Sponsored by: EMC / Isilon Storage Division
418 lines
5.0 KiB
Makefile
418 lines
5.0 KiB
Makefile
# From: @(#)Makefile 8.3 (Berkeley) 1/7/94
|
|
# $FreeBSD$
|
|
|
|
.include <src.opts.mk>
|
|
|
|
# XXX MISSING: deroff diction graph learn plot
|
|
# spell spline struct xsend
|
|
# XXX Use GNU versions: diff ld patch
|
|
# Moved to secure: bdes
|
|
#
|
|
|
|
SUBDIR= alias \
|
|
apply \
|
|
asa \
|
|
awk \
|
|
banner \
|
|
basename \
|
|
brandelf \
|
|
bsdiff \
|
|
bzip2 \
|
|
bzip2recover \
|
|
cap_mkdb \
|
|
chat \
|
|
chpass \
|
|
cksum \
|
|
cmp \
|
|
col \
|
|
colldef \
|
|
colrm \
|
|
column \
|
|
comm \
|
|
compress \
|
|
cpuset \
|
|
csplit \
|
|
ctlstat \
|
|
cut \
|
|
dirname \
|
|
dpv \
|
|
du \
|
|
elf2aout \
|
|
elfdump \
|
|
enigma \
|
|
env \
|
|
expand \
|
|
false \
|
|
fetch \
|
|
find \
|
|
fmt \
|
|
fold \
|
|
fstat \
|
|
fsync \
|
|
gcore \
|
|
gencat \
|
|
getconf \
|
|
getent \
|
|
getopt \
|
|
grep \
|
|
gzip \
|
|
head \
|
|
hexdump \
|
|
id \
|
|
ident \
|
|
ipcrm \
|
|
ipcs \
|
|
join \
|
|
jot \
|
|
keylogin \
|
|
keylogout \
|
|
killall \
|
|
ktrace \
|
|
ktrdump \
|
|
lam \
|
|
lastcomm \
|
|
ldd \
|
|
leave \
|
|
less \
|
|
lessecho \
|
|
lesskey \
|
|
limits \
|
|
locale \
|
|
lock \
|
|
lockf \
|
|
logger \
|
|
login \
|
|
logins \
|
|
logname \
|
|
look \
|
|
lorder \
|
|
lsvfs \
|
|
lzmainfo \
|
|
m4 \
|
|
mandoc \
|
|
mesg \
|
|
minigzip \
|
|
ministat \
|
|
mkdep \
|
|
mkfifo \
|
|
mkimg \
|
|
mklocale \
|
|
mktemp \
|
|
mkulzma \
|
|
mkuzip \
|
|
mt \
|
|
ncal \
|
|
netstat \
|
|
newgrp \
|
|
nfsstat \
|
|
nice \
|
|
nl \
|
|
numactl \
|
|
nohup \
|
|
opieinfo \
|
|
opiekey \
|
|
opiepasswd \
|
|
pagesize \
|
|
passwd \
|
|
paste \
|
|
patch \
|
|
pathchk \
|
|
perror \
|
|
pr \
|
|
printenv \
|
|
printf \
|
|
procstat \
|
|
protect \
|
|
rctl \
|
|
renice \
|
|
rev \
|
|
revoke \
|
|
rpcinfo \
|
|
rs \
|
|
rup \
|
|
rusers \
|
|
rwall \
|
|
script \
|
|
sed \
|
|
send-pr \
|
|
seq \
|
|
shar \
|
|
showmount \
|
|
sockstat \
|
|
soelim \
|
|
sort \
|
|
split \
|
|
stat \
|
|
stdbuf \
|
|
su \
|
|
systat \
|
|
tabs \
|
|
tail \
|
|
tar \
|
|
tcopy \
|
|
tee \
|
|
time \
|
|
timeout \
|
|
tip \
|
|
top \
|
|
touch \
|
|
tput \
|
|
tr \
|
|
true \
|
|
truncate \
|
|
tset \
|
|
tsort \
|
|
tty \
|
|
uname \
|
|
unexpand \
|
|
uniq \
|
|
unzip \
|
|
units \
|
|
unvis \
|
|
uudecode \
|
|
uuencode \
|
|
vis \
|
|
vmstat \
|
|
w \
|
|
wall \
|
|
wc \
|
|
what \
|
|
whereis \
|
|
which \
|
|
whois \
|
|
write \
|
|
xargs \
|
|
xinstall \
|
|
xo \
|
|
xz \
|
|
xzdec \
|
|
yes
|
|
|
|
# NB: keep these sorted by MK_* knobs
|
|
|
|
.if ${MK_AT} != "no"
|
|
SUBDIR+= at
|
|
.endif
|
|
|
|
.if ${MK_ATM} != "no"
|
|
SUBDIR+= atm
|
|
.endif
|
|
|
|
.if ${MK_BLUETOOTH} != "no"
|
|
SUBDIR+= bluetooth
|
|
.endif
|
|
|
|
.if ${MK_BSD_CPIO} != "no"
|
|
SUBDIR+= cpio
|
|
.endif
|
|
|
|
.if ${MK_CALENDAR} != "no"
|
|
SUBDIR+= calendar
|
|
.endif
|
|
|
|
.if ${MK_CLANG} != "no"
|
|
SUBDIR+= clang
|
|
.endif
|
|
|
|
.if ${MK_EE} != "no"
|
|
SUBDIR+= ee
|
|
.endif
|
|
|
|
.if ${MK_FILE} != "no"
|
|
SUBDIR+= file
|
|
.endif
|
|
|
|
.if ${MK_FINGER} != "no"
|
|
SUBDIR+= finger
|
|
.endif
|
|
|
|
.if ${MK_FTP} != "no"
|
|
SUBDIR+= ftp
|
|
.endif
|
|
|
|
.if ${MK_GPL_DTC} != "yes"
|
|
SUBDIR+= dtc
|
|
.endif
|
|
|
|
.if ${MK_GROFF} != "no"
|
|
SUBDIR+= vgrind
|
|
.endif
|
|
|
|
.if ${MK_HESIOD} != "no"
|
|
SUBDIR+= hesinfo
|
|
.endif
|
|
|
|
.if ${MK_ICONV} != "no"
|
|
SUBDIR+= iconv
|
|
SUBDIR+= mkcsmapper
|
|
SUBDIR+= mkesdb
|
|
.endif
|
|
|
|
.if ${MK_ISCSI} != "no"
|
|
SUBDIR+= iscsictl
|
|
.endif
|
|
|
|
.if ${MK_KDUMP} != "no"
|
|
SUBDIR+= kdump
|
|
.if ${MACHINE_ARCH} != "aarch64" # ARM64TODO truss does not build
|
|
SUBDIR+= truss
|
|
.endif
|
|
.endif
|
|
|
|
.if ${MK_KERBEROS_SUPPORT} != "no"
|
|
SUBDIR+= compile_et
|
|
.endif
|
|
|
|
.if ${MK_LDNS_UTILS} != "no"
|
|
SUBDIR+= drill
|
|
SUBDIR+= host
|
|
.endif
|
|
|
|
.if ${MK_LOCATE} != "no"
|
|
SUBDIR+= locate
|
|
.endif
|
|
|
|
# XXX msgs?
|
|
.if ${MK_MAIL} != "no"
|
|
SUBDIR+= biff
|
|
SUBDIR+= from
|
|
SUBDIR+= mail
|
|
SUBDIR+= msgs
|
|
.endif
|
|
|
|
.if ${MK_MAKE} != "no"
|
|
SUBDIR+= bmake
|
|
.endif
|
|
|
|
.if ${MK_MAN_UTILS} != "no"
|
|
SUBDIR+= catman
|
|
.if ${MK_MANDOCDB} == "no"
|
|
SUBDIR+= makewhatis
|
|
.endif
|
|
SUBDIR+= man
|
|
.endif
|
|
|
|
.if ${MK_NETCAT} != "no"
|
|
SUBDIR+= nc
|
|
.endif
|
|
|
|
.if ${MK_NIS} != "no"
|
|
SUBDIR+= ypcat
|
|
SUBDIR+= ypmatch
|
|
SUBDIR+= ypwhich
|
|
.endif
|
|
|
|
.if ${MK_OPENSSH} != "no"
|
|
SUBDIR+= ssh-copy-id
|
|
.endif
|
|
|
|
.if ${MK_OPENSSL} != "no"
|
|
SUBDIR+= bc
|
|
SUBDIR+= chkey
|
|
SUBDIR+= dc
|
|
SUBDIR+= newkey
|
|
.endif
|
|
|
|
.if ${MK_QUOTAS} != "no"
|
|
SUBDIR+= quota
|
|
.endif
|
|
|
|
.if ${MK_RCMDS} != "no"
|
|
SUBDIR+= rlogin
|
|
SUBDIR+= rsh
|
|
SUBDIR+= ruptime
|
|
SUBDIR+= rwho
|
|
.endif
|
|
|
|
.if ${MK_SENDMAIL} != "no"
|
|
SUBDIR+= vacation
|
|
.endif
|
|
|
|
.if ${MK_TALK} != "no"
|
|
SUBDIR+= talk
|
|
.endif
|
|
|
|
.if ${MK_TELNET} != "no"
|
|
SUBDIR+= telnet
|
|
.endif
|
|
|
|
.if ${MK_TESTS} != "no"
|
|
SUBDIR+= tests
|
|
.endif
|
|
|
|
.if ${MK_TEXTPROC} != "no"
|
|
SUBDIR+= checknr
|
|
SUBDIR+= colcrt
|
|
SUBDIR+= ul
|
|
.endif
|
|
|
|
.if ${MK_TFTP} != "no"
|
|
SUBDIR+= tftp
|
|
.endif
|
|
|
|
.if ${MK_TOOLCHAIN} != "no"
|
|
SUBDIR+= addr2line
|
|
SUBDIR+= ar
|
|
SUBDIR+= c89
|
|
SUBDIR+= c99
|
|
SUBDIR+= ctags
|
|
SUBDIR+= cxxfilt
|
|
SUBDIR+= elfcopy
|
|
SUBDIR+= file2c
|
|
.if ${MACHINE_ARCH} != "aarch64" # ARM64TODO gprof does not build
|
|
SUBDIR+= gprof
|
|
.endif
|
|
SUBDIR+= indent
|
|
SUBDIR+= lex
|
|
SUBDIR+= mkstr
|
|
SUBDIR+= nm
|
|
SUBDIR+= readelf
|
|
SUBDIR+= rpcgen
|
|
SUBDIR+= unifdef
|
|
SUBDIR+= size
|
|
SUBDIR+= strings
|
|
.if ${MACHINE_ARCH} != "aarch64" # ARM64TODO xlint does not build
|
|
SUBDIR+= xlint
|
|
.endif
|
|
SUBDIR+= xstr
|
|
SUBDIR+= yacc
|
|
.endif
|
|
|
|
.if ${MK_VI} != "no"
|
|
SUBDIR+= vi
|
|
.endif
|
|
|
|
.if ${MK_VT} != "no"
|
|
SUBDIR+= vtfontcvt
|
|
.endif
|
|
|
|
.if ${MK_USB} != "no"
|
|
SUBDIR+= usbhidaction
|
|
SUBDIR+= usbhidctl
|
|
.endif
|
|
|
|
.if ${MK_UTMPX} != "no"
|
|
SUBDIR+= last
|
|
SUBDIR+= users
|
|
SUBDIR+= who
|
|
.endif
|
|
|
|
.if ${MK_SVN} == "yes" || ${MK_SVNLITE} == "yes"
|
|
SUBDIR+= svn
|
|
.endif
|
|
|
|
# These are normally only handled for build-tools. Connect them for
|
|
# all but installing to keep them reasonably connected.
|
|
.if !make(install)
|
|
SUBDIR+= mkcsmapper_static
|
|
SUBDIR+= mkesdb_static
|
|
.endif
|
|
|
|
.include <bsd.arch.inc.mk>
|
|
|
|
SUBDIR:= ${SUBDIR:O}
|
|
|
|
SUBDIR_PARALLEL=
|
|
|
|
.include <bsd.subdir.mk>
|