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