diff options
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/Makefile.am | 74 |
1 files changed, 74 insertions, 0 deletions
diff --git a/crypto/Makefile.am b/crypto/Makefile.am index 701cd4a..046a623 100644 --- a/crypto/Makefile.am +++ b/crypto/Makefile.am | |||
@@ -18,6 +18,80 @@ EXTRA_DIST += compat/strcasecmp.c | |||
18 | BUILT_SOURCES = crypto_portable.sym | 18 | BUILT_SOURCES = crypto_portable.sym |
19 | CLEANFILES = crypto_portable.sym | 19 | CLEANFILES = crypto_portable.sym |
20 | 20 | ||
21 | crypto_portable.sym: | ||
22 | -echo "generating crypto_portable.sym ..." | ||
23 | -cp $(top_srcdir)/crypto/crypto.sym crypto_portable.sym | ||
24 | -chmod u+w crypto_portable.sym | ||
25 | if !HAVE_ARC4RANDOM_BUF | ||
26 | -echo arc4random >> crypto_portable.sym | ||
27 | -echo arc4random_buf >> crypto_portable.sym | ||
28 | -echo arc4random_uniform >> crypto_portable.sym | ||
29 | if !HAVE_GETENTROPY | ||
30 | -echo getentropy >> crypto_portable.sym | ||
31 | endif | ||
32 | endif | ||
33 | if !HAVE_ASPRINTF | ||
34 | -echo asprintf >> crypto_portable.sym | ||
35 | -echo vasprintf >> crypto_portable.sym | ||
36 | endif | ||
37 | if !HAVE_EXPLICIT_BZERO | ||
38 | -echo explicit_bzero >> crypto_portable.sym | ||
39 | endif | ||
40 | if !HAVE_FREEZERO | ||
41 | -echo freezero >> crypto_portable.sym | ||
42 | endif | ||
43 | if !HAVE_INET_PTON | ||
44 | -echo inet_pton >> crypto_portable.sym | ||
45 | endif | ||
46 | if !HAVE_REALLOCARRAY | ||
47 | -echo reallocarray >> crypto_portable.sym | ||
48 | endif | ||
49 | if !HAVE_RECALLOCARRAY | ||
50 | -echo recallocarray >> crypto_portable.sym | ||
51 | endif | ||
52 | if !HAVE_STRLCAT | ||
53 | -echo strlcat >> crypto_portable.sym | ||
54 | endif | ||
55 | if !HAVE_STRLCPY | ||
56 | -echo strlcpy >> crypto_portable.sym | ||
57 | endif | ||
58 | if !HAVE_STRNDUP | ||
59 | -echo strndup >> crypto_portable.sym | ||
60 | endif | ||
61 | if !HAVE_STRNLEN | ||
62 | -echo strnlen >> crypto_portable.sym | ||
63 | endif | ||
64 | if !HAVE_STRSEP | ||
65 | -echo strsep >> crypto_portable.sym | ||
66 | endif | ||
67 | if !HAVE_TIMEGM | ||
68 | -echo timegm >> crypto_portable.sym | ||
69 | endif | ||
70 | if !HAVE_TIMINGSAFE_BCMP | ||
71 | -echo timingsafe_bcmp >> crypto_portable.sym | ||
72 | endif | ||
73 | if !HAVE_TIMINGSAFE_MEMCMP | ||
74 | -echo timingsafe_memcmp >> crypto_portable.sym | ||
75 | endif | ||
76 | if HOST_CPU_IS_INTEL | ||
77 | -echo OPENSSL_ia32cap_P >> crypto_portable.sym | ||
78 | endif | ||
79 | if HOST_WIN | ||
80 | -echo posix_perror >> crypto_portable.sym | ||
81 | -echo posix_fopen >> crypto_portable.sym | ||
82 | -echo posix_fgets >> crypto_portable.sym | ||
83 | -echo posix_open >> crypto_portable.sym | ||
84 | -echo posix_rename >> crypto_portable.sym | ||
85 | -echo posix_connect >> crypto_portable.sym | ||
86 | -echo posix_close >> crypto_portable.sym | ||
87 | -echo posix_read >> crypto_portable.sym | ||
88 | -echo posix_write >> crypto_portable.sym | ||
89 | -echo posix_getsockopt >> crypto_portable.sym | ||
90 | -echo posix_setsockopt >> crypto_portable.sym | ||
91 | -grep -v BIO_s_log crypto_portable.sym > crypto_portable.sym.tmp | ||
92 | -mv crypto_portable.sym.tmp crypto_portable.sym | ||
93 | endif | ||
94 | |||
21 | libcrypto_la_LDFLAGS = -version-info @LIBCRYPTO_VERSION@ -no-undefined -export-symbols crypto_portable.sym | 95 | libcrypto_la_LDFLAGS = -version-info @LIBCRYPTO_VERSION@ -no-undefined -export-symbols crypto_portable.sym |
22 | libcrypto_la_LIBADD = libcompat.la | 96 | libcrypto_la_LIBADD = libcompat.la |
23 | if !HAVE_EXPLICIT_BZERO | 97 | if !HAVE_EXPLICIT_BZERO |