freebsd-dev/tests/sys/devrandom/Makefile
Kyle Evans 7cc42f6d25 Do a sweep and remove most WARNS=6 settings
Repeating the default WARNS here makes it slightly more difficult to
experiment with default WARNS changes, e.g. if we did something absolutely
bananas and introduced a WARNS=7 and wanted to try lifting the default to
that.

Drop most of them; there is one in the blake2 kernel module, but I suspect
it should be dropped -- the default WARNS in the rest of the build doesn't
currently apply to kernel modules, and I haven't put too much thought into
whether it makes sense to make it so.
2020-10-01 01:10:51 +00:00

26 lines
569 B
Makefile

# $FreeBSD$
.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>