summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2023-07-08 13:09:19 -0700
committerKaz Kylheku <kaz@kylheku.com>2023-07-08 13:09:19 -0700
commit1807b7d221cf815aad9576fdab2172915cb86e06 (patch)
treebe5662ef0b155958d1b87da3ea7eed7f1eb32917 /Makefile
parenteb576809489a7b1aa15425dfbb5047dac449bd05 (diff)
downloadtxr-1807b7d221cf815aad9576fdab2172915cb86e06.tar.gz
txr-1807b7d221cf815aad9576fdab2172915cb86e06.tar.bz2
txr-1807b7d221cf815aad9576fdab2172915cb86e06.zip
Adding SHA-1 hash.
* chksums/sha1.c, chksums/sha1.h: New files. * LICENSE, METALICENSE: Mention new code. * chksum.c (sha1_ctx_s, sha1_ctx_cls): New static variables. (chksum_init): Register sha-ctx symbol, and sha_ctx_s COBJ class. Register sha1-stream, sha1, sha1-begin, sha1-hash and sha1-end intrinsics. (sha1_stream_impl, sha1_stream, sha1_szmax_upd, sha1_buf, sha1_str, sha1, sha1_ops, sha1_begin, sha1_utf8_byte_callback, sha1_hash, sha1_end): These functions and variables are generated by a call to the cksum_impl macro. * Makefile (OBJS): add chksums/sha1.o object file.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index c7ed3b5a..c1ce583e 100644
--- a/Makefile
+++ b/Makefile
@@ -54,8 +54,8 @@ EXTRA_OBJS-y :=
OBJS := txr.o lex.yy.o y.tab.o match.o lib.o regex.o gc.o unwind.o stream.o
OBJS += arith.o hash.o utf8.o filter.o eval.o parser.o rand.o combi.o sysif.o
OBJS += args.o autoload.o cadr.o struct.o itypes.o buf.o jmp.o protsym.o ffi.o
-OBJS += strudel.o vm.o chksum.o chksums/sha256.o chksums/crc32.o chksums/md5.o
-OBJS += tree.o time.o psquare.o
+OBJS += strudel.o vm.o tree.o time.o psquare.o
+OBJS += chksum.o chksums/sha1.o chksums/sha256.o chksums/crc32.o chksums/md5.o
OBJS += linenoise/linenoise.o
OBJS-$(debug_support) += debug.o
OBJS-$(have_syslog) += syslog.o