diff options
| author | Brent Cook <busterb@gmail.com> | 2014-07-10 22:06:10 -0500 |
|---|---|---|
| committer | Brent Cook <bcook@openbsd.org> | 2015-07-21 12:08:18 -0500 |
| commit | 5d8a1cf7155130bd8101090d7e1d0c2f90d9b123 (patch) | |
| tree | 286f7d12e3647f94bd1e6e8e180a4bf6215a0740 /ssl | |
| parent | 7a4a37cf596697ae96eeb1c555989e6d1a443187 (diff) | |
| download | portable-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.txt | 53 | ||||
| -rw-r--r-- | ssl/Makefile.am | 1 |
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 @@ | |||
| 1 | include_directories( | ||
| 2 | . | ||
| 3 | ../include | ||
| 4 | ../include/compat | ||
| 5 | ) | ||
| 6 | |||
| 7 | add_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 | |||
| 3 | lib_LTLIBRARIES = libssl.la | 3 | lib_LTLIBRARIES = libssl.la |
| 4 | 4 | ||
| 5 | EXTRA_DIST = VERSION | 5 | EXTRA_DIST = VERSION |
| 6 | EXTRA_DIST += CMakeLists.txt | ||
| 6 | 7 | ||
| 7 | libssl_la_LDFLAGS = -version-info @LIBSSL_VERSION@ -no-undefined | 8 | libssl_la_LDFLAGS = -version-info @LIBSSL_VERSION@ -no-undefined |
| 8 | libssl_la_LIBADD = ../crypto/libcrypto.la | 9 | libssl_la_LIBADD = ../crypto/libcrypto.la |
