summaryrefslogtreecommitdiff
path: root/sys/modules/blowfish/Makefile
blob: 822966efbf170f5473c6c090efe8d4c2098a8290 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#	$NetBSD: Makefile,v 1.1 2014/01/01 15:18:57 pgoyette Exp $

.include "../Makefile.inc"

.PATH:	${S}/crypto/blowfish

KMOD=	blowfish
SRCS=	bf_module.c
SRCS+=	bf_ecb.c
SRCS+=	bf_skey.c  

.if ${MACHINE} == "i386"

.PATH:	${S}/crypto/blowfish/arch/i386

SRCS+=	bf_enc.S
SRCS+=	bf_cbc.S

.else

SRCS+=	bf_enc.c
SRCS+=	bf_cbc.c

.endif

.include <bsd.kmodule.mk>