
- Add 3 DEF files to export functions from Windows DLLs - Add gettimeofday to crypto/crypto.def (*1) - Remove gai_strerrorA from tls/tls.def (*1) - Fix CMakeLists.txt to use DEF files as PRIVATE - Change DLL import library file name since it duplicates with static library - Ignore compiler warning C4267, and Edit CMAKE_C_FLAGS not to overwrite it (*1) - Add USE_SHARED option to build openssl.exe with shared libraries (*1) (*1) recommended by @mcnameej
35 lines
953 B
Makefile
35 lines
953 B
Makefile
include $(top_srcdir)/Makefile.am.common
|
|
|
|
lib_LTLIBRARIES = libtls.la
|
|
|
|
EXTRA_DIST = VERSION
|
|
EXTRA_DIST += CMakeLists.txt
|
|
EXTRA_DIST += tls.def
|
|
|
|
libtls_la_LDFLAGS = -version-info @LIBTLS_VERSION@ -no-undefined
|
|
libtls_la_LIBADD = $(abs_top_builddir)/ssl/libssl.la
|
|
libtls_la_LIBADD += $(abs_top_builddir)/crypto/libcrypto.la
|
|
libtls_la_LIBADD += $(PLATFORM_LDADD)
|
|
|
|
libtls_la_CPPFLAGS = $(AM_CPPFLAGS)
|
|
if OPENSSLDIR_DEFINED
|
|
libtls_la_CPPFLAGS += -D_PATH_SSL_CA_FILE=\"@OPENSSLDIR@/cert.pem\"
|
|
else
|
|
libtls_la_CPPFLAGS += -D_PATH_SSL_CA_FILE=\"$(sysconfdir)/ssl/cert.pem\"
|
|
endif
|
|
|
|
libtls_la_SOURCES = tls.c
|
|
libtls_la_SOURCES += tls_client.c
|
|
libtls_la_SOURCES += tls_bio_cb.c
|
|
libtls_la_SOURCES += tls_config.c
|
|
libtls_la_SOURCES += tls_conninfo.c
|
|
libtls_la_SOURCES += tls_server.c
|
|
libtls_la_SOURCES += tls_peer.c
|
|
libtls_la_SOURCES += tls_util.c
|
|
libtls_la_SOURCES += tls_verify.c
|
|
noinst_HEADERS = tls_internal.h
|
|
|
|
if !HAVE_STRSEP
|
|
libtls_la_SOURCES += strsep.c
|
|
endif
|