4a0f0c4910
find -name CMakeLists.txt -type f | xargs sed -e 's/\t/ /g' -i Change-Id: I01636b1849c00ba918f48828252492d99b0403ac
22 lines
251 B
CMake
22 lines
251 B
CMake
include_directories(. .. ../../include)
|
|
|
|
if (${ARCH} STREQUAL "arm")
|
|
set(
|
|
POLY1305_ARCH_SOURCES
|
|
|
|
poly1305_arm_asm.S
|
|
)
|
|
endif()
|
|
|
|
add_library(
|
|
poly1305
|
|
|
|
OBJECT
|
|
|
|
poly1305.c
|
|
poly1305_arm.c
|
|
poly1305_vec.c
|
|
|
|
${POLY1305_ARCH_SOURCES}
|
|
)
|