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 = \
|
2011-08-25 23:41:19 +04:00
|
|
|
src/internal.c \
|
|
|
|
src/io.c \
|
2011-08-25 02:54:58 +04:00
|
|
|
src/keys.c \
|
|
|
|
src/ssl.c \
|
|
|
|
src/tls.c \
|
|
|
|
ctaocrypt/src/asn.c \
|
|
|
|
ctaocrypt/src/coding.c \
|
|
|
|
ctaocrypt/src/des3.c \
|
|
|
|
ctaocrypt/src/hmac.c \
|
|
|
|
ctaocrypt/src/md5.c \
|
|
|
|
ctaocrypt/src/md4.c \
|
|
|
|
ctaocrypt/src/random.c \
|
|
|
|
ctaocrypt/src/rsa.c \
|
|
|
|
ctaocrypt/src/sha.c \
|
|
|
|
ctaocrypt/src/aes.c \
|
|
|
|
ctaocrypt/src/sha256.c \
|
|
|
|
ctaocrypt/src/dh.c \
|
|
|
|
ctaocrypt/src/dsa.c \
|
|
|
|
ctaocrypt/src/arc4.c \
|
|
|
|
ctaocrypt/src/rabbit.c \
|
|
|
|
ctaocrypt/src/pwdbased.c \
|
|
|
|
ctaocrypt/src/logging.c \
|
2011-08-29 21:42:18 +04:00
|
|
|
ctaocrypt/src/memory.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
|
|
|
|
|
|
|
if BUILD_AESNI
|
|
|
|
src_libcyassl_la_SOURCES += ctaocrypt/src/aes_asm.s
|
|
|
|
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
|
|
|
|
|
|
|
|
if BUILD_SNIFFER
|
|
|
|
src_libcyassl_la_SOURCES += src/sniffer.c
|
|
|
|
endif
|
|
|
|
|
|
|
|
if BUILD_HC128
|
|
|
|
src_libcyassl_la_SOURCES += ctaocrypt/src/hc128.c
|
|
|
|
endif
|
|
|
|
|
2011-08-03 21:59:08 +04:00
|
|
|
if BUILD_NOINLINE
|
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
|
|
|
|
else
|
|
|
|
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
|
|
|
|
|
|
|
|
if BUILD_CRL_MONITOR
|
2012-05-24 03:55:26 +04:00
|
|
|
src_libcyassl_la_CFLAGS += $(PTHREAD_CFLAGS)
|
|
|
|
src_libcyassl_la_LIBADD += $(PTHREAD_LIBS)
|
2012-05-11 23:22:16 +04:00
|
|
|
endif
|
|
|
|
|