aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrent Cook <busterb@gmail.com>2016-11-05 06:16:19 -0500
committerBrent Cook <busterb@gmail.com>2016-11-05 06:16:19 -0500
commit19457d72b0aa3b1183a84bd0e844006c9f2c54aa (patch)
treee15e3ddea42b7ebf6bb86d70a384592593074db7
parent03a321e5580b6331e11c83fada6e2b8d16523a71 (diff)
downloadportable-19457d72b0aa3b1183a84bd0e844006c9f2c54aa.tar.gz
portable-19457d72b0aa3b1183a84bd0e844006c9f2c54aa.tar.bz2
portable-19457d72b0aa3b1183a84bd0e844006c9f2c54aa.zip
enable preprocessor on all ASM files with cmake
-rw-r--r--crypto/CMakeLists.txt64
1 files changed, 32 insertions, 32 deletions
diff --git a/crypto/CMakeLists.txt b/crypto/CMakeLists.txt
index e27d0ee..2242967 100644
--- a/crypto/CMakeLists.txt
+++ b/crypto/CMakeLists.txt
@@ -11,24 +11,24 @@ include_directories(
11if(HOST_ASM_ELF_X86_64) 11if(HOST_ASM_ELF_X86_64)
12 set( 12 set(
13 ASM_X86_64_ELF_SRC 13 ASM_X86_64_ELF_SRC
14 aes/aes-elf-x86_64.s 14 aes/aes-elf-x86_64.S
15 aes/bsaes-elf-x86_64.s 15 aes/bsaes-elf-x86_64.S
16 aes/vpaes-elf-x86_64.s 16 aes/vpaes-elf-x86_64.S
17 aes/aesni-elf-x86_64.s 17 aes/aesni-elf-x86_64.S
18 aes/aesni-sha1-elf-x86_64.s 18 aes/aesni-sha1-elf-x86_64.S
19 bn/modexp512-elf-x86_64.s 19 bn/modexp512-elf-x86_64.S
20 bn/mont-elf-x86_64.s 20 bn/mont-elf-x86_64.S
21 bn/mont5-elf-x86_64.s 21 bn/mont5-elf-x86_64.S
22 bn/gf2m-elf-x86_64.s 22 bn/gf2m-elf-x86_64.S
23 camellia/cmll-elf-x86_64.s 23 camellia/cmll-elf-x86_64.S
24 md5/md5-elf-x86_64.s 24 md5/md5-elf-x86_64.S
25 modes/ghash-elf-x86_64.s 25 modes/ghash-elf-x86_64.S
26 rc4/rc4-elf-x86_64.s 26 rc4/rc4-elf-x86_64.S
27 rc4/rc4-md5-elf-x86_64.s 27 rc4/rc4-md5-elf-x86_64.S
28 sha/sha1-elf-x86_64.s 28 sha/sha1-elf-x86_64.S
29 sha/sha256-elf-x86_64.S 29 sha/sha256-elf-x86_64.S
30 sha/sha512-elf-x86_64.S 30 sha/sha512-elf-x86_64.S
31 whrlpool/wp-elf-x86_64.s 31 whrlpool/wp-elf-x86_64.S
32 cpuid-elf-x86_64.S 32 cpuid-elf-x86_64.S
33 ) 33 )
34 add_definitions(-DAES_ASM) 34 add_definitions(-DAES_ASM)
@@ -53,24 +53,24 @@ endif()
53if(HOST_ASM_MACOSX_X86_64) 53if(HOST_ASM_MACOSX_X86_64)
54 set( 54 set(
55 ASM_X86_64_MACOSX_SRC 55 ASM_X86_64_MACOSX_SRC
56 aes/aes-macosx-x86_64.s 56 aes/aes-macosx-x86_64.S
57 aes/bsaes-macosx-x86_64.s 57 aes/bsaes-macosx-x86_64.S
58 aes/vpaes-macosx-x86_64.s 58 aes/vpaes-macosx-x86_64.S
59 aes/aesni-macosx-x86_64.s 59 aes/aesni-macosx-x86_64.S
60 aes/aesni-sha1-macosx-x86_64.s 60 aes/aesni-sha1-macosx-x86_64.S
61 bn/modexp512-macosx-x86_64.s 61 bn/modexp512-macosx-x86_64.S
62 bn/mont-macosx-x86_64.s 62 bn/mont-macosx-x86_64.S
63 bn/mont5-macosx-x86_64.s 63 bn/mont5-macosx-x86_64.S
64 bn/gf2m-macosx-x86_64.s 64 bn/gf2m-macosx-x86_64.S
65 camellia/cmll-macosx-x86_64.s 65 camellia/cmll-macosx-x86_64.S
66 md5/md5-macosx-x86_64.s 66 md5/md5-macosx-x86_64.S
67 modes/ghash-macosx-x86_64.s 67 modes/ghash-macosx-x86_64.S
68 rc4/rc4-macosx-x86_64.s 68 rc4/rc4-macosx-x86_64.S
69 rc4/rc4-md5-macosx-x86_64.s 69 rc4/rc4-md5-macosx-x86_64.S
70 sha/sha1-macosx-x86_64.s 70 sha/sha1-macosx-x86_64.S
71 sha/sha256-macosx-x86_64.S 71 sha/sha256-macosx-x86_64.S
72 sha/sha512-macosx-x86_64.S 72 sha/sha512-macosx-x86_64.S
73 whrlpool/wp-macosx-x86_64.s 73 whrlpool/wp-macosx-x86_64.S
74 cpuid-macosx-x86_64.S 74 cpuid-macosx-x86_64.S
75 ) 75 )
76 add_definitions(-DAES_ASM) 76 add_definitions(-DAES_ASM)