|
| 1 | + |
| 2 | +## |
| 3 | +## Makefile for OpenSSL |
| 4 | +## |
| 5 | +## WARNING: do not edit! |
| 6 | +## Generated by Configure from Configurations/common0.tmpl, Configurations/windows-makefile.tmpl, Configurations/common.tmpl |
| 7 | + |
| 8 | + |
| 9 | +PLATFORM=VC-WIN64-ARM |
| 10 | +SRCDIR=. |
| 11 | +BLDDIR=. |
| 12 | + |
| 13 | +VERSION=1.1.1a |
| 14 | +MAJOR=1 |
| 15 | +MINOR=1.1 |
| 16 | + |
| 17 | +SHLIB_VERSION_NUMBER=1.1 |
| 18 | + |
| 19 | +GENERATED_MANDATORY=crypto/include/internal/bn_conf.h crypto/include/internal/dso_conf.h include/openssl/opensslconf.h |
| 20 | + |
| 21 | +INSTALL_LIBS="libcrypto.lib" "libssl.lib" |
| 22 | +INSTALL_SHLIBS="libcrypto-1_1-arm64.dll" "libssl-1_1-arm64.dll" |
| 23 | +INSTALL_SHLIBPDBS="libcrypto-1_1-arm64.pdb" "libssl-1_1-arm64.pdb" |
| 24 | +INSTALL_ENGINES="engines/capi.dll" "engines/padlock.dll" |
| 25 | +INSTALL_ENGINEPDBS="engines/capi.pdb" "engines/padlock.pdb" |
| 26 | +INSTALL_PROGRAMS="apps/openssl.exe" |
| 27 | +INSTALL_PROGRAMPDBS="apps/openssl.pdb" |
| 28 | + |
| 29 | +BIN_SCRIPTS="$(BLDDIR)\tools\c_rehash.pl" |
| 30 | +MISC_SCRIPTS="$(BLDDIR)\apps\CA.pl" "$(BLDDIR)\apps\tsget.pl" |
| 31 | + |
| 32 | + |
| 33 | +APPS_OPENSSL="apps/openssl" |
| 34 | + |
| 35 | +# Do not edit these manually. Use Configure with --prefix or --openssldir |
| 36 | +# to change this! Short explanation in the top comment in Configure |
| 37 | +INSTALLTOP_dev= |
| 38 | +INSTALLTOP_dir=\OpenSSL |
| 39 | +OPENSSLDIR_dev= |
| 40 | +OPENSSLDIR_dir=\SSL |
| 41 | +LIBDIR=lib |
| 42 | +ENGINESDIR_dev= |
| 43 | +ENGINESDIR_dir=\OpenSSL/lib/engines-1_1 |
| 44 | +INSTALLTOP=$(INSTALLTOP_dev)$(INSTALLTOP_dir) |
| 45 | +OPENSSLDIR=$(OPENSSLDIR_dev)$(OPENSSLDIR_dir) |
| 46 | +ENGINESDIR=$(ENGINESDIR_dev)$(ENGINESDIR_dir) |
| 47 | + |
| 48 | +# $(libdir) is chosen to be compatible with the GNU coding standards |
| 49 | +libdir=$(INSTALLTOP)\$(LIBDIR) |
| 50 | + |
| 51 | +##### User defined commands and flags ################################ |
| 52 | + |
| 53 | +CC=cl |
| 54 | +CPP=$(CC) /EP /C |
| 55 | +CPPFLAGS= |
| 56 | +CFLAGS=/W3 /wd4090 /nologo /O2 |
| 57 | +LD=link |
| 58 | +LDFLAGS=/nologo /debug |
| 59 | +EX_LIBS= |
| 60 | + |
| 61 | +PERL=/usr/bin/perl |
| 62 | + |
| 63 | +AR=lib |
| 64 | +ARFLAGS= /nologo |
| 65 | + |
| 66 | +MT=mt |
| 67 | +MTFLAGS= -nologo |
| 68 | + |
| 69 | +AS= |
| 70 | +ASFLAGS= |
| 71 | + |
| 72 | +RC=rc |
| 73 | + |
| 74 | +ECHO="$(PERL)" "$(SRCDIR)\util\echo.pl" |
| 75 | + |
| 76 | +##### Special command flags ########################################## |
| 77 | + |
| 78 | +COUTFLAG=/Fo$(OSSL_EMPTY) |
| 79 | +LDOUTFLAG=/out:$(OSSL_EMPTY) |
| 80 | +AROUTFLAG=/out:$(OSSL_EMPTY) |
| 81 | +MTINFLAG=-manifest $(OSSL_EMPTY) |
| 82 | +MTOUTFLAG=-outputresource:$(OSSL_EMPTY) |
| 83 | +ASOUTFLAG=$(OSSL_EMPTY) |
| 84 | +RCOUTFLAG=/fo$(OSSL_EMPTY) |
| 85 | + |
| 86 | +##### Project flags ################################################## |
| 87 | + |
| 88 | +# Variables starting with CNF_ are common variables for all product types |
| 89 | + |
| 90 | +CNF_ASFLAGS= |
| 91 | +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" |
| 92 | +CNF_CFLAGS=/Gs0 /GF /Gy /MD |
| 93 | +CNF_CXXFLAGS= |
| 94 | +CNF_LDFLAGS=/NODEFAULTLIB:kernel32.lib |
| 95 | +CNF_EX_LIBS=onecore.lib |
| 96 | + |
| 97 | +# Variables starting with LIB_ are used to build library object files |
| 98 | +# and shared libraries. |
| 99 | +# Variables starting with DSO_ are used to build DSOs and their object files. |
| 100 | +# Variables starting with BIN_ are used to build programs and their object |
| 101 | +# files. |
| 102 | + |
| 103 | +LIB_ASFLAGS=$(CNF_ASFLAGS) $(ASFLAGS) |
| 104 | +LIB_CPPFLAGS=-D"L_ENDIAN" -D"OPENSSL_PIC" -D"OPENSSLDIR=\"\\SSL\"" -D"ENGINESDIR=\"\\OpenSSL/lib/engines-1_1\"" $(CNF_CPPFLAGS) $(CPPFLAGS) |
| 105 | +LIB_CFLAGS=/Zi /Fdossl_static.pdb $(CNF_CFLAGS) $(CFLAGS) |
| 106 | +LIB_LDFLAGS=/dll $(CNF_LDFLAGS) $(LDFLAGS) |
| 107 | +LIB_EX_LIBS=$(CNF_EX_LIBS) $(EX_LIBS) |
| 108 | +DSO_ASFLAGS=$(CNF_ASFLAGS) $(ASFLAGS) |
| 109 | +DSO_CPPFLAGS=$(CNF_CPPFLAGS) $(CPPFLAGS) |
| 110 | +DSO_CFLAGS=/Zi /Fddso.pdb $(CNF_CFLAGS) $(CFLAGS) |
| 111 | +DSO_LDFLAGS=/dll $(CNF_LDFLAGS) $(LDFLAGS) |
| 112 | +DSO_EX_LIBS=$(CNF_EX_LIBS) $(EX_LIBS) |
| 113 | +BIN_ASFLAGS=$(CNF_ASFLAGS) $(ASFLAGS) |
| 114 | +BIN_CPPFLAGS=$(CNF_CPPFLAGS) $(CPPFLAGS) |
| 115 | +BIN_CFLAGS=/Zi /Fdapp.pdb $(CNF_CFLAGS) $(CFLAGS) |
| 116 | +BIN_LDFLAGS=/subsystem:console /opt:ref $(CNF_LDFLAGS) $(LDFLAGS) |
| 117 | +BIN_EX_LIBS=$(CNF_EX_LIBS) $(EX_LIBS) |
| 118 | + |
| 119 | +# CPPFLAGS_Q is used for one thing only: to build up buildinf.h |
| 120 | +CPPFLAGS_Q=-D"L_ENDIAN" -D"OPENSSL_PIC" |
| 121 | + |
| 122 | +PERLASM_SCHEME= |
| 123 | + |
| 124 | +PROCESSOR= |
| 125 | + |
| 126 | +build_generated: $(GENERATED_MANDATORY) |
| 127 | + |
| 128 | +crypto/buildinf.h: |
| 129 | + "$(PERL)" "util/mkbuildinf.pl" "$(CC) $(LIB_CFLAGS) $(CPPFLAGS_Q)" "$(PLATFORM)" > $@ |
| 130 | + |
| 131 | +apps/progs.h: |
| 132 | + "$(PERL)" "apps/progs.pl" $(APPS_OPENSSL) > $@ |
| 133 | + |
| 134 | +crypto/include/internal/bn_conf.h: |
| 135 | + "$(PERL)" "-I$(BLDDIR)" -Mconfigdata "util/dofile.pl" \ |
| 136 | + "-omakefile" "crypto/include/internal/bn_conf.h.in" > $@ |
| 137 | +crypto/include/internal/dso_conf.h: |
| 138 | + "$(PERL)" "-I$(BLDDIR)" -Mconfigdata "util/dofile.pl" \ |
| 139 | + "-omakefile" "crypto/include/internal/dso_conf.h.in" > $@ |
| 140 | +include/openssl/opensslconf.h: |
| 141 | + "$(PERL)" "-I$(BLDDIR)" -Mconfigdata "util/dofile.pl" \ |
| 142 | + "-omakefile" "include/openssl/opensslconf.h.in" > $@ |
| 143 | + |
| 144 | +distclean: |
| 145 | + $(RM) $(GENERATED) |
| 146 | + $(RM) /Q /F configdata.pm |
| 147 | + $(RM) /Q /F makefile |
0 commit comments