2003-11-23 18:10:54 +00:00
|
|
|
DIRS=\
|
|
|
|
lib9\
|
|
|
|
libbin\
|
|
|
|
libbio\
|
|
|
|
libdraw\
|
|
|
|
libflate\
|
|
|
|
libframe\
|
2004-01-09 00:14:47 +00:00
|
|
|
libfs\
|
2004-02-29 22:10:26 +00:00
|
|
|
# libhttpd\
|
2003-11-25 02:11:11 +00:00
|
|
|
# libip\
|
2004-01-09 00:14:47 +00:00
|
|
|
libmux\
|
2003-11-25 03:03:45 +00:00
|
|
|
libplumb\
|
2003-11-23 18:10:54 +00:00
|
|
|
libregexp\
|
|
|
|
libsec\
|
|
|
|
libthread\
|
2004-02-29 22:10:26 +00:00
|
|
|
# libventi\
|
2003-11-23 20:04:53 +00:00
|
|
|
cmd\
|
2003-11-23 18:10:54 +00:00
|
|
|
|
|
|
|
<mkdirs
|
|
|
|
|
|
|
|
MKDIRS=\
|
|
|
|
libbio\
|
|
|
|
libregexp\
|
|
|
|
cmd/mk\
|
|
|
|
|
|
|
|
mkmk.sh:VD:
|
|
|
|
(
|
2004-02-29 22:49:59 +00:00
|
|
|
echo cd lib9
|
|
|
|
(cd lib9; mk -n -a 'LIB9OFILES=' install)
|
|
|
|
echo cd ..
|
|
|
|
for i in libbio libregexp cmd/mk
|
2003-11-23 18:10:54 +00:00
|
|
|
do
|
|
|
|
echo cd $i
|
|
|
|
(cd $i; mk -n -a install)
|
|
|
|
echo cd ..
|
|
|
|
done
|
|
|
|
) >$target
|
|
|
|
|
|
|
|
testmkmk:V:
|
|
|
|
mk mkmk.sh
|
|
|
|
rm -f ../lib/lib*.a
|
|
|
|
mv ../bin/mk ../bin/_mk
|
|
|
|
sh -ex mkmk.sh
|
|
|
|
ls -l ../bin/mk
|
|
|
|
|
|
|
|
testcvs:V:
|
2003-11-23 19:49:17 +00:00
|
|
|
(cd ..; cvs up -dAP)
|
2003-11-23 18:10:54 +00:00
|
|
|
cp ../bin/_mk ../bin/mk
|
|
|
|
mk clean
|
|
|
|
rm ../lib/*.a
|
|
|
|
mv ../bin/mk ../bin/_mk
|
|
|
|
rm ../bin/*
|
|
|
|
PLAN9="`pwd`/.." export PLAN9
|
|
|
|
PATH=$PLAN9/bin:$PATH export PATH
|
|
|
|
|