2003-11-23 18:12:54 +00:00
|
|
|
PLAN9=../..
|
|
|
|
<$PLAN9/src/mkhdr
|
|
|
|
|
|
|
|
LIB=lib9.a
|
|
|
|
|
2004-02-29 22:10:26 +00:00
|
|
|
NUM=\
|
|
|
|
charstod.$O\
|
|
|
|
pow10.$O\
|
|
|
|
|
|
|
|
# Could add errfmt, but we want to pick it up from lib9 instead.
|
|
|
|
FMTOFILES=\
|
|
|
|
dofmt.$O\
|
|
|
|
fltfmt.$O\
|
|
|
|
fmt.$O\
|
|
|
|
fmtfd.$O\
|
|
|
|
fmtfdflush.$O\
|
|
|
|
fmtlock.$O\
|
|
|
|
fmtprint.$O\
|
|
|
|
fmtquote.$O\
|
|
|
|
fmtrune.$O\
|
|
|
|
fmtstr.$O\
|
|
|
|
fmtvprint.$O\
|
|
|
|
fprint.$O\
|
|
|
|
nan64.$O\
|
|
|
|
print.$O\
|
|
|
|
runefmtstr.$O\
|
|
|
|
runeseprint.$O\
|
|
|
|
runesmprint.$O\
|
|
|
|
runesnprint.$O\
|
|
|
|
runesprint.$O\
|
|
|
|
runevseprint.$O\
|
|
|
|
runevsmprint.$O\
|
|
|
|
runevsnprint.$O\
|
|
|
|
seprint.$O\
|
|
|
|
smprint.$O\
|
|
|
|
snprint.$O\
|
|
|
|
sprint.$O\
|
|
|
|
strtod.$O\
|
|
|
|
vfprint.$O\
|
|
|
|
vseprint.$O\
|
|
|
|
vsmprint.$O\
|
|
|
|
vsnprint.$O\
|
|
|
|
$NUM\
|
|
|
|
|
|
|
|
UTFOFILES=\
|
|
|
|
rune.$O\
|
|
|
|
runestrcat.$O\
|
|
|
|
runestrchr.$O\
|
|
|
|
runestrcmp.$O\
|
|
|
|
runestrcpy.$O\
|
|
|
|
runestrdup.$O\
|
|
|
|
runestrlen.$O\
|
|
|
|
runestrecpy.$O\
|
|
|
|
runestrncat.$O\
|
|
|
|
runestrncmp.$O\
|
|
|
|
runestrncpy.$O\
|
|
|
|
runestrrchr.$O\
|
|
|
|
runestrstr.$O\
|
|
|
|
runetype.$O\
|
|
|
|
utfecpy.$O\
|
|
|
|
utflen.$O\
|
|
|
|
utfnlen.$O\
|
|
|
|
utfrrune.$O\
|
|
|
|
utfrune.$O\
|
|
|
|
utfutf.$O\
|
|
|
|
|
2004-02-29 22:49:59 +00:00
|
|
|
LIB9OFILES=\
|
2003-11-23 18:12:54 +00:00
|
|
|
_exits.$O\
|
|
|
|
_p9dialparse.$O\
|
|
|
|
_p9dir.$O\
|
|
|
|
_p9proc.$O\
|
|
|
|
announce.$O\
|
|
|
|
argv0.$O\
|
|
|
|
atexit.$O\
|
|
|
|
atnotify.$O\
|
|
|
|
await.$O\
|
|
|
|
cistrcmp.$O\
|
|
|
|
cistrncmp.$O\
|
|
|
|
cistrstr.$O\
|
|
|
|
cleanname.$O\
|
2003-12-06 18:05:27 +00:00
|
|
|
convD2M.$O\
|
|
|
|
convM2D.$O\
|
|
|
|
convM2S.$O\
|
|
|
|
convS2M.$O\
|
2003-11-23 18:12:54 +00:00
|
|
|
create.$O\
|
|
|
|
ctime.$O\
|
|
|
|
date.$O\
|
|
|
|
dial.$O\
|
|
|
|
dirfstat.$O\
|
|
|
|
dirfwstat.$O\
|
|
|
|
dirmodefmt.$O\
|
|
|
|
dirread.$O\
|
|
|
|
dirstat.$O\
|
|
|
|
dirwstat.$O\
|
|
|
|
dup.$O\
|
|
|
|
encodefmt.$O\
|
|
|
|
errstr.$O\
|
|
|
|
exec.$O\
|
2003-12-06 18:05:27 +00:00
|
|
|
fcallfmt.$O\
|
2003-11-23 18:12:54 +00:00
|
|
|
ffork-$SYSNAME.$O\
|
2004-03-25 23:03:57 +00:00
|
|
|
get9root.$O\
|
2003-11-23 18:12:54 +00:00
|
|
|
getcallerpc-$OBJTYPE.$O\
|
|
|
|
getenv.$O\
|
|
|
|
getfields.$O\
|
2003-12-11 17:48:38 +00:00
|
|
|
getns.$O\
|
2003-11-23 18:12:54 +00:00
|
|
|
getuser.$O\
|
|
|
|
getwd.$O\
|
|
|
|
jmp.$O\
|
2004-03-21 04:33:13 +00:00
|
|
|
lrand.$O\
|
|
|
|
lnrand.$O\
|
2003-11-23 18:12:54 +00:00
|
|
|
lock.$O\
|
|
|
|
main.$O\
|
2003-12-11 17:48:38 +00:00
|
|
|
malloc.$O\
|
2003-11-23 18:12:54 +00:00
|
|
|
malloctag.$O\
|
|
|
|
mallocz.$O\
|
2003-12-04 19:16:29 +00:00
|
|
|
nan.$O\
|
2003-11-23 18:12:54 +00:00
|
|
|
needsrcquote.$O\
|
|
|
|
netmkaddr.$O\
|
|
|
|
notify.$O\
|
|
|
|
nrand.$O\
|
|
|
|
nulldir.$O\
|
2003-12-11 17:48:38 +00:00
|
|
|
open.$O\
|
2004-03-21 04:33:13 +00:00
|
|
|
opentemp.$O\
|
2003-12-11 17:48:38 +00:00
|
|
|
pipe.$O\
|
|
|
|
post9p.$O\
|
2003-11-23 18:12:54 +00:00
|
|
|
postnote.$O\
|
|
|
|
qlock.$O\
|
|
|
|
quote.$O\
|
2003-12-11 17:48:38 +00:00
|
|
|
read9pmsg.$O\
|
2003-11-23 18:12:54 +00:00
|
|
|
readn.$O\
|
|
|
|
rendez-$SYSNAME.$O\
|
|
|
|
rfork.$O\
|
|
|
|
seek.$O\
|
2003-12-11 17:48:38 +00:00
|
|
|
sendfd.$O\
|
2003-11-23 18:12:54 +00:00
|
|
|
sleep.$O\
|
|
|
|
strecpy.$O\
|
|
|
|
sysfatal.$O\
|
|
|
|
tas-$OBJTYPE.$O\
|
|
|
|
time.$O\
|
|
|
|
tokenize.$O\
|
|
|
|
u16.$O\
|
|
|
|
u32.$O\
|
|
|
|
u64.$O\
|
2004-03-25 23:03:57 +00:00
|
|
|
unsharp.$O\
|
2003-11-23 18:12:54 +00:00
|
|
|
wait.$O\
|
|
|
|
waitpid.$O\
|
|
|
|
|
2004-02-29 22:49:59 +00:00
|
|
|
OFILES=\
|
|
|
|
$LIB9OFILES\
|
|
|
|
$FMTOFILES\
|
|
|
|
$UTFOFILES\
|
|
|
|
|
2003-11-23 18:12:54 +00:00
|
|
|
HFILES=\
|
|
|
|
$PLAN9/include/lib9.h\
|
|
|
|
|
|
|
|
<$PLAN9/src/mksyslib
|
2004-02-29 22:10:26 +00:00
|
|
|
|
|
|
|
%.$O: fmt/%.c
|
|
|
|
$CC $CFLAGS -Ifmt fmt/$stem.c
|
|
|
|
|
|
|
|
%.$O: utf/%.c
|
|
|
|
$CC $CFLAGS utf/$stem.c
|
|
|
|
|