plan9port/src/mkfile
2004-02-29 23:20:28 +00:00

56 lines
725 B
Makefile

DIRS=\
lib9\
libbin\
libbio\
libcomplete\
libdraw\
libflate\
libframe\
libfs\
# libhttpd\
# libip\
libmux\
libplumb\
libregexp\
libsec\
libthread\
# libventi\
cmd\
<mkdirs
MKDIRS=\
libbio\
libregexp\
cmd/mk\
mkmk.sh:VD:
(
echo cd lib9
(cd lib9; mk -n -a 'LIB9OFILES=' install)
echo cd ..
for i in libbio libregexp cmd/mk
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:
(cd ..; cvs up -dAP)
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