ref: 865fae41bab79ebda060ea687930d59efb0890a6
parent: ba070d54b831abcfc8b328baf0eaa0de7d7c7653
author: Sigrid Solveig Haflínudóttir <ftrvxmtrx@gmail.com>
date: Sun Nov 29 16:28:01 EST 2020
add mkfiles
--- /dev/null
+++ b/llt/mkfile
@@ -1,0 +1,38 @@
+</$objtype/mkfile
+LIB=libllt.a
+
+CFLAGS=$CFLAGS -p -D__plan9__ -D__${objtype}__
+
+OFILES=\
+ bitvector-ops.$O\
+ bitvector.$O\
+ dirpath.$O\
+ dump.$O\
+ hashing.$O\
+ htable.$O\
+ int2str.$O\
+ ios.$O\
+ lltinit.$O\
+ ptrhash.$O\
+ random.$O\
+ socketp9.$O\
+ timefuncs.$O\
+ utf8.$O\
+
+HFILES=\
+ bitvector.h\
+ dirpath.h\
+ dtypes.h\
+ hashing.h\
+ htable.h\
+ ieee754.h\
+ ios.h\
+ llt.h\
+ ptrhash.h\
+ random.h\
+ socket.h\
+ timefuncs.h\
+ utf8.h\
+ utils.h\
+
+</sys/src/cmd/mklib
--- /dev/null
+++ b/mkfile
@@ -1,0 +1,34 @@
+</$objtype/mkfile
+
+BIN=/$objtype/bin
+TARG=flisp
+CFLAGS=$CFLAGS -p -D__plan9__ -D__${objtype}__ -Illt
+
+HFILES=\
+ equalhash.h\
+ flisp.h\
+ opcodes.h\
+
+OFILES=\
+ builtins.$O\
+ equalhash.$O\
+ flisp.$O\
+ flmain.$O\
+ iostream.$O\
+ string.$O\
+ table.$O\
+
+default:V: all
+
+install:V: /sys/lib/flisp/flisp.boot
+
+/sys/lib/flisp/%: %
+ mkdir -p /sys/lib/flisp/
+ cp $prereq $target
+
+</sys/src/cmd/mkone
+
+$O.out: llt/libllt.a
+
+llt/libllt.a:
+ cd llt && mk