freebsd-nq/usr.bin/Makefile
Marcel Moolenaar 52183d0145 Add uuidgen(2) and uuidgen(1).
The uuidgen command, by means of the uuidgen syscall, generates one
or more Universally Unique Identifiers compatible with OSF/DCE 1.1
version 1 UUIDs.

From the Perforce logs (change 11995):

Round of cleanups:
o  Give uuidgen() the correct prototype in syscalls.master
o  Define struct uuid according to DCE 1.1 in sys/uuid.h
o  Use struct uuid instead of uuid_t. The latter is defined
   in sys/uuid.h but should not be used in kernel land.
o  Add snprintf_uuid(), printf_uuid() and sbuf_printf_uuid()
   to kern_uuid.c for use in the kernel (currently geom_gpt.c).
o  Rename the non-standard struct uuid in kern/kern_uuid.c
   to struct uuid_private and give it a slightly better definition
   for better byte-order handling. See below.
o  In sys/gpt.h, fix the broken uuid definitions to match the now
   compliant struct uuid definition. See below.
o  In usr.bin/uuidgen/uuidgen.c catch up with struct uuid change.

A note about byte-order:
        The standard failed to provide a non-conflicting and
unambiguous definition for the binary representation. My initial
implementation always wrote the timestamp as a 64-bit little-endian
(2s-complement) integral. The clock sequence was always written
as a 16-bit big-endian (2s-complement) integral. After a good
nights sleep and couple of Pan Galactic Gargle Blasters (not
necessarily in that order :-) I reread the spec and came to the
conclusion that the time fields are always written in the native
by order, provided the the low, mid and hi chopping still occurs.
The spec mentions that you "might need to swap bytes if you talk
to a machine that has a different byte-order". The clock sequence
is always written in big-endian order (as is the IEEE 802 address)
because its division is resulting in bytes, making the ordering
unambiguous.
2002-05-28 06:16:08 +00:00

256 lines
2.9 KiB
Makefile

# From: @(#)Makefile 8.3 (Berkeley) 1/7/94
# $FreeBSD$
# XXX MISSING: deroff diction graph learn plot
# spell spline struct xsend
# XXX broken: tconv
# XXX Use GNU versions: apropos bc dc diff grep ld man patch whatis
# Moved to secure: bdes
#
SUBDIR= apply \
asa \
at \
awk \
banner \
basename \
biff \
brandelf \
bzip2 \
c89 \
calendar \
cap_mkdb \
catman \
chat \
checknr \
chflags \
chpass \
cksum \
cmp \
col \
colcrt \
colldef \
colrm \
column \
comm \
compile_et \
compress \
csplit \
ctags \
cut \
dirname \
du \
ee \
enigma \
env \
expand \
false \
fetch \
file \
file2c \
find \
finger \
fmt \
fold \
from \
fstat \
fsync \
ftp \
gencat \
getopt \
gprof \
head \
help \
hesinfo \
hexdump \
id \
indent \
ipcrm \
ipcs \
join \
jot \
kdump \
kenv \
keylogin \
keylogout \
killall \
ktrace \
ktrdump \
lam \
last \
lastcomm \
ldd \
leave \
less \
lessecho \
lesskey \
lex \
limits \
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 \
sccs \
script \
sed \
shar \
showmount \
sockstat \
soelim \
split \
su \
symorder \
systat \
tabs \
tail \
talk \
tcopy \
tee \
tftp \
time \
tip \
top \
touch \
tput \
tr \
true \
truncate \
truss \
tset \
tsort \
tty \
ul \
uname \
unexpand \
unifdef \
uniq \
units \
unvis \
usbhidctl \
users \
uudecode \
uuencode \
uuidgen \
vgrind \
vi \
vis \
vmstat \
w \
wall \
wc \
what \
whereis \
which \
who \
whois \
window \
write \
xargs \
xinstall \
xstr \
yacc \
yes \
ypcat \
ypmatch \
ypwhich
.if defined(RELEASEDIR) || \
(!exists(${.CURDIR}/../kerberosIV) && !exists(${.CURDIR}/../secure)) || \
defined(NOCRYPT) || (defined(NOSECURE) && !defined(MAKE_KERBEROS4))
# Releases need both this non-crypt telnet and the crypt telnet.
SUBDIR+=telnet
.endif
.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+=ar \
doscmd \
gcore \
ncplist \
ncplogin \
nm \
ranlib \
sasc \
size \
smbutil \
strings \
strip
.endif
.if ${MACHINE_ARCH} == "alpha"
SUBDIR+=uac
.endif
# Things which don't compile on new platforms yet:
.if ${MACHINE_ARCH} != "sparc64" && ${MACHINE_ARCH} != "ia64"
SUBDIR+=xlint
.endif
.if ${CXX:T} != "c++"
SUBDIR+=getconf
.endif
.if exists(${.CURDIR}/../crypto) && !defined(NOCRYPT) && !defined(NO_OPENSSL)
SUBDIR+=chkey newkey
.endif
.include <bsd.subdir.mk>