Blob
1 MAKEALL=`{cd ../make; ls Make.*}2 CFILES=`{9 ls -p $PLAN9/src/lib9/utf/*.c}3 TARG=\4 $MAKEALL\5 NOTICE\6 README\7 Makefile\8 $CFILES\9 plan9.h\10 utf.h\11 utfdef.h\12 isalpharune.3\13 rune.3\14 runestrcat.3\15 utf.7\17 WHAT=utf19 <../mkfile.what21 utf.h: $PLAN9/include/utf.h22 cp $prereq $target24 %: $PLAN9/src/lib9/utf/%25 cp $prereq $target27 utf1.c:D: plan9.h $CFILES28 (cat plan9.h; \29 echo '#include <stdlib.h>'; \30 echo '#include <string.h>'; \31 echo '#include <unistd.h>'; \32 echo '#define bsearch utf_bsearch'; \33 echo '#include "utf.h"'; \34 grep -hv '^#include' $CFILES) >$target