blob: 87f658b41455c9a94dd778748acf6ca4049ce662 (
plain) (
blame)
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
# Generated by devtools/yamaker from nixpkgs 22.11.
LIBRARY()
LICENSE(
APSL-2.0 AND
Apache-2.0
)
LICENSE_TEXTS(.yandex_meta/licenses.list.txt)
VERSION(0.5.26)
ORIGINAL_SOURCE(https://github.com/awslabs/aws-c-cal/archive/v0.5.26.tar.gz)
PEERDIR(
contrib/libs/openssl
contrib/restricted/aws/aws-c-common
)
ADDINCL(
GLOBAL contrib/restricted/aws/aws-c-cal/include
)
NO_COMPILER_WARNINGS()
NO_RUNTIME()
CFLAGS(
-DAWS_CAL_USE_IMPORT_EXPORT
-DAWS_COMMON_USE_IMPORT_EXPORT
-DHAVE_SYSCONF
)
SRCS(
source/cal.c
source/der.c
source/ecc.c
source/hash.c
source/hmac.c
source/symmetric_cipher.c
)
IF (OS_DARWIN)
LDFLAGS(
-framework
Security
)
SRCS(
source/darwin/common_cryptor_spi.h
source/darwin/commoncrypto_aes.c
source/darwin/commoncrypto_hmac.c
source/darwin/commoncrypto_md5.c
source/darwin/commoncrypto_platform_init.c
source/darwin/commoncrypto_sha1.c
source/darwin/commoncrypto_sha256.c
source/darwin/securityframework_ecc.c
)
ELSEIF (OS_LINUX)
SRCS(
source/unix/openssl_aes.c
source/unix/openssl_platform_init.c
source/unix/opensslcrypto_ecc.c
source/unix/opensslcrypto_hash.c
source/unix/opensslcrypto_hmac.c
)
ENDIF()
END()
|