opnsense-src/tests/sys/devrandom/Makefile
Warner Losh e9ac41698b Remove residual blank line at start of Makefile
This is a residual of the $FreeBSD$ removal.

MFC After: 3 days (though I'll just run the command on the branches)
Sponsored by: Netflix
2024-07-15 16:43:39 -06:00

23 lines
556 B
Makefile

.include <src.opts.mk>
SDEVRANDOM= ${SRCTOP}/sys/dev/random
.PATH: ${SDEVRANDOM}
TESTSDIR= ${TESTSBASE}/sys/devrandom
CFLAGS+= -I${SRCTOP}/sys
ATF_TESTS_C+= uint128_test
# Test Chacha CTR behavior <-> uint128
LDADD.uint128_test+= ${SDEVRANDOM}/hash.c
LDFLAGS.uint128_test+= -Wno-unused-parameter
# hash.c deps:
LIBADD.uint128_test+= md # SHA256
LDADD.uint128_test+= ${SRCTOP}/sys/crypto/rijndael/rijndael-alg-fst.c
LDADD.uint128_test+= ${SRCTOP}/sys/crypto/rijndael/rijndael-api-fst.c
LDFLAGS.uint128_test+= -Wno-cast-align
.include <bsd.test.mk>