aboutsummaryrefslogtreecommitdiff
path: root/ssl
diff options
context:
space:
mode:
authorBrent Cook <busterb@gmail.com>2014-07-10 22:06:10 -0500
committerBrent Cook <bcook@openbsd.org>2015-07-21 12:08:18 -0500
commit5d8a1cf7155130bd8101090d7e1d0c2f90d9b123 (patch)
tree286f7d12e3647f94bd1e6e8e180a4bf6215a0740 /ssl
parent7a4a37cf596697ae96eeb1c555989e6d1a443187 (diff)
downloadportable-5d8a1cf7155130bd8101090d7e1d0c2f90d9b123.tar.gz
portable-5d8a1cf7155130bd8101090d7e1d0c2f90d9b123.tar.bz2
portable-5d8a1cf7155130bd8101090d7e1d0c2f90d9b123.zip
add initial CMake and Visual Studio build support
This moves the compatibility include files from include to include/compat so we can use the awful MS C compiler <../include/> trick to emulate the GNU #include_next extension. This also removes a few old compat files we do not need anymore.
Diffstat (limited to 'ssl')
-rw-r--r--ssl/CMakeLists.txt53
-rw-r--r--ssl/Makefile.am1
2 files changed, 54 insertions, 0 deletions
diff --git a/ssl/CMakeLists.txt b/ssl/CMakeLists.txt
new file mode 100644
index 0000000..c26f2b4
--- /dev/null
+++ b/ssl/CMakeLists.txt
@@ -0,0 +1,53 @@
1include_directories(
2 .
3 ../include
4 ../include/compat
5)
6
7add_library(
8 ssl
9
10 bio_ssl.c
11 bs_ber.c
12 bs_cbb.c
13 bs_cbs.c
14 d1_both.c
15 d1_clnt.c
16 d1_enc.c
17 d1_lib.c
18 d1_meth.c
19 d1_pkt.c
20 d1_srtp.c
21 d1_srvr.c
22 pqueue.c
23 s23_clnt.c
24 s23_lib.c
25 s23_meth.c
26 s23_pkt.c
27 s23_srvr.c
28 s3_both.c
29 s3_cbc.c
30 s3_clnt.c
31 s3_enc.c
32 s3_lib.c
33 s3_meth.c
34 s3_pkt.c
35 s3_srvr.c
36 ssl_algs.c
37 ssl_asn1.c
38 ssl_cert.c
39 ssl_ciph.c
40 ssl_err.c
41 ssl_err2.c
42 ssl_lib.c
43 ssl_rsa.c
44 ssl_sess.c
45 ssl_stat.c
46 ssl_txt.c
47 t1_clnt.c
48 t1_enc.c
49 t1_lib.c
50 t1_meth.c
51 t1_reneg.c
52 t1_srvr.c
53)
diff --git a/ssl/Makefile.am b/ssl/Makefile.am
index db60775..6c36cf2 100644
--- a/ssl/Makefile.am
+++ b/ssl/Makefile.am
@@ -3,6 +3,7 @@ include $(top_srcdir)/Makefile.am.common
3lib_LTLIBRARIES = libssl.la 3lib_LTLIBRARIES = libssl.la
4 4
5EXTRA_DIST = VERSION 5EXTRA_DIST = VERSION
6EXTRA_DIST += CMakeLists.txt
6 7
7libssl_la_LDFLAGS = -version-info @LIBSSL_VERSION@ -no-undefined 8libssl_la_LDFLAGS = -version-info @LIBSSL_VERSION@ -no-undefined
8libssl_la_LIBADD = ../crypto/libcrypto.la 9libssl_la_LIBADD = ../crypto/libcrypto.la