Make libhtml, htmlfmt build.
Thanks to wkj for doing all the hard work.
This commit is contained in:
parent
a67406e465
commit
650deb7980
7 changed files with 20 additions and 39 deletions
|
|
@ -158,6 +158,6 @@ extern void _freetokens(Token* tarray, int n);
|
|||
extern Token* _gettoks(uchar* data, int datalen, int chset, int mtype, int* plen);
|
||||
extern int _tokaval(Token* t, int attid, Rune** pans, int xfer);
|
||||
|
||||
#pragma varargck type "T" Token*
|
||||
/* #pragma varargck type "T" Token* */
|
||||
|
||||
#include "runetab.h"
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<$SYS9/$systype/$objtype/mkfile
|
||||
<$PLAN9/src/mkhdr
|
||||
|
||||
LIB=$LIB9/libhtml.a
|
||||
LIB=libhtml.a
|
||||
|
||||
OFILES=\
|
||||
build.$O\
|
||||
|
|
@ -10,13 +10,7 @@ OFILES=\
|
|||
runetab.$O\
|
||||
|
||||
HFILES=\
|
||||
$SYS9/sys/include/html.h\
|
||||
$PLAN9/include/html.h\
|
||||
impl.h\
|
||||
|
||||
UPDATE=\
|
||||
mkfile\
|
||||
$HFILES\
|
||||
${OFILES:%.$O=%.c}\
|
||||
${LIB:$SYS9/$systype/$objtype/%=$SYS9/$systype/386/%}\
|
||||
|
||||
<$SYS9/sys/src/cmd/mksyslib
|
||||
<$PLAN9/src/mksyslib
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
#include <u.h>
|
||||
#include <limits.h>
|
||||
#include <libc.h>
|
||||
#include <draw.h>
|
||||
#include <html.h>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue