plan9port/unix/mkfile.utf

36 lines
582 B
Text
Raw Permalink Normal View History

MAKEALL=`{cd ../make; ls Make.*}
2008-07-20 10:17:17 +00:00
CFILES=`{9 ls -p $PLAN9/src/lib9/utf/*.c}
TARG=\
$MAKEALL\
NOTICE\
README\
Makefile\
2008-07-20 10:17:17 +00:00
$CFILES\
2004-12-28 23:27:43 +00:00
plan9.h\
utf.h\
utfdef.h\
2004-04-19 05:57:10 +00:00
isalpharune.3\
rune.3\
runestrcat.3\
2004-12-28 23:27:43 +00:00
utf.7\
2005-01-14 03:45:44 +00:00
WHAT=utf
2005-01-14 03:45:44 +00:00
<../mkfile.what
2005-01-14 03:45:44 +00:00
utf.h: $PLAN9/include/utf.h
cp $prereq $target
2005-01-14 03:45:44 +00:00
%: $PLAN9/src/lib9/utf/%
cp $prereq $target
2008-07-20 10:17:17 +00:00
utf1.c:D: plan9.h $CFILES
(cat plan9.h; \
echo '#include <stdlib.h>'; \
echo '#include <string.h>'; \
echo '#include <unistd.h>'; \
echo '#define bsearch utf_bsearch'; \
echo '#include "utf.h"'; \
grep -hv '^#include' $CFILES) >$target