aboutsummaryrefslogtreecommitdiff
path: root/src/IO/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/IO/Makefile.am')
-rw-r--r--src/IO/Makefile.am15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/IO/Makefile.am b/src/IO/Makefile.am
index d8fed40a..6d3a5a8b 100644
--- a/src/IO/Makefile.am
+++ b/src/IO/Makefile.am
@@ -9,6 +9,19 @@ AM_CXXFLAGS = @LIBFLTK_CXXFLAGS@
noinst_LIBRARIES = libDiof.a
+if USE_OPENSSL
+TLS_OPENSSL = tls_openssl.c tls_openssl.h
+else
+TLS_OPENSSL =
+endif
+
+if USE_MBEDTLS
+TLS_MBEDTLS = tls_mbedtls.c tls_mbedtls.h
+else
+TLS_MBEDTLS =
+endif
+
+
libDiof_a_SOURCES = \
mime.c \
mime.h \
@@ -17,6 +30,8 @@ libDiof_a_SOURCES = \
http.c \
tls.h \
tls.c \
+ $(TLS_OPENSSL) \
+ $(TLS_MBEDTLS) \
dpi.c \
IO.c \
iowatch.cc \