Move libfmt, libutf into subdirectories of lib9. Add poll-based socket i/o to libthread, so that we can avoid using multiple procs when possible, thus removing dependence on crappy pthreads implementations. Convert samterm, acme to the single-proc libthread. Bring libcomplete, acme up-to-date w.r.t. Plan 9 distribution.
14 lines
298 B
Makefile
14 lines
298 B
Makefile
PLAN9=../..
|
|
<$PLAN9/src/mkhdr
|
|
|
|
TARG=`ls *.c | sed 's/\.c//'`
|
|
LDFLAGS=$LDFLAGS -lthread -lsec -lfs -lmux -lregexp9 -lbio -l9
|
|
|
|
<$PLAN9/src/mkmany
|
|
|
|
BUGGERED='CVS|faces|factotum|oplumb|plumb2|mk|vac|9term|upas|venti|htmlfmt'
|
|
DIRS=`ls -l |sed -n 's/^d.* //p' |egrep -v "$BUGGERED"`
|
|
|
|
<$PLAN9/src/mkdirs
|
|
|