summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2019-06-12 23:48:17 +0000
committerOri Bernstein <ori@eigenstate.org>2019-06-12 23:48:17 +0000
commitf44c5919420c861faf080e2b0db0487d02812c97 (patch)
tree3bf98168cc7a13f4b085570d9f8f678a493da306
parent0580bd8eed161949889506e792979de2458852db (diff)
downloadlibhubbub-master.tar.gz
Add mkfile for 9front.HEADmaster
-rw-r--r--[-rwxr-xr-x]build/get-entities/get_entities0
-rw-r--r--[-rwxr-xr-x]perf/html5libtest.py0
-rw-r--r--mkfile58
3 files changed, 58 insertions, 0 deletions
diff --git a/build/get-entities/get_entities b/build/get-entities/get_entities
index abc67b3..abc67b3 100755..100644
--- a/build/get-entities/get_entities
+++ b/build/get-entities/get_entities
diff --git a/perf/html5libtest.py b/perf/html5libtest.py
index 3630fe8..3630fe8 100755..100644
--- a/perf/html5libtest.py
+++ b/perf/html5libtest.py
diff --git a/mkfile b/mkfile
new file mode 100644
index 0000000..816f48a
--- /dev/null
+++ b/mkfile
@@ -0,0 +1,58 @@
+</$objtype/mkfile
+
+LIB=libcss.a
+OFILES=\
+ src/charset/detect.$O\
+ src/parser.$O\
+ src/tokeniser/entities.$O\
+ src/tokeniser/tokeniser.$O\
+ src/treebuilder/after_after_body.$O\
+ src/treebuilder/after_after_frameset.$O\
+ src/treebuilder/after_body.$O\
+ src/treebuilder/after_frameset.$O\
+ src/treebuilder/after_head.$O\
+ src/treebuilder/before_head.$O\
+ src/treebuilder/before_html.$O\
+ src/treebuilder/generic_rcdata.$O\
+ src/treebuilder/in_body.$O\
+ src/treebuilder/in_caption.$O\
+ src/treebuilder/in_cell.$O\
+ src/treebuilder/in_column_group.$O\
+ src/treebuilder/in_foreign_content.$O\
+ src/treebuilder/in_frameset.$O\
+ src/treebuilder/in_head.$O\
+ src/treebuilder/in_head_noscript.$O\
+ src/treebuilder/in_row.$O\
+ src/treebuilder/in_select.$O\
+ src/treebuilder/in_select_in_table.$O\
+ src/treebuilder/in_table.$O\
+ src/treebuilder/in_table_body.$O\
+ src/treebuilder/initial.$O\
+ src/treebuilder/treebuilder.$O\
+ src/utils/errors.$O\
+ src/utils/string.$O
+
+HFILES=\
+ include/hubbub/errors.h\
+ include/hubbub/functypes.h\
+ include/hubbub/hubbub.h\
+ include/hubbub/parser.h\
+ include/hubbub/tree.h\
+ include/hubbub/types.h\
+ src/charset/detect.h\
+ src/tokeniser/entities.h\
+ src/tokeniser/tokeniser.h\
+ src/treebuilder/internal.h\
+ src/treebuilder/modes.h\
+ src/treebuilder/treebuilder.h\
+ src/utils/parserutilserror.h\
+ src/utils/string.h\
+ src/utils/utils.h\
+
+
+</sys/src/cmd/mklib
+<../toolchain
+
+CFLAGS=$CFLAGS -DWITHOUT_ICONV_FILTER -I../libparserutils/include/ -I../libwapcaplet/include/
+%.$O: %.c
+ $CC $CFLAGS -o $stem.$O $stem.c