summaryrefslogtreecommitdiffstats
path: root/secure/lib/libcrypto/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'secure/lib/libcrypto/Makefile')
-rw-r--r--secure/lib/libcrypto/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/secure/lib/libcrypto/Makefile b/secure/lib/libcrypto/Makefile
index 5f5c853..55cdfb0 100644
--- a/secure/lib/libcrypto/Makefile
+++ b/secure/lib/libcrypto/Makefile
@@ -15,6 +15,10 @@
${LCRYPTO_SRC}/sha ${LCRYPTO_SRC}/stack ${LCRYPTO_SRC}/txt_db \
${LCRYPTO_SRC}/x509 ${LCRYPTO_SRC}/x509v3
+.if defined(WITH_IDEA) && ${WITH_IDEA} == YES
+.PATH: ${LCRYPTO_SRC}/idea
+.endif
+
LIB= crypto
SHLIB_MAJOR= 1
@@ -98,6 +102,11 @@ SRCS+= bio_b64.c bio_enc.c bio_md.c bio_ok.c c_all.c c_allc.c c_alld.c \
# hmac
SRCS+= hmac.c
+# idea
+.if defined(WITH_IDEA) && ${WITH_IDEA} == YES
+SRCS+= i_ecb.c i_cbc.c i_cfb64.c i_ofb64.c i_skey.c
+.endif
+
# lhash
SRCS+= lh_stats.c lhash.c
@@ -176,6 +185,11 @@ HDRS= asn1/asn1.h asn1/asn1_mac.h bio/bio.h bf/blowfish.h bn/bn.h \
sha/sha.h stack/stack.h tmdiff.h txt_db/txt_db.h x509/x509.h \
x509/x509_vfy.h x509v3/x509v3.h
+.if defined(WITH_IDEA) && ${WITH_IDEA} == YES
+HDRS+= idea/idea.h
+.endif
+
+
.for h in ${HDRS}
CRYPTO_HDRS+= ${LCRYPTO_SRC}/${h}
.endfor
OpenPOWER on IntegriCloud