summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/arch/hppa/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/arch/hppa/Makefile.inc')
-rw-r--r--src/lib/libcrypto/arch/hppa/Makefile.inc55
1 files changed, 0 insertions, 55 deletions
diff --git a/src/lib/libcrypto/arch/hppa/Makefile.inc b/src/lib/libcrypto/arch/hppa/Makefile.inc
deleted file mode 100644
index d8ca1065d6..0000000000
--- a/src/lib/libcrypto/arch/hppa/Makefile.inc
+++ /dev/null
@@ -1,55 +0,0 @@
1# $OpenBSD: Makefile.inc,v 1.8 2015/03/05 20:35:28 miod Exp $
2
3# hppa-specific libcrypto build rules
4
5# aes
6SRCS+= aes_core.c aes_cbc.c
7CFLAGS+= -DAES_ASM
8SSLASM+= aes aes-parisc aes-parisc
9# bf
10SRCS+= bf_enc.c
11# bn
12SRCS+= bn_asm.c
13SSLASM+= bn parisc-mont parisc-mont
14CFLAGS+= -DOPENSSL_BN_ASM_MONT -DBN_DIV2W
15# camellia
16SRCS+= camellia.c cmll_cbc.c cmll_misc.c
17# des
18SRCS+= des_enc.c fcrypt_b.c
19# modes
20CFLAGS+= -DGHASH_ASM
21SSLASM+= modes ghash-parisc ghash-parisc
22# rc4
23.if 0 # about 35% slower than C code
24SSLASM+= rc4 rc4-parisc rc4-parisc
25.else
26SRCS+= rc4_enc.c rc4_skey.c
27.endif
28## rc5
29#SRCS+= rc5_enc.c
30# sha
31CFLAGS+= -DSHA1_ASM
32SSLASM+= sha sha1-parisc sha1-parisc
33.if 0 # sha512 subtly broken, sha256 probably as well
34CFLAGS+= -DSHA256_ASM
35SSLASM+= sha sha512-parisc sha256-parisc
36CFLAGS+= -DSHA512_ASM
37SSLASM+= sha sha512-parisc sha512-parisc
38.endif
39# whrlpool
40SRCS+= wp_block.c
41
42.for dir src dst in ${SSLASM}
43SRCS+= ${dst}.S
44GENERATED+=${dst}.S
45${dst}.S: ${LCRYPTO_SRC}/${dir}/asm/${src}.pl
46 /usr/bin/perl \
47 ${LCRYPTO_SRC}/${dir}/asm/${src}.pl 32 ${.TARGET} > ${.TARGET}
48.endfor
49
50CFLAGS+= -DOPENSSL_CPUID_OBJ
51SRCS+= pariscid.S
52GENERATED+=pariscid.S
53pariscid.S: ${LCRYPTO_SRC}/pariscid.pl
54 /usr/bin/perl \
55 ${LCRYPTO_SRC}/pariscid.pl 32 > ${.TARGET}