1# $FreeBSD$ 2# 3# Basic script to build crude unit tests. 4# 5cc -g -O0 -pthread -DRANDOM_DEBUG -DRANDOM_YARROW \ 6 -I../.. -lstdthreads -Wall \ 7 unit_test.c \ 8 yarrow.c \ 9 hash.c \ 10 ../../crypto/rijndael/rijndael-api-fst.c \ 11 ../../crypto/rijndael/rijndael-alg-fst.c \ 12 ../../crypto/sha2/sha2.c \ 13 ../../crypto/sha2/sha256c.c \ 14 -o yunit_test 15cc -g -O0 -pthread -DRANDOM_DEBUG -DRANDOM_FORTUNA \ 16 -I../.. -lstdthreads -Wall \ 17 unit_test.c \ 18 fortuna.c \ 19 hash.c \ 20 ../../crypto/rijndael/rijndael-api-fst.c \ 21 ../../crypto/rijndael/rijndael-alg-fst.c \ 22 ../../crypto/sha2/sha2.c \ 23 ../../crypto/sha2/sha256c.c \ 24 -o funit_test 25