Home | History | Annotate | Download | only in rand
      1 include_directories(../../include)
      2 
      3 if (${ARCH} STREQUAL "x86_64")
      4   set(
      5     RAND_ARCH_SOURCES
      6 
      7     rdrand-x86_64.${ASM_EXT}
      8   )
      9 endif()
     10 
     11 add_library(
     12   rand
     13 
     14   OBJECT
     15 
     16   deterministic.c
     17   fuchsia.c
     18   rand.c
     19   urandom.c
     20   windows.c
     21 
     22   ${RAND_ARCH_SOURCES}
     23 )
     24 
     25 perlasm(rdrand-x86_64.${ASM_EXT} asm/rdrand-x86_64.pl)
     26