This pull request updates the OpenSSL version that is statically linked with Node.js from OpenSSl 1.1.1 to quictls OpenSSL 3.0.0+quic. This pull request will replace the OpenSSL version that is currently in the deps directory and when performing a normal build OpenSSL 3.0+quic will be statically linked to the Node.js executable. We will still be able to dynamically link to OpenSSL 1.1.1 and we have a CI job which dynamically links to OpenSSL 1.1.1 which is run for every pull request to make sure that we maintain backward compatibility. PR-URL: https://github.com/nodejs/node/pull/38512 Reviewed-By: Michael Dawson <midawson@redhat.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
281 lines
14 KiB
Plaintext
281 lines
14 KiB
Plaintext
|
|
##
|
|
## Makefile for OpenSSL
|
|
##
|
|
## WARNING: do not edit!
|
|
## Generated by Configure from Configurations/common0.tmpl, Configurations/windows-makefile.tmpl, Configurations/common.tmpl
|
|
|
|
|
|
PLATFORM=VC-WIN64-ARM
|
|
SRCDIR=.
|
|
BLDDIR=.
|
|
|
|
VERSION=1.1.1a
|
|
MAJOR=1
|
|
MINOR=1.1
|
|
|
|
SHLIB_VERSION_NUMBER=1.1
|
|
|
|
GENERATED_MANDATORY=include/crypto/bn_conf.h include/crypto/dso_conf.h include/openssl/asn1.h include/openssl/asn1t.h include/openssl/bio.h include/openssl/cmp.h include/openssl/cms.h include/openssl/conf.h include/openssl/configuration.h include/openssl/crmf.h include/openssl/crypto.h include/openssl/ct.h include/openssl/err.h include/openssl/ess.h include/openssl/fipskey.h include/openssl/lhash.h include/openssl/ocsp.h include/openssl/opensslv.h include/openssl/pkcs12.h include/openssl/pkcs7.h include/openssl/safestack.h include/openssl/srp.h include/openssl/ssl.h include/openssl/ui.h include/openssl/x509.h include/openssl/x509_vfy.h include/openssl/x509v3.h providers/common/include/prov/der_digests.h providers/common/include/prov/der_dsa.h providers/common/include/prov/der_ec.h providers/common/include/prov/der_ecx.h providers/common/include/prov/der_rsa.h providers/common/include/prov/der_rsa.h providers/common/include/prov/der_sm2.h providers/common/include/prov/der_wrap.h
|
|
GENERATED=crypto/buildinf.h apps/progs.h providers/common/der/der_digests_gen.c providers/common/der/der_dsa_gen.c providers/common/der/der_ec_gen.c providers/common/der/der_ecx_gen.c providers/common/der/der_rsa_gen.c providers/common/der/der_sm2_gen.c providers/common/der/der_wrap_gen.c apps/progs.c providers/common/der/der_digests_gen.c providers/common/der/der_dsa_gen.c providers/common/der/der_ec_gen.c providers/common/der/der_ecx_gen.c providers/common/der/der_rsa_gen.c providers/common/der/der_sm2_gen.c providers/common/der/der_wrap_gen.c
|
|
|
|
INSTALL_LIBS="libcrypto.lib" "libssl.lib"
|
|
INSTALL_SHLIBS="libcrypto-1_1-arm64.dll" "libssl-1_1-arm64.dll"
|
|
INSTALL_SHLIBPDBS="libcrypto-1_1-arm64.pdb" "libssl-1_1-arm64.pdb"
|
|
INSTALL_ENGINES="engines/capi.dll" "engines/padlock.dll"
|
|
INSTALL_ENGINEPDBS="engines/capi.pdb" "engines/padlock.pdb"
|
|
INSTALL_PROGRAMS="apps/openssl.exe"
|
|
INSTALL_PROGRAMPDBS="apps/openssl.pdb"
|
|
|
|
BIN_SCRIPTS="$(BLDDIR)\tools\c_rehash.pl"
|
|
MISC_SCRIPTS="$(BLDDIR)\apps\CA.pl" "$(BLDDIR)\apps\tsget.pl"
|
|
|
|
|
|
APPS_OPENSSL="apps/openssl"
|
|
|
|
# Do not edit these manually. Use Configure with --prefix or --openssldir
|
|
# to change this! Short explanation in the top comment in Configure
|
|
INSTALLTOP_dev=
|
|
INSTALLTOP_dir=\OpenSSL
|
|
OPENSSLDIR_dev=
|
|
OPENSSLDIR_dir=\SSL
|
|
LIBDIR=lib
|
|
ENGINESDIR_dev=
|
|
ENGINESDIR_dir=\OpenSSL/lib/engines-1_1
|
|
INSTALLTOP=$(INSTALLTOP_dev)$(INSTALLTOP_dir)
|
|
OPENSSLDIR=$(OPENSSLDIR_dev)$(OPENSSLDIR_dir)
|
|
ENGINESDIR=$(ENGINESDIR_dev)$(ENGINESDIR_dir)
|
|
|
|
# $(libdir) is chosen to be compatible with the GNU coding standards
|
|
libdir=$(INSTALLTOP)\$(LIBDIR)
|
|
|
|
##### User defined commands and flags ################################
|
|
|
|
CC=cl
|
|
CPP=$(CC) /EP /C
|
|
CPPFLAGS=
|
|
CFLAGS=/W3 /wd4090 /nologo /O2
|
|
LD=link
|
|
LDFLAGS=/nologo /debug
|
|
EX_LIBS=
|
|
|
|
PERL=/usr/bin/perl
|
|
|
|
AR=lib
|
|
ARFLAGS= /nologo
|
|
|
|
MT=mt
|
|
MTFLAGS= -nologo
|
|
|
|
AS=
|
|
ASFLAGS=
|
|
|
|
RC=rc
|
|
|
|
ECHO="$(PERL)" "$(SRCDIR)\util\echo.pl"
|
|
|
|
##### Special command flags ##########################################
|
|
|
|
COUTFLAG=/Fo$(OSSL_EMPTY)
|
|
LDOUTFLAG=/out:$(OSSL_EMPTY)
|
|
AROUTFLAG=/out:$(OSSL_EMPTY)
|
|
MTINFLAG=-manifest $(OSSL_EMPTY)
|
|
MTOUTFLAG=-outputresource:$(OSSL_EMPTY)
|
|
ASOUTFLAG=$(OSSL_EMPTY)
|
|
RCOUTFLAG=/fo$(OSSL_EMPTY)
|
|
|
|
##### Project flags ##################################################
|
|
|
|
# Variables starting with CNF_ are common variables for all product types
|
|
|
|
CNF_ASFLAGS=
|
|
CNF_CPPFLAGS=-D"OPENSSL_SYS_WIN32" -D"WIN32_LEAN_AND_MEAN" -D"UNICODE" -D"_UNICODE" -D"_CRT_SECURE_NO_DEPRECATE" -D"_WINSOCK_DEPRECATED_NO_WARNINGS" -D"_ARM_WINAPI_PARTITION_DESKTOP_SDK_AVAILABLE" -D"OPENSSL_SYS_WIN_CORE" -D"NDEBUG"
|
|
CNF_CFLAGS=/Gs0 /GF /Gy /MD
|
|
CNF_CXXFLAGS=
|
|
CNF_LDFLAGS=/NODEFAULTLIB:kernel32.lib
|
|
CNF_EX_LIBS=onecore.lib
|
|
|
|
# Variables starting with LIB_ are used to build library object files
|
|
# and shared libraries.
|
|
# Variables starting with DSO_ are used to build DSOs and their object files.
|
|
# Variables starting with BIN_ are used to build programs and their object
|
|
# files.
|
|
|
|
LIB_ASFLAGS=$(CNF_ASFLAGS) $(ASFLAGS)
|
|
LIB_CPPFLAGS=-D"L_ENDIAN" -D"OPENSSL_PIC" -D"OPENSSLDIR=\"\\SSL\"" -D"ENGINESDIR=\"\\OpenSSL/lib/engines-1_1\"" $(CNF_CPPFLAGS) $(CPPFLAGS)
|
|
LIB_CFLAGS=/Zi /Fdossl_static.pdb $(CNF_CFLAGS) $(CFLAGS)
|
|
LIB_LDFLAGS=/dll $(CNF_LDFLAGS) $(LDFLAGS)
|
|
LIB_EX_LIBS=$(CNF_EX_LIBS) $(EX_LIBS)
|
|
DSO_ASFLAGS=$(CNF_ASFLAGS) $(ASFLAGS)
|
|
DSO_CPPFLAGS=$(CNF_CPPFLAGS) $(CPPFLAGS)
|
|
DSO_CFLAGS=/Zi /Fddso.pdb $(CNF_CFLAGS) $(CFLAGS)
|
|
DSO_LDFLAGS=/dll $(CNF_LDFLAGS) $(LDFLAGS)
|
|
DSO_EX_LIBS=$(CNF_EX_LIBS) $(EX_LIBS)
|
|
BIN_ASFLAGS=$(CNF_ASFLAGS) $(ASFLAGS)
|
|
BIN_CPPFLAGS=$(CNF_CPPFLAGS) $(CPPFLAGS)
|
|
BIN_CFLAGS=/Zi /Fdapp.pdb $(CNF_CFLAGS) $(CFLAGS)
|
|
BIN_LDFLAGS=/subsystem:console /opt:ref $(CNF_LDFLAGS) $(LDFLAGS)
|
|
BIN_EX_LIBS=$(CNF_EX_LIBS) $(EX_LIBS)
|
|
|
|
# CPPFLAGS_Q is used for one thing only: to build up buildinf.h
|
|
CPPFLAGS_Q=-D"L_ENDIAN" -D"OPENSSL_PIC"
|
|
|
|
PERLASM_SCHEME=
|
|
|
|
PROCESSOR=
|
|
|
|
build_generated: $(GENERATED_MANDATORY)
|
|
|
|
crypto/buildinf.h:
|
|
"$(PERL)" "util/mkbuildinf.pl" "$(CC) $(LIB_CFLAGS) $(CPPFLAGS_Q)" "$(PLATFORM)" > $@
|
|
|
|
apps/progs.h:
|
|
"$(PERL)" "apps/progs.pl" $(APPS_OPENSSL) > $@
|
|
|
|
apps/progs.h: apps/progs.c
|
|
"$(PERL)" "apps/progs.pl" "-H" $(APPS_OPENSSL) > $@
|
|
|
|
apps/progs.c:
|
|
"$(PERL)" "apps/progs.pl" "-C" $(APPS_OPENSSL) > $@
|
|
|
|
include/crypto/bn_conf.h:
|
|
"$(PERL)" "-I$(BLDDIR)" -Mconfigdata "util/dofile.pl" \
|
|
"-omakefile" "include/crypto/bn_conf.h.in" > $@
|
|
include/crypto/dso_conf.h:
|
|
"$(PERL)" "-I$(BLDDIR)" -Mconfigdata "util/dofile.pl" \
|
|
"-omakefile" "include/crypto/dso_conf.h.in" > $@
|
|
|
|
include/openssl/asn1.h: include/openssl/asn1.h.in configdata.pm
|
|
"$(PERL)" "-I$(BLDDIR)" -Mconfigdata "util/dofile.pl" \
|
|
"-omakefile" "include/openssl/asn1.h.in" > $@
|
|
include/openssl/asn1t.h: include/openssl/asn1t.h.in configdata.pm
|
|
"$(PERL)" "-I$(BLDDIR)" -Mconfigdata "util/dofile.pl" \
|
|
"-omakefile" "include/openssl/asn1t.h.in" > $@
|
|
include/openssl/bio.h: include/openssl/bio.h.in configdata.pm
|
|
"$(PERL)" "-I$(BLDDIR)" -Mconfigdata "util/dofile.pl" \
|
|
"-omakefile" "include/openssl/bio.h.in" > $@
|
|
include/openssl/cmp.h: include/openssl/cmp.h.in configdata.pm
|
|
"$(PERL)" "-I$(BLDDIR)" -Mconfigdata "util/dofile.pl" \
|
|
"-omakefile" "include/openssl/cmp.h.in" > $@
|
|
include/openssl/cms.h: include/openssl/cms.h.in configdata.pm
|
|
"$(PERL)" "-I$(BLDDIR)" -Mconfigdata "util/dofile.pl" \
|
|
"-omakefile" "include/openssl/cms.h.in" > $@
|
|
include/openssl/conf.h: include/openssl/conf.h.in configdata.pm
|
|
"$(PERL)" "-I$(BLDDIR)" -Mconfigdata "util/dofile.pl" \
|
|
"-omakefile" "include/openssl/conf.h.in" > $@
|
|
include/openssl/conf.h: include/openssl/conf.h.in configdata.pm
|
|
"$(PERL)" "-I$(BLDDIR)" -Mconfigdata "util/dofile.pl" \
|
|
"-omakefile" "include/openssl/conf.h.in" > $@
|
|
include/openssl/configuration.h: include/openssl/configuration.h.in configdata.pm
|
|
"$(PERL)" "-I$(BLDDIR)" -Mconfigdata "util/dofile.pl" \
|
|
"-omakefile" "include/openssl/configuration.h.in" > $@
|
|
include/openssl/crmf.h: include/openssl/crmf.h.in configdata.pm
|
|
"$(PERL)" "-I$(BLDDIR)" -Mconfigdata "util/dofile.pl" \
|
|
"-omakefile" "include/openssl/crmf.h.in" > $@
|
|
include/openssl/crypto.h: include/openssl/crypto.h.in configdata.pm
|
|
"$(PERL)" "-I$(BLDDIR)" -Mconfigdata "util/dofile.pl" \
|
|
"-omakefile" "include/openssl/crypto.h.in" > $@
|
|
include/openssl/ct.h: include/openssl/ct.h.in configdata.pm
|
|
"$(PERL)" "-I$(BLDDIR)" -Mconfigdata "util/dofile.pl" \
|
|
"-omakefile" "include/openssl/ct.h.in" > $@
|
|
include/openssl/err.h: include/openssl/err.h.in configdata.pm
|
|
"$(PERL)" "-I$(BLDDIR)" -Mconfigdata "util/dofile.pl" \
|
|
"-omakefile" "include/openssl/err.h.in" > $@
|
|
include/openssl/ess.h: include/openssl/ess.h.in configdata.pm
|
|
"$(PERL)" "-I$(BLDDIR)" -Mconfigdata "util/dofile.pl" \
|
|
"-omakefile" "include/openssl/ess.h.in" > $@
|
|
include/openssl/fipskey.h: include/openssl/fipskey.h.in configdata.pm
|
|
"$(PERL)" "-I$(BLDDIR)" -Mconfigdata "util/dofile.pl" \
|
|
"-omakefile" "include/openssl/fipskey.h.in" > $@
|
|
include/openssl/lhash.h: include/openssl/lhash.h.in configdata.pm
|
|
"$(PERL)" "-I$(BLDDIR)" -Mconfigdata "util/dofile.pl" \
|
|
"-omakefile" "include/openssl/lhash.h.in" > $@
|
|
include/openssl/ocsp.h: include/openssl/ocsp.h.in configdata.pm
|
|
"$(PERL)" "-I$(BLDDIR)" -Mconfigdata "util/dofile.pl" \
|
|
"-omakefile" "include/openssl/ocsp.h.in" > $@
|
|
include/openssl/ocsp.h: include/openssl/ocsp.h.in configdata.pm
|
|
"$(PERL)" "-I$(BLDDIR)" -Mconfigdata "util/dofile.pl" \
|
|
"-omakefile" "include/openssl/ocsp.h.in" > $@
|
|
include/openssl/opensslv.h: include/openssl/opensslv.h.in configdata.pm
|
|
$(PERL) -I$(BLDDIR) -Mconfigdata util/dofile.pl \
|
|
"-omakefile" "include/openssl/opensslv.h.in" > $@
|
|
include/openssl/pkcs12.h: include/openssl/pkcs12.h.in configdata.pm
|
|
$(PERL) -I$(BLDDIR) -Mconfigdata util/dofile.pl \
|
|
"-omakefile" "include/openssl/pkcs12.h.in" > $@
|
|
include/openssl/pkcs7.h: include/openssl/pkcs7.h.in configdata.pm
|
|
$(PERL) -I$(BLDDIR) -Mconfigdata util/dofile.pl \
|
|
"-omakefile" "include/openssl/pkcs7.h.in" > $@
|
|
include/openssl/safestack.h: include/openssl/safestack.h.in configdata.pm
|
|
$(PERL) -I$(BLDDIR) -Mconfigdata util/dofile.pl \
|
|
"-omakefile" "include/openssl/safestack.h.in" > $@
|
|
include/openssl/srp.h: include/openssl/srp.h.in configdata.pm
|
|
$(PERL) -I$(BLDDIR) -Mconfigdata util/dofile.pl \
|
|
"-omakefile" "include/openssl/srp.h.in" > $@
|
|
include/openssl/ssl.h: include/openssl/ssl.h.in configdata.pm
|
|
$(PERL) -I$(BLDDIR) -Mconfigdata util/dofile.pl \
|
|
"-omakefile" "include/openssl/ssl.h.in" > $@
|
|
include/openssl/ui.h: include/openssl/ui.h.in configdata.pm
|
|
$(PERL) -I$(BLDDIR) -Mconfigdata util/dofile.pl \
|
|
"-omakefile" "include/openssl/ui.h.in" > $@
|
|
include/openssl/x509.h: include/openssl/x509.h.in configdata.pm
|
|
$(PERL) -I$(BLDDIR) -Mconfigdata util/dofile.pl \
|
|
"-omakefile" "include/openssl/x509.h.in" > $@
|
|
include/openssl/x509_vfy.h: include/openssl/x509_vfy.h.in configdata.pm
|
|
$(PERL) -I$(BLDDIR) -Mconfigdata util/dofile.pl \
|
|
"-omakefile" "include/openssl/x509_vfy.h.in" > $@
|
|
include/openssl/x509v3.h: include/openssl/x509v3.h.in configdata.pm
|
|
$(PERL) -I$(BLDDIR) -Mconfigdata util/dofile.pl \
|
|
"-omakefile" "include/openssl/x509v3.h.in" > $@
|
|
|
|
|
|
providers/common/include/prov/der_dsa.h: providers/common/include/prov/der_dsa.h.in providers/common/der/oids_to_c.pm configdata.pm providers/common/der/oids_to_c.pm
|
|
$(PERL) "-I." "-Iproviders/common/der" -Mconfigdata -Moids_to_c "util/dofile.pl" "-oMakefile" providers/common/include/prov/der_dsa.h.in > $@
|
|
|
|
providers/common/include/prov/der_wrap.h: providers/common/include/prov/der_wrap.h.in providers/common/der/oids_to_c.pm configdata.pm providers/common/der/oids_to_c.pm
|
|
$(PERL) "-I." "-Iproviders/common/der" -Mconfigdata -Moids_to_c "util/dofile.pl" "-oMakefile" providers/common/include/prov/der_wrap.h.in > $@
|
|
|
|
providers/common/include/prov/der_rsa.h: providers/common/include/prov/der_wrap.h.in providers/common/der/oids_to_c.pm configdata.pm providers/common/der/oids_to_c.pm
|
|
$(PERL) "-I." "-Iproviders/common/der" -Mconfigdata -Moids_to_c "util/dofile.pl" "-oMakefile" providers/common/include/prov/der_rsa.h.in > $@
|
|
|
|
providers/common/include/prov/der_ecx.h: providers/common/include/prov/der_wrap.h.in providers/common/der/oids_to_c.pm configdata.pm providers/common/der/oids_to_c.pm
|
|
$(PERL) "-I." "-Iproviders/common/der" -Mconfigdata -Moids_to_c "util/dofile.pl" "-oMakefile" providers/common/include/prov/der_ecx.h.in > $@
|
|
|
|
providers/common/include/prov/der_sm2.h: providers/common/include/prov/der_wrap.h.in providers/common/der/oids_to_c.pm configdata.pm providers/common/der/oids_to_c.pm
|
|
$(PERL) "-I." "-Iproviders/common/der" -Mconfigdata -Moids_to_c "util/dofile.pl" "-oMakefile" providers/common/include/prov/der_sm2.h.in > $@
|
|
|
|
providers/common/include/prov/der_ec.h: providers/common/include/prov/der_wrap.h.in providers/common/der/oids_to_c.pm configdata.pm providers/common/der/oids_to_c.pm
|
|
$(PERL) "-I." "-Iproviders/common/der" -Mconfigdata -Moids_to_c "util/dofile.pl" "-oMakefile" providers/common/include/prov/der_ec.h.in > $@
|
|
|
|
providers/common/include/prov/der_digests.h: providers/common/include/prov/der_wrap.h.in providers/common/der/oids_to_c.pm configdata.pm providers/common/der/oids_to_c.pm
|
|
$(PERL) "-I." "-Iproviders/common/der" -Mconfigdata -Moids_to_c "util/dofile.pl" "-oMakefile" providers/common/include/prov/der_digests.h.in > $@
|
|
|
|
|
|
providers/common/der/der_digests_gen.c: providers/common/der/der_digests_gen.c.in providers/common/der/oids_to_c.pm configdata.pm providers/common/der/oids_to_c.pm
|
|
$(PERL) "-I." "-Iproviders/common/der" -Mconfigdata -Moids_to_c "util/dofile.pl" "-oMakefile" providers/common/der/der_digests_gen.c.in > $@
|
|
|
|
providers/common/der/der_dsa_gen.c: providers/common/der/der_dsa_gen.c.in providers/common/der/oids_to_c.pm configdata.pm providers/common/der/oids_to_c.pm
|
|
$(PERL) "-I." "-Iproviders/common/der" -Mconfigdata -Moids_to_c "util/dofile.pl" "-oMakefile" providers/common/der/der_dsa_gen.c.in > $@
|
|
|
|
providers/common/der/der_ec_gen.c: providers/common/der/der_ec_gen.c.in providers/common/der/oids_to_c.pm configdata.pm providers/common/der/oids_to_c.pm
|
|
$(PERL) "-I." "-Iproviders/common/der" -Mconfigdata -Moids_to_c "util/dofile.pl" "-oMakefile" providers/common/der/der_ec_gen.c.in > $@
|
|
|
|
providers/common/der/der_ecx_gen.c: providers/common/der/der_ecx_gen.c.in providers/common/der/oids_to_c.pm configdata.pm providers/common/der/oids_to_c.pm
|
|
$(PERL) "-I." "-Iproviders/common/der" -Mconfigdata -Moids_to_c "util/dofile.pl" "-oMakefile" providers/common/der/der_ecx_gen.c.in > $@
|
|
|
|
providers/common/der/der_rsa_gen.c: providers/common/der/der_rsa_gen.c.in providers/common/der/oids_to_c.pm configdata.pm providers/common/der/oids_to_c.pm
|
|
$(PERL) "-I." "-Iproviders/common/der" -Mconfigdata -Moids_to_c "util/dofile.pl" "-oMakefile" providers/common/der/der_rsa_gen.c.in > $@
|
|
|
|
providers/common/der/der_sm2_gen.c: providers/common/der/der_sm2_gen.c.in providers/common/der/oids_to_c.pm configdata.pm providers/common/der/oids_to_c.pm
|
|
$(PERL) "-I." "-Iproviders/common/der" -Mconfigdata -Moids_to_c "util/dofile.pl" "-oMakefile" providers/common/der/der_sm2_gen.c.in > $@
|
|
|
|
providers/common/der/der_wrap_gen.c: providers/common/der/der_wrap_gen.c.in providers/common/der/oids_to_c.pm configdata.pm providers/common/der/oids_to_c.pm
|
|
$(PERL) "-I." "-Iproviders/common/der" -Mconfigdata -Moids_to_c "util/dofile.pl" "-oMakefile" providers/common/der/der_wrap_gen.c.in > $@
|
|
|
|
|
|
clean:
|
|
$(RM) $(GENERATED_MANDATORY)
|
|
$(RM) $(GENERATED)
|
|
distclean:
|
|
$(RM) /Q /F configdata.pm
|
|
$(RM) /Q /F makefile
|