Import version of libhtml that might actually work with ANSI C.

This commit is contained in:
wkj 2004-04-06 19:06:52 +00:00
parent 3e3817f7c8
commit 7cf289ca89
13 changed files with 7206 additions and 0 deletions

30
src/cmd/htmlfmt/mkfile Normal file
View file

@ -0,0 +1,30 @@
<$SYS9/$systype/$objtype/mkfile
TARG=htmlfmt
OFILES=\
main.$O\
html.$O\
util.$O\
HFILES=\
dat.h\
$SYS9/sys/include/html.h\
LIB=$SYS9/$systype/$objtype/lib/libbio.a\
$SYS9/$systype/$objtype/lib/libregexp.a\
$SYS9/$systype/$objtype/lib/libhtml.a\
$SYS9/$systype/$objtype/lib/lib9c.a
BIN=$SYS9/$systype/$objtype/bin
UPDATE=\
mkfile\
$HFILES\
${OFILES:%.$O=%.c}
<$SYS9/sys/src/cmd/mkone
CFLAGS=$CFLAGS
#$O.out: $OFILES
# $LD -o $target $LDFLAGS $OFILES