51b4ccb464
and want to have crypto support loaded as KLD. By moving zlib to separate module and adding MODULE_DEPEND directives, it is possible to use such configuration without complication. Otherwise, since IPSEC is linked with zlib (just like crypto.ko) you'll get following error: interface zlib.1 already present in the KLD 'kernel'! Approved by: cognet (mentor)
20 lines
511 B
Makefile
20 lines
511 B
Makefile
# $FreeBSD$
|
|
|
|
.PATH: ${.CURDIR}/../../opencrypto
|
|
.PATH: ${.CURDIR}/../../crypto
|
|
.PATH: ${.CURDIR}/../../crypto/blowfish
|
|
.PATH: ${.CURDIR}/../../crypto/des
|
|
.PATH: ${.CURDIR}/../../crypto/rijndael
|
|
.PATH: ${.CURDIR}/../../crypto/sha2
|
|
|
|
KMOD = crypto
|
|
SRCS = crypto.c
|
|
SRCS += criov.c cryptosoft.c xform.c
|
|
SRCS += cast.c deflate.c rmd160.c rijndael-alg-fst.c rijndael-api.c
|
|
SRCS += skipjack.c bf_enc.c bf_skey.c
|
|
SRCS += des_ecb.c des_enc.c des_setkey.c
|
|
SRCS += sha1.c sha2.c
|
|
SRCS += opt_param.h
|
|
|
|
.include <bsd.kmod.mk>
|