diff options
author | Nikias Bassen | 2022-02-09 04:04:36 +0100 |
---|---|---|
committer | Nikias Bassen | 2022-02-09 04:04:36 +0100 |
commit | e41dbc3ddbe30a414e73fa25d9c7c304ffe6989e (patch) | |
tree | 599c99a2f32bc18f1e9ebc740d0a12d71c49bb10 /3rd_party/libsrp6a-sha512/Makefile.am | |
parent | ee9104bcb8d494b579e122a2dcc94a2b79d38e4b (diff) | |
download | libimobiledevice-e41dbc3ddbe30a414e73fa25d9c7c304ffe6989e.tar.gz libimobiledevice-e41dbc3ddbe30a414e73fa25d9c7c304ffe6989e.tar.bz2 |
Add support for wireless pairing
Diffstat (limited to '3rd_party/libsrp6a-sha512/Makefile.am')
-rw-r--r-- | 3rd_party/libsrp6a-sha512/Makefile.am | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/3rd_party/libsrp6a-sha512/Makefile.am b/3rd_party/libsrp6a-sha512/Makefile.am new file mode 100644 index 0000000..8c6e2f5 --- /dev/null +++ b/3rd_party/libsrp6a-sha512/Makefile.am @@ -0,0 +1,31 @@ +AUTOMAKE_OPTIONS = foreign no-dependencies + +AM_CPPFLAGS = \ + -I$(top_srcdir)/include \ + -I$(top_srcdir) \ + -Wno-incompatible-pointer-types + +include_HEADERS = srp.h srp_aux.h cstr.h + +AM_CFLAGS = -DHAVE_CONFIG_H +if HAVE_OPENSSL +AM_CFLAGS += -DOPENSSL=1 -DOPENSSL_ENGINE=1 $(openssl_CFLAGS) +else +if HAVE_GCRYPT +AM_CFLAGS += -DGCRYPT=1 $(libgcrypt_CFLAGS) +else +if HAVE_MBEDTLS +AM_CFLAGS += -DMBEDTLS=1 $(mbedtls_CFLAGS) +endif +endif +endif + +noinst_LTLIBRARIES = libsrp6a-sha512.la + +libsrp6a_sha512_la_SOURCES = \ + t_conv.c t_math.c t_misc.c \ + t_truerand.c cstr.c \ + srp.c srp6a_sha512_client.c +if !HAVE_OPENSSL +libsrp6a_sha512_la_SOURCES += t_sha.c +endif |