|
| 1 | +# |
| 2 | +# Copyright (c) 2020 Project CHIP Authors |
| 3 | +# |
| 4 | +# Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | +# you may not use this file except in compliance with the License. |
| 6 | +# You may obtain a copy of the License at |
| 7 | +# |
| 8 | +# http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | +# |
| 10 | +# Unless required by applicable law or agreed to in writing, software |
| 11 | +# distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | +# See the License for the specific language governing permissions and |
| 14 | +# limitations under the License. |
| 15 | + |
| 16 | + |
| 17 | +# |
| 18 | +# Description: |
| 19 | +# This file is the GNU automake template for the CHIP in-package, |
| 20 | +# mbedTLS library. |
| 21 | +# |
| 22 | +# |
| 23 | + |
| 24 | +include $(abs_top_nlbuild_autotools_dir)/automake/pre.am |
| 25 | + |
| 26 | +lib_LIBRARIES = libmbedtls.a |
| 27 | + |
| 28 | +libmbedtls_a_SOURCES = \ |
| 29 | + repo/library/aes.c \ |
| 30 | + repo/library/pem.c \ |
| 31 | + repo/library/aesni.c \ |
| 32 | + repo/library/pk.c \ |
| 33 | + repo/library/arc4.c \ |
| 34 | + repo/library/pkcs11.c \ |
| 35 | + repo/library/aria.c \ |
| 36 | + repo/library/pkcs12.c \ |
| 37 | + repo/library/asn1parse.c \ |
| 38 | + repo/library/pkcs5.c \ |
| 39 | + repo/library/asn1write.c \ |
| 40 | + repo/library/pkparse.c \ |
| 41 | + repo/library/base64.c \ |
| 42 | + repo/library/pk_wrap.c \ |
| 43 | + repo/library/bignum.c \ |
| 44 | + repo/library/pkwrite.c \ |
| 45 | + repo/library/blowfish.c \ |
| 46 | + repo/library/platform.c \ |
| 47 | + repo/library/camellia.c \ |
| 48 | + repo/library/platform_util.c \ |
| 49 | + repo/library/ccm.c \ |
| 50 | + repo/library/poly1305.c \ |
| 51 | + repo/library/certs.c \ |
| 52 | + repo/library/chacha20.c \ |
| 53 | + repo/library/chachapoly.c \ |
| 54 | + repo/library/cipher.c \ |
| 55 | + repo/library/cipher_wrap.c \ |
| 56 | + repo/library/cmac.c \ |
| 57 | + repo/library/ripemd160.c \ |
| 58 | + repo/library/ctr_drbg.c \ |
| 59 | + repo/library/rsa.c \ |
| 60 | + repo/library/debug.c \ |
| 61 | + repo/library/rsa_internal.c \ |
| 62 | + repo/library/des.c \ |
| 63 | + repo/library/sha1.c \ |
| 64 | + repo/library/dhm.c \ |
| 65 | + repo/library/sha256.c \ |
| 66 | + repo/library/ecdh.c \ |
| 67 | + repo/library/sha512.c \ |
| 68 | + repo/library/ecdsa.c \ |
| 69 | + repo/library/ssl_cache.c \ |
| 70 | + repo/library/ecjpake.c \ |
| 71 | + repo/library/ssl_ciphersuites.c \ |
| 72 | + repo/library/ecp.c \ |
| 73 | + repo/library/ssl_cli.c \ |
| 74 | + repo/library/ecp_curves.c \ |
| 75 | + repo/library/ssl_cookie.c \ |
| 76 | + repo/library/entropy.c \ |
| 77 | + repo/library/ssl_srv.c \ |
| 78 | + repo/library/error.c \ |
| 79 | + repo/library/ssl_ticket.c \ |
| 80 | + repo/library/gcm.c \ |
| 81 | + repo/library/ssl_tls.c \ |
| 82 | + repo/library/havege.c \ |
| 83 | + repo/library/threading.c \ |
| 84 | + repo/library/hkdf.c \ |
| 85 | + repo/library/hmac_drbg.c \ |
| 86 | + repo/library/version.c \ |
| 87 | + repo/library/md2.c \ |
| 88 | + repo/library/version_features.c \ |
| 89 | + repo/library/md4.c \ |
| 90 | + repo/library/x509.c \ |
| 91 | + repo/library/md5.c \ |
| 92 | + repo/library/x509_create.c \ |
| 93 | + repo/library/md.c \ |
| 94 | + repo/library/x509_crl.c \ |
| 95 | + repo/library/memory_buffer_alloc.c \ |
| 96 | + repo/library/x509_csr.c \ |
| 97 | + repo/library/nist_kw.c \ |
| 98 | + repo/library/x509write_crt.c \ |
| 99 | + repo/library/oid.c \ |
| 100 | + repo/library/x509write_csr.c \ |
| 101 | + repo/library/padlock.c \ |
| 102 | + repo/library/xtea.c \ |
| 103 | + repo/library/md_wrap.c \ |
| 104 | + $(NULL) |
| 105 | + |
| 106 | +libmbedtls_a_CPPFLAGS = \ |
| 107 | + -I$(top_srcdir)/third_party/mbedtls/repo/include \ |
| 108 | + $(MBEDTLS_CPPFLAGS) \ |
| 109 | + $(NULL) |
| 110 | + |
| 111 | +include $(abs_top_nlbuild_autotools_dir)/automake/post.am |
0 commit comments