Home | History | Annotate | Download | only in rc4
      1 include_directories(../../include)
      2 
      3 if (${ARCH} STREQUAL "x86_64")
      4   set(
      5     RC4_ARCH_SOURCES
      6 
      7     rc4-x86_64.${ASM_EXT}
      8   )
      9 endif()
     10 
     11 if (${ARCH} STREQUAL "x86")
     12   set(
     13     RC4_ARCH_SOURCES
     14 
     15     rc4-586.${ASM_EXT}
     16   )
     17 endif()
     18 
     19 add_library(
     20   rc4
     21 
     22   OBJECT
     23 
     24   rc4.c
     25   ${RC4_ARCH_SOURCES}
     26 )
     27 
     28 perlasm(rc4-x86_64.${ASM_EXT} asm/rc4-x86_64.pl)
     29 perlasm(rc4-586.${ASM_EXT} asm/rc4-586.pl)
     30