tmkfile.utf - plan9port - [fork] Plan 9 from user space
(HTM) git clone git://src.adamsgaard.dk/plan9port
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
tmkfile.utf (582B)
---
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\
16
17 WHAT=utf
18
19 <../mkfile.what
20
21 utf.h: $PLAN9/include/utf.h
22 cp $prereq $target
23
24 %: $PLAN9/src/lib9/utf/%
25 cp $prereq $target
26
27 utf1.c:D: plan9.h $CFILES
28 (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
35