aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkinichiro <kinichiro.inoguchi@gmail.com>2021-12-11 21:00:55 +0900
committerkinichiro <kinichiro.inoguchi@gmail.com>2021-12-11 22:05:28 +0900
commitb10ff615ebb1ceca423a8ad34792aa7952b8ee3a (patch)
treed85c467707f44fd4be6ca31bc08f3ead368b1d13
parenta3a03842f68732cc08c0241c40cf99fd11a8a3a4 (diff)
downloadportable-b10ff615ebb1ceca423a8ad34792aa7952b8ee3a.tar.gz
portable-b10ff615ebb1ceca423a8ad34792aa7952b8ee3a.tar.bz2
portable-b10ff615ebb1ceca423a8ad34792aa7952b8ee3a.zip
Add crypto/bytestring with autotools
-rw-r--r--crypto/Makefile.am7
-rw-r--r--ssl/Makefile.am14
2 files changed, 16 insertions, 5 deletions
diff --git a/crypto/Makefile.am b/crypto/Makefile.am
index 34bdd43..83531db 100644
--- a/crypto/Makefile.am
+++ b/crypto/Makefile.am
@@ -4,6 +4,7 @@ AM_CPPFLAGS += -DLIBRESSL_CRYPTO_INTERNAL
4 4
5AM_CPPFLAGS += -I$(top_srcdir)/crypto/asn1 5AM_CPPFLAGS += -I$(top_srcdir)/crypto/asn1
6AM_CPPFLAGS += -I$(top_srcdir)/crypto/bn 6AM_CPPFLAGS += -I$(top_srcdir)/crypto/bn
7AM_CPPFLAGS += -I$(top_srcdir)/crypto/bytestring
7AM_CPPFLAGS += -I$(top_srcdir)/crypto/ec 8AM_CPPFLAGS += -I$(top_srcdir)/crypto/ec
8AM_CPPFLAGS += -I$(top_srcdir)/crypto/ecdh 9AM_CPPFLAGS += -I$(top_srcdir)/crypto/ecdh
9AM_CPPFLAGS += -I$(top_srcdir)/crypto/ecdsa 10AM_CPPFLAGS += -I$(top_srcdir)/crypto/ecdsa
@@ -439,6 +440,12 @@ noinst_HEADERS += bn/bn_prime.h
439libcrypto_la_SOURCES += buffer/buf_err.c 440libcrypto_la_SOURCES += buffer/buf_err.c
440libcrypto_la_SOURCES += buffer/buf_str.c 441libcrypto_la_SOURCES += buffer/buf_str.c
441libcrypto_la_SOURCES += buffer/buffer.c 442libcrypto_la_SOURCES += buffer/buffer.c
443noinst_HEADERS += bytestring/bytestring.h
444
445# bytestring
446libcrypto_la_SOURCES += bytestring/bs_ber.c
447libcrypto_la_SOURCES += bytestring/bs_cbb.c
448libcrypto_la_SOURCES += bytestring/bs_cbs.c
442 449
443# camellia 450# camellia
444libcrypto_la_SOURCES += camellia/cmll_cfb.c 451libcrypto_la_SOURCES += camellia/cmll_cfb.c
diff --git a/ssl/Makefile.am b/ssl/Makefile.am
index d12928e..8a778ca 100644
--- a/ssl/Makefile.am
+++ b/ssl/Makefile.am
@@ -1,7 +1,9 @@
1include $(top_srcdir)/Makefile.am.common 1include $(top_srcdir)/Makefile.am.common
2 2
3noinst_LTLIBRARIES = libbs.la
4
3if ENABLE_LIBTLS_ONLY 5if ENABLE_LIBTLS_ONLY
4noinst_LTLIBRARIES = libssl.la 6noinst_LTLIBRARIES += libssl.la
5else 7else
6lib_LTLIBRARIES = libssl.la 8lib_LTLIBRARIES = libssl.la
7endif 9endif
@@ -21,11 +23,14 @@ libssl_la_objects.mk: Makefile
21 23
22libssl_la_LDFLAGS = -version-info @LIBSSL_VERSION@ -no-undefined -export-symbols $(top_srcdir)/ssl/ssl.sym 24libssl_la_LDFLAGS = -version-info @LIBSSL_VERSION@ -no-undefined -export-symbols $(top_srcdir)/ssl/ssl.sym
23libssl_la_LIBADD = $(abs_top_builddir)/crypto/libcrypto.la $(PLATFORM_LDADD) 25libssl_la_LIBADD = $(abs_top_builddir)/crypto/libcrypto.la $(PLATFORM_LDADD)
26libssl_la_LIBADD += libbs.la
27
28libbs_la_SOURCES = bs_ber.c
29libbs_la_SOURCES += bs_cbb.c
30libbs_la_SOURCES += bs_cbs.c
31noinst_HEADERS = bytestring.h
24 32
25libssl_la_SOURCES = bio_ssl.c 33libssl_la_SOURCES = bio_ssl.c
26libssl_la_SOURCES += bs_ber.c
27libssl_la_SOURCES += bs_cbb.c
28libssl_la_SOURCES += bs_cbs.c
29libssl_la_SOURCES += d1_both.c 34libssl_la_SOURCES += d1_both.c
30libssl_la_SOURCES += d1_lib.c 35libssl_la_SOURCES += d1_lib.c
31libssl_la_SOURCES += d1_pkt.c 36libssl_la_SOURCES += d1_pkt.c
@@ -75,7 +80,6 @@ libssl_la_SOURCES += tls13_record.c
75libssl_la_SOURCES += tls13_record_layer.c 80libssl_la_SOURCES += tls13_record_layer.c
76libssl_la_SOURCES += tls13_server.c 81libssl_la_SOURCES += tls13_server.c
77 82
78noinst_HEADERS = bytestring.h
79noinst_HEADERS += srtp.h 83noinst_HEADERS += srtp.h
80noinst_HEADERS += dtls_locl.h 84noinst_HEADERS += dtls_locl.h
81noinst_HEADERS += ssl_locl.h 85noinst_HEADERS += ssl_locl.h