1include_directories(. .. ../../include) 2 3if (${ARCH} STREQUAL "arm") 4 set( 5 POLY1305_ARCH_SOURCES 6 7 poly1305_arm_asm.S 8 ) 9endif() 10 11add_library( 12 poly1305 13 14 OBJECT 15 16 poly1305.c 17 poly1305_arm.c 18 poly1305_vec.c 19 20 ${POLY1305_ARCH_SOURCES} 21) 22