boringssl/crypto/rc4/CMakeLists.txt
Adam Langley 4a0f0c4910 Change CMakeLists.txt to two-space indent.
find -name CMakeLists.txt -type f | xargs sed -e 's/\t/  /g' -i

Change-Id: I01636b1849c00ba918f48828252492d99b0403ac
2015-01-28 16:37:10 -08:00

32 lines
475 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)