73415b6aa0
arm_arch.h is included from ARM asm files, but lives in crypto/, not openssl/include/. Since the asm files are often built from a different location than their position in the source tree, relative include paths are unlikely to work so, rather than having crypto/ be a de-facto, second global include path, this change moves arm_arch.h to include/openssl/. It also removes entries from many include paths because they should be needed as relative includes are always based on the locations of the source file. Change-Id: I638ff43d641ca043a4fc06c0d901b11c6ff73542 Reviewed-on: https://boringssl-review.googlesource.com/5746 Reviewed-by: Adam Langley <agl@google.com>
32 lines
470 B
CMake
32 lines
470 B
CMake
include_directories(../../include)
|
|
|
|
if (${ARCH} STREQUAL "x86_64")
|
|
set(
|
|
RC4_ARCH_SOURCES
|
|
|
|
rc4-x86_64.${ASM_EXT}
|
|
rc4-md5-x86_64.${ASM_EXT}
|
|
)
|
|
endif()
|
|
|
|
if (${ARCH} STREQUAL "x86")
|
|
set(
|
|
RC4_ARCH_SOURCES
|
|
|
|
rc4-586.${ASM_EXT}
|
|
)
|
|
endif()
|
|
|
|
add_library(
|
|
rc4
|
|
|
|
OBJECT
|
|
|
|
rc4.c
|
|
${RC4_ARCH_SOURCES}
|
|
)
|
|
|
|
perlasm(rc4-x86_64.${ASM_EXT} asm/rc4-x86_64.pl)
|
|
perlasm(rc4-md5-x86_64.${ASM_EXT} asm/rc4-md5-x86_64.pl)
|
|
perlasm(rc4-586.${ASM_EXT} asm/rc4-586.pl)
|