1 # $oPenBSD: Makefile.inc,v 1.2 2014/05/02 18:21:39 miod Exp $
3 # arm-specific libcrypto build rules
13 CFLAGS+= -DOPENSSL_BN_ASM_MONT
14 SSLASM+= bn armv4-mont
15 CFLAGS+= -DOPENSSL_BN_ASM_GF2m
16 SSLASM+= bn armv4-gf2m
18 SRCS+= camellia.c cmll_cbc.c cmll_misc.c
20 SRCS+= des_enc.c fcrypt_b.c
22 # CFLAGS+= -DECP_NISTZ256_ASM
23 # SRCS+= ecp_nistz256.c
24 # SSLASM+= ec ecp_nistz256-armv4
27 SSLASM+= modes ghash-armv4
29 SRCS+= rc4_enc.c rc4_skey.c
34 SSLASM+= sha sha1-armv4-large
36 SSLASM+= sha sha256-armv4
38 SSLASM+= sha sha512-armv4
42 .for dir f in ${SSLASM}
45 ${f}.S: ${LCRYPTO_SRC}/${dir}/asm/${f}.pl
47 ${LCRYPTO_SRC}/${dir}/asm/${f}.pl void ${.TARGET} > ${.TARGET}
50 CFLAGS+= -DOPENSSL_CPUID_OBJ
51 SRCS+= armv4cpuid.S armcap.c