freebsd-skq/usr.bin/Makefile
markm d6aec2b6d6 Very big makeover in the way telnet, telnetd and libtelnet are built.
Previously, there were two copies of telnet; a non-crypto version
that lived in the usual places, and a crypto version that lived in
crypto/telnet/. The latter was built in a broken manner somewhat akin
to other "contribified" sources. This meant that there were 4 telnets
competing with each other at build time - KerberosIV, Kerberos5,
plain-old-secure and base. KerberosIV is no longer in the running, but
the other three took it in turns to jump all over each other during a
"make buildworld".

As the crypto issue has been clarified, and crypto _calls_ are not
a problem, crypto/telnet has been repo-copied to contrib/telnet,
and with this commit, all telnets are now "contribified". The contrib
path was chosen to not destroy history in the repository, and differs
from other contrib/ entries in that it may be worked on as "normal"
BSD code. There is no dangerous crypto in these sources, only a
very weak system less strong than enigma(1).

Kerberos5 telnet and Secure telnet are now selected by using the usual
macros in /etc/make.conf, and the build process is unsurprising and
less treacherous.
2003-07-16 20:59:15 +00:00

250 lines
2.7 KiB
Makefile

# From: @(#)Makefile 8.3 (Berkeley) 1/7/94
# $FreeBSD$
# XXX MISSING: deroff diction graph learn plot
# spell spline struct xsend
# XXX Use GNU versions: apropos bc dc diff grep ld man patch whatis
# Moved to secure: bdes
#
.if ${MACHINE_ARCH} != "ia64"
_xlint= xlint
.endif
.if ${MACHINE_ARCH} != "powerpc" && ${MACHINE_ARCH} != "amd64"
_gprof= gprof
_truss= truss
.endif
SUBDIR= alias \
apply \
asa \
at \
awk \
banner \
basename \
biff \
brandelf \
bzip2 \
bzip2recover \
c89 \
c99 \
calendar \
cap_mkdb \
catman \
chat \
checknr \
chpass \
cksum \
cmp \
col \
colcrt \
colldef \
colrm \
column \
comm \
compile_et \
compress \
csplit \
ctags \
cut \
dirname \
du \
ee \
elf2aout \
elfdump \
enigma \
env \
expand \
false \
fetch \
file \
file2c \
find \
finger \
fmt \
fold \
from \
fstat \
fsync \
ftp \
gcore \
gencat \
getconf \
getopt \
${_gprof} \
head \
hesinfo \
hexdump \
id \
indent \
ipcrm \
ipcs \
join \
jot \
kdump \
keylogin \
keylogout \
killall \
ktrace \
ktrdump \
lam \
last \
lastcomm \
ldd \
leave \
less \
lessecho \
lesskey \
lex \
limits \
locale \
locate \
lock \
lockf \
logger \
login \
logname \
look \
lorder \
lsvfs \
m4 \
mail \
make \
makewhatis \
mesg \
minigzip \
mkdep \
mkfifo \
mklocale \
mkstr \
mktemp \
msgs \
mt \
ncal \
netstat \
newgrp \
nfsstat \
nice \
nl \
nohup \
objformat \
opieinfo \
opiekey \
opiepasswd \
pagesize \
passwd \
paste \
pathchk \
pr \
printenv \
printf \
quota \
renice \
rev \
rlogin \
rpcgen \
rpcinfo \
rs \
rsh \
rup \
ruptime \
rusers \
rwall \
rwho \
script \
sed \
shar \
showmount \
sockstat \
split \
stat \
su \
symorder \
systat \
tabs \
tail \
talk \
tcopy \
tee \
telnet \
tftp \
time \
tip \
top \
touch \
tput \
tr \
true \
truncate \
${_truss} \
tset \
tsort \
tty \
ul \
uname \
unexpand \
unifdef \
uniq \
units \
unvis \
usbhidaction \
usbhidctl \
users \
uudecode \
uuencode \
uuidgen \
vgrind \
vi \
vis \
vmstat \
w \
wall \
wc \
what \
whereis \
which \
who \
whois \
window \
write \
xargs \
xinstall \
${_xlint} \
xstr \
yacc \
yes \
ypcat \
ypmatch \
ypwhich
.if !defined(NO_BIND)
SUBDIR+=dig \
dnskeygen \
dnsquery \
host
.endif
.if !defined(NO_SENDMAIL)
SUBDIR+=vacation
.endif
.if ${MACHINE_ARCH} == "i386"
# Things that don't compile on alpha or are aout specific:
SUBDIR+=doscmd \
ncplist \
ncplogin \
sasc \
smbutil
.endif
.if ${MACHINE_ARCH} == "alpha"
SUBDIR+=uac
.endif
.if exists(${.CURDIR}/../crypto) && !defined(NOCRYPT) && !defined(NO_OPENSSL)
SUBDIR+=chkey newkey
.endif
.include <bsd.subdir.mk>