diff options
Diffstat (limited to 'tls')
-rw-r--r-- | tls/CMakeLists.txt | 22 | ||||
-rw-r--r-- | tls/Makefile.am | 1 |
2 files changed, 23 insertions, 0 deletions
diff --git a/tls/CMakeLists.txt b/tls/CMakeLists.txt new file mode 100644 index 0000000..3e61844 --- /dev/null +++ b/tls/CMakeLists.txt | |||
@@ -0,0 +1,22 @@ | |||
1 | include_directories( | ||
2 | . | ||
3 | ../include | ||
4 | ../include/compat | ||
5 | ) | ||
6 | |||
7 | set( | ||
8 | TLS_SRC | ||
9 | tls.c | ||
10 | tls_client.c | ||
11 | tls_config.c | ||
12 | tls_server.c | ||
13 | tls_util.c | ||
14 | tls_verify.c | ||
15 | ) | ||
16 | |||
17 | |||
18 | if(NOT HAVE_STRCASECMP) | ||
19 | set(TLS_SRC ${TLS_SRC} strsep.c) | ||
20 | endif() | ||
21 | |||
22 | add_library(tls ${TLS_SRC}) | ||
diff --git a/tls/Makefile.am b/tls/Makefile.am index e8c4713..82ec211 100644 --- a/tls/Makefile.am +++ b/tls/Makefile.am | |||
@@ -3,6 +3,7 @@ include $(top_srcdir)/Makefile.am.common | |||
3 | lib_LTLIBRARIES = libtls.la | 3 | lib_LTLIBRARIES = libtls.la |
4 | 4 | ||
5 | EXTRA_DIST = VERSION | 5 | EXTRA_DIST = VERSION |
6 | EXTRA_DIST += CMakeLists.txt | ||
6 | 7 | ||
7 | libtls_la_LDFLAGS = -version-info @LIBTLS_VERSION@ -no-undefined | 8 | libtls_la_LDFLAGS = -version-info @LIBTLS_VERSION@ -no-undefined |
8 | libtls_la_LIBADD = ../crypto/libcrypto.la ../ssl/libssl.la $(PLATFORM_LDADD) | 9 | libtls_la_LIBADD = ../crypto/libcrypto.la ../ssl/libssl.la $(PLATFORM_LDADD) |