7f4caa8c59
geom_uzip module. This is based on utility I wrote some 3 years ago for a hack for md(4), which functionally was close to what geom_uzip does today. Since I don't have a time to test that it compiles/works on other arches, stick it to i386 only. Will do it later. Unlike original cloop util, this one embedds FreeBSD-compatible shell code into the generated image, not Linux one. Unfortunately severe space restriction imposed by the CLOOP format doesn't allow to put conditional code which will work both on Linux and FreeBSD. In fact it was quite a challenge to fit necessary FreeBSD code into 127 bytes. ;-)
291 lines
3.2 KiB
Makefile
291 lines
3.2 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
|
|
#
|
|
|
|
SUBDIR= alias \
|
|
apply \
|
|
asa \
|
|
at \
|
|
${_atm} \
|
|
awk \
|
|
banner \
|
|
basename \
|
|
biff \
|
|
${_bluetooth} \
|
|
brandelf \
|
|
bzip2 \
|
|
bzip2recover \
|
|
${_c89} \
|
|
${_c99} \
|
|
calendar \
|
|
cap_mkdb \
|
|
catman \
|
|
chat \
|
|
checknr \
|
|
${_chkey} \
|
|
chpass \
|
|
cksum \
|
|
cmp \
|
|
col \
|
|
colcrt \
|
|
colldef \
|
|
colrm \
|
|
column \
|
|
comm \
|
|
compile_et \
|
|
compress \
|
|
csplit \
|
|
ctags \
|
|
cut \
|
|
${_dig} \
|
|
dirname \
|
|
${_dnskeygen} \
|
|
${_dnsquery} \
|
|
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 \
|
|
${_host} \
|
|
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 \
|
|
logins \
|
|
logname \
|
|
look \
|
|
lorder \
|
|
lsvfs \
|
|
m4 \
|
|
mail \
|
|
make \
|
|
makewhatis \
|
|
mesg \
|
|
minigzip \
|
|
mkdep \
|
|
mkfifo \
|
|
mklocale \
|
|
mkstr \
|
|
mktemp \
|
|
${_mkuzip} \
|
|
msgs \
|
|
mt \
|
|
ncal \
|
|
${_ncplist} \
|
|
${_ncplogin} \
|
|
netstat \
|
|
newgrp \
|
|
${_newkey} \
|
|
nfsstat \
|
|
nice \
|
|
nl \
|
|
nohup \
|
|
objformat \
|
|
opieinfo \
|
|
opiekey \
|
|
opiepasswd \
|
|
pagesize \
|
|
passwd \
|
|
paste \
|
|
pathchk \
|
|
pkill \
|
|
pr \
|
|
printenv \
|
|
printf \
|
|
quota \
|
|
renice \
|
|
rev \
|
|
rlogin \
|
|
rpcgen \
|
|
rpcinfo \
|
|
rs \
|
|
rsh \
|
|
rup \
|
|
ruptime \
|
|
rusers \
|
|
rwall \
|
|
rwho \
|
|
script \
|
|
sed \
|
|
shar \
|
|
showmount \
|
|
${_smbutil} \
|
|
sockstat \
|
|
split \
|
|
stat \
|
|
su \
|
|
systat \
|
|
tabs \
|
|
tail \
|
|
talk \
|
|
tar \
|
|
tcopy \
|
|
tee \
|
|
telnet \
|
|
tftp \
|
|
time \
|
|
tip \
|
|
top \
|
|
touch \
|
|
tput \
|
|
tr \
|
|
true \
|
|
truncate \
|
|
${_truss} \
|
|
tset \
|
|
tsort \
|
|
tty \
|
|
${_uac} \
|
|
ul \
|
|
uname \
|
|
unexpand \
|
|
unifdef \
|
|
uniq \
|
|
units \
|
|
unvis \
|
|
${_usbhidaction} \
|
|
${_usbhidctl} \
|
|
users \
|
|
uudecode \
|
|
uuencode \
|
|
uuidgen \
|
|
${_vacation} \
|
|
vgrind \
|
|
vi \
|
|
vis \
|
|
vmstat \
|
|
w \
|
|
wall \
|
|
wc \
|
|
what \
|
|
whereis \
|
|
which \
|
|
who \
|
|
whois \
|
|
window \
|
|
write \
|
|
xargs \
|
|
xinstall \
|
|
${_xlint} \
|
|
xstr \
|
|
${_yacc} \
|
|
yes \
|
|
ypcat \
|
|
ypmatch \
|
|
ypwhich
|
|
|
|
.if ${MACHINE_ARCH} != "arm" && \
|
|
${MACHINE_ARCH} != "powerpc"
|
|
_truss= truss
|
|
.endif
|
|
|
|
.if !defined(NOATM)
|
|
_atm= atm
|
|
.endif
|
|
|
|
.if !defined(NO_BIND)
|
|
_dig= dig
|
|
_dnskeygen= dnskeygen
|
|
_dnsquery= dnsquery
|
|
_host= host
|
|
.endif
|
|
|
|
.if !defined(NO_BLUETOOTH)
|
|
_bluetooth= bluetooth
|
|
.endif
|
|
|
|
.if !defined(NOCRYPT) && !defined(NO_OPENSSL)
|
|
_chkey= chkey
|
|
_newkey= newkey
|
|
.endif
|
|
|
|
.if !defined(NO_SENDMAIL)
|
|
_vacation= vacation
|
|
.endif
|
|
|
|
.if !defined(NO_TOOLCHAIN)
|
|
_c89= c89
|
|
_c99= c99
|
|
.if ${MACHINE_ARCH} != "powerpc"
|
|
_gprof= gprof
|
|
.endif
|
|
_lex= lex
|
|
_xlint= xlint
|
|
_yacc= yacc
|
|
.endif
|
|
|
|
.if !defined(NO_USB)
|
|
_usbhidaction= usbhidaction
|
|
_usbhidctl= usbhidctl
|
|
.endif
|
|
|
|
.if ${MACHINE_ARCH} == "i386"
|
|
_mkuzip= mkuzip
|
|
_ncplist= ncplist
|
|
_ncplogin= ncplogin
|
|
_smbutil= smbutil
|
|
.endif
|
|
|
|
.if ${MACHINE_ARCH} == "alpha"
|
|
_uac= uac
|
|
.endif
|
|
|
|
.if ${MACHINE_ARCH} == "amd64"
|
|
_ncplist= ncplist
|
|
_ncplogin= ncplogin
|
|
_smbutil= smbutil
|
|
.endif
|
|
|
|
.include <bsd.subdir.mk>
|