2011-04-27 04:45:41 +04:00
|
|
|
# vim:ft=automake
|
|
|
|
# included from Top Level Makefile.am
|
|
|
|
# All paths should be given relative to the root
|
|
|
|
|
2011-08-25 02:54:58 +04:00
|
|
|
lib_LTLIBRARIES+= src/libcyassl.la
|
2011-04-27 04:45:41 +04:00
|
|
|
src_libcyassl_la_SOURCES = \
|
2012-11-01 23:36:47 +04:00
|
|
|
src/internal.c \
|
|
|
|
src/io.c \
|
|
|
|
src/keys.c \
|
|
|
|
src/ssl.c \
|
|
|
|
src/tls.c \
|
2012-11-03 03:49:31 +04:00
|
|
|
ctaocrypt/src/hmac.c \
|
2012-11-01 23:36:47 +04:00
|
|
|
ctaocrypt/src/random.c \
|
|
|
|
ctaocrypt/src/sha256.c \
|
|
|
|
ctaocrypt/src/logging.c \
|
2013-09-07 03:38:27 +04:00
|
|
|
ctaocrypt/src/port.c \
|
2012-12-01 03:45:43 +04:00
|
|
|
ctaocrypt/src/error.c
|
2011-08-25 02:54:58 +04:00
|
|
|
src_libcyassl_la_LDFLAGS = ${AM_LDFLAGS} -no-undefined -version-info ${CYASSL_LIBRARY_VERSION}
|
|
|
|
src_libcyassl_la_LIBADD = $(LIBM)
|
|
|
|
src_libcyassl_la_CFLAGS = -DBUILDING_CYASSL $(AM_CFLAGS)
|
|
|
|
src_libcyassl_la_CPPFLAGS = -DBUILDING_CYASSL $(AM_CPPFLAGS)
|
2011-04-27 04:45:41 +04:00
|
|
|
|
2013-03-13 00:31:14 +04:00
|
|
|
if BUILD_MEMORY
|
2013-03-13 00:12:10 +04:00
|
|
|
src_libcyassl_la_SOURCES += ctaocrypt/src/memory.c
|
2012-10-30 02:39:42 +04:00
|
|
|
endif
|
|
|
|
|
2013-03-11 23:49:59 +04:00
|
|
|
if BUILD_RSA
|
|
|
|
src_libcyassl_la_SOURCES += ctaocrypt/src/rsa.c
|
|
|
|
endif
|
|
|
|
|
2013-03-13 00:03:42 +04:00
|
|
|
if BUILD_DH
|
|
|
|
src_libcyassl_la_SOURCES += ctaocrypt/src/dh.c
|
|
|
|
endif
|
|
|
|
|
2013-03-12 23:48:41 +04:00
|
|
|
if BUILD_ASN
|
|
|
|
src_libcyassl_la_SOURCES += ctaocrypt/src/asn.c
|
|
|
|
endif
|
|
|
|
|
2014-03-19 20:43:57 +04:00
|
|
|
if BUILD_FIPS
|
|
|
|
src_libcyassl_la_SOURCES += ctaocrypt/src/fips.c
|
2014-03-22 01:49:49 +04:00
|
|
|
src_libcyassl_la_SOURCES += ctaocrypt/src/fips_test.c
|
2014-03-19 20:43:57 +04:00
|
|
|
endif
|
|
|
|
|
2013-03-13 00:12:10 +04:00
|
|
|
if BUILD_CODING
|
|
|
|
src_libcyassl_la_SOURCES += ctaocrypt/src/coding.c
|
|
|
|
endif
|
|
|
|
|
2013-03-12 04:07:37 +04:00
|
|
|
if BUILD_AES
|
|
|
|
src_libcyassl_la_SOURCES += ctaocrypt/src/aes.c
|
|
|
|
endif
|
|
|
|
|
2013-03-12 20:46:15 +04:00
|
|
|
if BUILD_DES3
|
|
|
|
src_libcyassl_la_SOURCES += ctaocrypt/src/des3.c
|
|
|
|
endif
|
|
|
|
|
2013-03-12 04:53:38 +04:00
|
|
|
if BUILD_SHA
|
|
|
|
src_libcyassl_la_SOURCES += ctaocrypt/src/sha.c
|
|
|
|
endif
|
|
|
|
|
2013-03-12 04:13:24 +04:00
|
|
|
if BUILD_RC4
|
|
|
|
src_libcyassl_la_SOURCES += ctaocrypt/src/arc4.c
|
|
|
|
endif
|
|
|
|
|
2013-03-12 03:26:08 +04:00
|
|
|
if BUILD_MD4
|
|
|
|
src_libcyassl_la_SOURCES += ctaocrypt/src/md4.c
|
|
|
|
endif
|
|
|
|
|
2013-03-12 04:37:08 +04:00
|
|
|
if BUILD_MD5
|
|
|
|
src_libcyassl_la_SOURCES += ctaocrypt/src/md5.c
|
|
|
|
endif
|
|
|
|
|
2013-03-12 04:01:05 +04:00
|
|
|
if BUILD_PWDBASED
|
|
|
|
src_libcyassl_la_SOURCES += ctaocrypt/src/pwdbased.c
|
|
|
|
endif
|
|
|
|
|
2013-03-12 03:39:06 +04:00
|
|
|
if BUILD_DSA
|
|
|
|
src_libcyassl_la_SOURCES += ctaocrypt/src/dsa.c
|
2012-10-30 02:39:42 +04:00
|
|
|
endif
|
|
|
|
|
2011-04-27 04:45:41 +04:00
|
|
|
if BUILD_AESNI
|
|
|
|
src_libcyassl_la_SOURCES += ctaocrypt/src/aes_asm.s
|
|
|
|
endif
|
|
|
|
|
2013-01-18 09:52:31 +04:00
|
|
|
if BUILD_CAMELLIA
|
|
|
|
src_libcyassl_la_SOURCES += ctaocrypt/src/camellia.c
|
|
|
|
endif
|
|
|
|
|
2012-07-28 01:01:02 +04:00
|
|
|
if BUILD_MD2
|
|
|
|
src_libcyassl_la_SOURCES += ctaocrypt/src/md2.c
|
|
|
|
endif
|
|
|
|
|
2011-04-27 04:45:41 +04:00
|
|
|
if BUILD_RIPEMD
|
|
|
|
src_libcyassl_la_SOURCES += ctaocrypt/src/ripemd.c
|
|
|
|
endif
|
|
|
|
|
|
|
|
if BUILD_SHA512
|
|
|
|
src_libcyassl_la_SOURCES += ctaocrypt/src/sha512.c
|
|
|
|
endif
|
|
|
|
|
2013-01-01 01:10:47 +04:00
|
|
|
if BUILD_BLAKE2
|
|
|
|
src_libcyassl_la_SOURCES += ctaocrypt/src/blake2b.c
|
|
|
|
endif
|
|
|
|
|
2011-04-27 04:45:41 +04:00
|
|
|
if BUILD_SNIFFER
|
|
|
|
src_libcyassl_la_SOURCES += src/sniffer.c
|
|
|
|
endif
|
|
|
|
|
|
|
|
if BUILD_HC128
|
|
|
|
src_libcyassl_la_SOURCES += ctaocrypt/src/hc128.c
|
|
|
|
endif
|
|
|
|
|
2012-10-23 04:28:46 +04:00
|
|
|
if BUILD_RABBIT
|
|
|
|
src_libcyassl_la_SOURCES += ctaocrypt/src/rabbit.c
|
|
|
|
endif
|
|
|
|
|
2013-03-13 23:25:34 +04:00
|
|
|
if !BUILD_INLINE
|
2011-08-25 23:41:19 +04:00
|
|
|
src_libcyassl_la_SOURCES += ctaocrypt/src/misc.c
|
2011-08-03 21:59:08 +04:00
|
|
|
endif
|
|
|
|
|
2011-04-27 04:45:41 +04:00
|
|
|
if BUILD_FASTMATH
|
|
|
|
src_libcyassl_la_SOURCES += ctaocrypt/src/tfm.c
|
2012-11-03 03:49:31 +04:00
|
|
|
endif
|
|
|
|
|
|
|
|
if BUILD_SLOWMATH
|
2011-04-27 04:45:41 +04:00
|
|
|
src_libcyassl_la_SOURCES += ctaocrypt/src/integer.c
|
|
|
|
endif
|
|
|
|
|
|
|
|
if BUILD_ECC
|
|
|
|
src_libcyassl_la_SOURCES += ctaocrypt/src/ecc.c
|
|
|
|
endif
|
|
|
|
|
2012-04-13 20:39:19 +04:00
|
|
|
if BUILD_OCSP
|
|
|
|
src_libcyassl_la_SOURCES += src/ocsp.c
|
|
|
|
endif
|
|
|
|
|
2012-05-11 23:22:16 +04:00
|
|
|
if BUILD_CRL
|
|
|
|
src_libcyassl_la_SOURCES += src/crl.c
|
2012-06-05 22:31:00 +04:00
|
|
|
endif
|
|
|
|
|
2013-03-20 03:25:58 +04:00
|
|
|
if BUILD_LIBZ
|
|
|
|
src_libcyassl_la_SOURCES += ctaocrypt/src/compress.c
|
|
|
|
endif
|
|
|
|
|
2014-01-11 02:17:03 +04:00
|
|
|
if BUILD_PKCS7
|
|
|
|
src_libcyassl_la_SOURCES += ctaocrypt/src/pkcs7.c
|
|
|
|
endif
|
|
|
|
|