blob: c66d2eeb8547b5a4b1eeeec232e6b35d3a66b7bd [file] [log] [blame]
include_directories(../../include)
if (${ARCH} STREQUAL "x86_64")
set(
RAND_ARCH_SOURCES
rdrand-x86_64.${ASM_EXT}
)
endif()
add_library(
rand
OBJECT
deterministic.c
rand.c
urandom.c
windows.c
${RAND_ARCH_SOURCES}
)
perlasm(rdrand-x86_64.${ASM_EXT} asm/rdrand-x86_64.pl)