Add crypto/bytestring with autotools
This commit is contained in:
parent
a3a03842f6
commit
b10ff615eb
@ -4,6 +4,7 @@ AM_CPPFLAGS += -DLIBRESSL_CRYPTO_INTERNAL
|
|||||||
|
|
||||||
AM_CPPFLAGS += -I$(top_srcdir)/crypto/asn1
|
AM_CPPFLAGS += -I$(top_srcdir)/crypto/asn1
|
||||||
AM_CPPFLAGS += -I$(top_srcdir)/crypto/bn
|
AM_CPPFLAGS += -I$(top_srcdir)/crypto/bn
|
||||||
|
AM_CPPFLAGS += -I$(top_srcdir)/crypto/bytestring
|
||||||
AM_CPPFLAGS += -I$(top_srcdir)/crypto/ec
|
AM_CPPFLAGS += -I$(top_srcdir)/crypto/ec
|
||||||
AM_CPPFLAGS += -I$(top_srcdir)/crypto/ecdh
|
AM_CPPFLAGS += -I$(top_srcdir)/crypto/ecdh
|
||||||
AM_CPPFLAGS += -I$(top_srcdir)/crypto/ecdsa
|
AM_CPPFLAGS += -I$(top_srcdir)/crypto/ecdsa
|
||||||
@ -439,6 +440,12 @@ noinst_HEADERS += bn/bn_prime.h
|
|||||||
libcrypto_la_SOURCES += buffer/buf_err.c
|
libcrypto_la_SOURCES += buffer/buf_err.c
|
||||||
libcrypto_la_SOURCES += buffer/buf_str.c
|
libcrypto_la_SOURCES += buffer/buf_str.c
|
||||||
libcrypto_la_SOURCES += buffer/buffer.c
|
libcrypto_la_SOURCES += buffer/buffer.c
|
||||||
|
noinst_HEADERS += bytestring/bytestring.h
|
||||||
|
|
||||||
|
# bytestring
|
||||||
|
libcrypto_la_SOURCES += bytestring/bs_ber.c
|
||||||
|
libcrypto_la_SOURCES += bytestring/bs_cbb.c
|
||||||
|
libcrypto_la_SOURCES += bytestring/bs_cbs.c
|
||||||
|
|
||||||
# camellia
|
# camellia
|
||||||
libcrypto_la_SOURCES += camellia/cmll_cfb.c
|
libcrypto_la_SOURCES += camellia/cmll_cfb.c
|
||||||
|
@ -1,7 +1,9 @@
|
|||||||
include $(top_srcdir)/Makefile.am.common
|
include $(top_srcdir)/Makefile.am.common
|
||||||
|
|
||||||
|
noinst_LTLIBRARIES = libbs.la
|
||||||
|
|
||||||
if ENABLE_LIBTLS_ONLY
|
if ENABLE_LIBTLS_ONLY
|
||||||
noinst_LTLIBRARIES = libssl.la
|
noinst_LTLIBRARIES += libssl.la
|
||||||
else
|
else
|
||||||
lib_LTLIBRARIES = libssl.la
|
lib_LTLIBRARIES = libssl.la
|
||||||
endif
|
endif
|
||||||
@ -21,11 +23,14 @@ libssl_la_objects.mk: Makefile
|
|||||||
|
|
||||||
libssl_la_LDFLAGS = -version-info @LIBSSL_VERSION@ -no-undefined -export-symbols $(top_srcdir)/ssl/ssl.sym
|
libssl_la_LDFLAGS = -version-info @LIBSSL_VERSION@ -no-undefined -export-symbols $(top_srcdir)/ssl/ssl.sym
|
||||||
libssl_la_LIBADD = $(abs_top_builddir)/crypto/libcrypto.la $(PLATFORM_LDADD)
|
libssl_la_LIBADD = $(abs_top_builddir)/crypto/libcrypto.la $(PLATFORM_LDADD)
|
||||||
|
libssl_la_LIBADD += libbs.la
|
||||||
|
|
||||||
|
libbs_la_SOURCES = bs_ber.c
|
||||||
|
libbs_la_SOURCES += bs_cbb.c
|
||||||
|
libbs_la_SOURCES += bs_cbs.c
|
||||||
|
noinst_HEADERS = bytestring.h
|
||||||
|
|
||||||
libssl_la_SOURCES = bio_ssl.c
|
libssl_la_SOURCES = bio_ssl.c
|
||||||
libssl_la_SOURCES += bs_ber.c
|
|
||||||
libssl_la_SOURCES += bs_cbb.c
|
|
||||||
libssl_la_SOURCES += bs_cbs.c
|
|
||||||
libssl_la_SOURCES += d1_both.c
|
libssl_la_SOURCES += d1_both.c
|
||||||
libssl_la_SOURCES += d1_lib.c
|
libssl_la_SOURCES += d1_lib.c
|
||||||
libssl_la_SOURCES += d1_pkt.c
|
libssl_la_SOURCES += d1_pkt.c
|
||||||
@ -75,7 +80,6 @@ libssl_la_SOURCES += tls13_record.c
|
|||||||
libssl_la_SOURCES += tls13_record_layer.c
|
libssl_la_SOURCES += tls13_record_layer.c
|
||||||
libssl_la_SOURCES += tls13_server.c
|
libssl_la_SOURCES += tls13_server.c
|
||||||
|
|
||||||
noinst_HEADERS = bytestring.h
|
|
||||||
noinst_HEADERS += srtp.h
|
noinst_HEADERS += srtp.h
|
||||||
noinst_HEADERS += dtls_locl.h
|
noinst_HEADERS += dtls_locl.h
|
||||||
noinst_HEADERS += ssl_locl.h
|
noinst_HEADERS += ssl_locl.h
|
||||||
|
Loading…
x
Reference in New Issue
Block a user