diff options
Diffstat (limited to 'src/lib/libcrypto/arch/amd64/Makefile.inc')
-rw-r--r-- | src/lib/libcrypto/arch/amd64/Makefile.inc | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/src/lib/libcrypto/arch/amd64/Makefile.inc b/src/lib/libcrypto/arch/amd64/Makefile.inc index dd136f76a7..2f41f44381 100644 --- a/src/lib/libcrypto/arch/amd64/Makefile.inc +++ b/src/lib/libcrypto/arch/amd64/Makefile.inc | |||
@@ -1,10 +1,12 @@ | |||
1 | # $OpenBSD: Makefile.inc,v 1.29 2024/08/11 13:02:39 jsing Exp $ | 1 | # $OpenBSD: Makefile.inc,v 1.30 2024/10/18 13:36:24 jsing Exp $ |
2 | 2 | ||
3 | # amd64-specific libcrypto build rules | 3 | # amd64-specific libcrypto build rules |
4 | 4 | ||
5 | # all amd64 code generators use this | 5 | # all amd64 code generators use this |
6 | EXTRA_PL = ${LCRYPTO_SRC}/perlasm/x86_64-xlate.pl | 6 | EXTRA_PL = ${LCRYPTO_SRC}/perlasm/x86_64-xlate.pl |
7 | 7 | ||
8 | SRCS += crypto_cpu_caps.c | ||
9 | |||
8 | # aes | 10 | # aes |
9 | CFLAGS+= -DAES_ASM | 11 | CFLAGS+= -DAES_ASM |
10 | SSLASM+= aes aes-x86_64 | 12 | SSLASM+= aes aes-x86_64 |
@@ -69,12 +71,4 @@ ${f}.S: ${LCRYPTO_SRC}/${dir}/asm/${f}.pl ${EXTRA_PL} | |||
69 | /usr/bin/perl ./asm/${f}.pl openbsd) > ${.TARGET} | 71 | /usr/bin/perl ./asm/${f}.pl openbsd) > ${.TARGET} |
70 | .endfor | 72 | .endfor |
71 | 73 | ||
72 | CFLAGS+= -DOPENSSL_CPUID_OBJ | ||
73 | SRCS+= x86_64cpuid.S | ||
74 | GENERATED+=x86_64cpuid.S | ||
75 | |||
76 | x86_64cpuid.S: ${LCRYPTO_SRC}/x86_64cpuid.pl ${EXTRA_PL} | ||
77 | (cd ${LCRYPTO_SRC}/${dir} ; \ | ||
78 | /usr/bin/perl ./x86_64cpuid.pl) > ${.TARGET} | ||
79 | |||
80 | CFLAGS+=-fret-clean | 74 | CFLAGS+=-fret-clean |