• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
9PLATFORM=VC-WIN64-ARM
10SRCDIR=.
11BLDDIR=.
12
13VERSION=1.1.1a
14MAJOR=1
15MINOR=1.1
16
17SHLIB_VERSION_NUMBER=1.1
18
19GENERATED_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
20GENERATED=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
21
22INSTALL_LIBS="libcrypto.lib" "libssl.lib"
23INSTALL_SHLIBS="libcrypto-1_1-arm64.dll" "libssl-1_1-arm64.dll"
24INSTALL_SHLIBPDBS="libcrypto-1_1-arm64.pdb" "libssl-1_1-arm64.pdb"
25INSTALL_ENGINES="engines/capi.dll" "engines/padlock.dll"
26INSTALL_ENGINEPDBS="engines/capi.pdb" "engines/padlock.pdb"
27INSTALL_PROGRAMS="apps/openssl.exe"
28INSTALL_PROGRAMPDBS="apps/openssl.pdb"
29
30BIN_SCRIPTS="$(BLDDIR)\tools\c_rehash.pl"
31MISC_SCRIPTS="$(BLDDIR)\apps\CA.pl" "$(BLDDIR)\apps\tsget.pl"
32
33
34APPS_OPENSSL="apps/openssl"
35
36# Do not edit these manually. Use Configure with --prefix or --openssldir
37# to change this!  Short explanation in the top comment in Configure
38INSTALLTOP_dev=
39INSTALLTOP_dir=\OpenSSL
40OPENSSLDIR_dev=
41OPENSSLDIR_dir=\SSL
42LIBDIR=lib
43ENGINESDIR_dev=
44ENGINESDIR_dir=\OpenSSL/lib/engines-1_1
45INSTALLTOP=$(INSTALLTOP_dev)$(INSTALLTOP_dir)
46OPENSSLDIR=$(OPENSSLDIR_dev)$(OPENSSLDIR_dir)
47ENGINESDIR=$(ENGINESDIR_dev)$(ENGINESDIR_dir)
48
49# $(libdir) is chosen to be compatible with the GNU coding standards
50libdir=$(INSTALLTOP)\$(LIBDIR)
51
52##### User defined commands and flags ################################
53
54CC=cl
55CPP=$(CC) /EP /C
56CPPFLAGS=
57CFLAGS=/W3 /wd4090 /nologo /O2
58LD=link
59LDFLAGS=/nologo /debug
60EX_LIBS=
61
62PERL=/usr/bin/perl
63
64AR=lib
65ARFLAGS= /nologo
66
67MT=mt
68MTFLAGS= -nologo
69
70AS=
71ASFLAGS=
72
73RC=rc
74
75ECHO="$(PERL)" "$(SRCDIR)\util\echo.pl"
76
77##### Special command flags ##########################################
78
79COUTFLAG=/Fo$(OSSL_EMPTY)
80LDOUTFLAG=/out:$(OSSL_EMPTY)
81AROUTFLAG=/out:$(OSSL_EMPTY)
82MTINFLAG=-manifest $(OSSL_EMPTY)
83MTOUTFLAG=-outputresource:$(OSSL_EMPTY)
84ASOUTFLAG=$(OSSL_EMPTY)
85RCOUTFLAG=/fo$(OSSL_EMPTY)
86
87##### Project flags ##################################################
88
89# Variables starting with CNF_ are common variables for all product types
90
91CNF_ASFLAGS=
92CNF_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"
93CNF_CFLAGS=/Gs0 /GF /Gy /MD
94CNF_CXXFLAGS=
95CNF_LDFLAGS=/NODEFAULTLIB:kernel32.lib
96CNF_EX_LIBS=onecore.lib
97
98# Variables starting with LIB_ are used to build library object files
99# and shared libraries.
100# Variables starting with DSO_ are used to build DSOs and their object files.
101# Variables starting with BIN_ are used to build programs and their object
102# files.
103
104LIB_ASFLAGS=$(CNF_ASFLAGS) $(ASFLAGS)
105LIB_CPPFLAGS=-D"L_ENDIAN" -D"OPENSSL_PIC" -D"OPENSSLDIR=\"\\SSL\"" -D"ENGINESDIR=\"\\OpenSSL/lib/engines-1_1\"" $(CNF_CPPFLAGS) $(CPPFLAGS)
106LIB_CFLAGS=/Zi /Fdossl_static.pdb $(CNF_CFLAGS) $(CFLAGS)
107LIB_LDFLAGS=/dll $(CNF_LDFLAGS) $(LDFLAGS)
108LIB_EX_LIBS=$(CNF_EX_LIBS) $(EX_LIBS)
109DSO_ASFLAGS=$(CNF_ASFLAGS) $(ASFLAGS)
110DSO_CPPFLAGS=$(CNF_CPPFLAGS) $(CPPFLAGS)
111DSO_CFLAGS=/Zi /Fddso.pdb $(CNF_CFLAGS) $(CFLAGS)
112DSO_LDFLAGS=/dll $(CNF_LDFLAGS) $(LDFLAGS)
113DSO_EX_LIBS=$(CNF_EX_LIBS) $(EX_LIBS)
114BIN_ASFLAGS=$(CNF_ASFLAGS) $(ASFLAGS)
115BIN_CPPFLAGS=$(CNF_CPPFLAGS) $(CPPFLAGS)
116BIN_CFLAGS=/Zi /Fdapp.pdb $(CNF_CFLAGS) $(CFLAGS)
117BIN_LDFLAGS=/subsystem:console /opt:ref $(CNF_LDFLAGS) $(LDFLAGS)
118BIN_EX_LIBS=$(CNF_EX_LIBS) $(EX_LIBS)
119
120# CPPFLAGS_Q is used for one thing only: to build up buildinf.h
121CPPFLAGS_Q=-D"L_ENDIAN" -D"OPENSSL_PIC"
122
123PERLASM_SCHEME=
124
125PROCESSOR=
126
127build_generated: $(GENERATED_MANDATORY)
128
129crypto/buildinf.h:
130	"$(PERL)" "util/mkbuildinf.pl" "$(CC) $(LIB_CFLAGS) $(CPPFLAGS_Q)" "$(PLATFORM)" > $@
131
132apps/progs.h:
133	"$(PERL)" "apps/progs.pl" $(APPS_OPENSSL) > $@
134
135apps/progs.h: apps/progs.c
136	"$(PERL)" "apps/progs.pl" "-H" $(APPS_OPENSSL) > $@
137
138apps/progs.c:
139	"$(PERL)" "apps/progs.pl" "-C" $(APPS_OPENSSL) > $@
140
141include/crypto/bn_conf.h:
142	"$(PERL)" "-I$(BLDDIR)" -Mconfigdata "util/dofile.pl" \
143	    "-omakefile" "include/crypto/bn_conf.h.in" > $@
144include/crypto/dso_conf.h:
145	"$(PERL)" "-I$(BLDDIR)" -Mconfigdata "util/dofile.pl" \
146	    "-omakefile" "include/crypto/dso_conf.h.in" > $@
147
148include/openssl/asn1.h: include/openssl/asn1.h.in configdata.pm
149	"$(PERL)" "-I$(BLDDIR)" -Mconfigdata "util/dofile.pl" \
150	    "-omakefile" "include/openssl/asn1.h.in" > $@
151include/openssl/asn1t.h: include/openssl/asn1t.h.in configdata.pm
152	"$(PERL)" "-I$(BLDDIR)" -Mconfigdata "util/dofile.pl" \
153	    "-omakefile" "include/openssl/asn1t.h.in" > $@
154include/openssl/bio.h: include/openssl/bio.h.in configdata.pm
155	"$(PERL)" "-I$(BLDDIR)" -Mconfigdata "util/dofile.pl" \
156	    "-omakefile" "include/openssl/bio.h.in" > $@
157include/openssl/cmp.h: include/openssl/cmp.h.in configdata.pm
158	"$(PERL)" "-I$(BLDDIR)" -Mconfigdata "util/dofile.pl" \
159	    "-omakefile" "include/openssl/cmp.h.in" > $@
160include/openssl/cms.h: include/openssl/cms.h.in configdata.pm
161	"$(PERL)" "-I$(BLDDIR)" -Mconfigdata "util/dofile.pl" \
162	    "-omakefile" "include/openssl/cms.h.in" > $@
163include/openssl/conf.h: include/openssl/conf.h.in configdata.pm
164	"$(PERL)" "-I$(BLDDIR)" -Mconfigdata "util/dofile.pl" \
165	    "-omakefile" "include/openssl/conf.h.in" > $@
166include/openssl/conf.h: include/openssl/conf.h.in configdata.pm
167	"$(PERL)" "-I$(BLDDIR)" -Mconfigdata "util/dofile.pl" \
168	    "-omakefile" "include/openssl/conf.h.in" > $@
169include/openssl/configuration.h: include/openssl/configuration.h.in configdata.pm
170	"$(PERL)" "-I$(BLDDIR)" -Mconfigdata "util/dofile.pl" \
171	    "-omakefile" "include/openssl/configuration.h.in" > $@
172include/openssl/crmf.h: include/openssl/crmf.h.in configdata.pm
173	"$(PERL)" "-I$(BLDDIR)" -Mconfigdata "util/dofile.pl" \
174	    "-omakefile" "include/openssl/crmf.h.in" > $@
175include/openssl/crypto.h: include/openssl/crypto.h.in configdata.pm
176	"$(PERL)" "-I$(BLDDIR)" -Mconfigdata "util/dofile.pl" \
177	    "-omakefile" "include/openssl/crypto.h.in" > $@
178include/openssl/ct.h: include/openssl/ct.h.in configdata.pm
179	"$(PERL)" "-I$(BLDDIR)" -Mconfigdata "util/dofile.pl" \
180	    "-omakefile" "include/openssl/ct.h.in" > $@
181include/openssl/err.h: include/openssl/err.h.in configdata.pm
182	"$(PERL)" "-I$(BLDDIR)" -Mconfigdata "util/dofile.pl" \
183	    "-omakefile" "include/openssl/err.h.in" > $@
184include/openssl/ess.h: include/openssl/ess.h.in configdata.pm
185	"$(PERL)" "-I$(BLDDIR)" -Mconfigdata "util/dofile.pl" \
186	    "-omakefile" "include/openssl/ess.h.in" > $@
187include/openssl/fipskey.h: include/openssl/fipskey.h.in configdata.pm
188	"$(PERL)" "-I$(BLDDIR)" -Mconfigdata "util/dofile.pl" \
189	    "-omakefile" "include/openssl/fipskey.h.in" > $@
190include/openssl/lhash.h: include/openssl/lhash.h.in configdata.pm
191	"$(PERL)" "-I$(BLDDIR)" -Mconfigdata "util/dofile.pl" \
192	    "-omakefile" "include/openssl/lhash.h.in" > $@
193include/openssl/ocsp.h: include/openssl/ocsp.h.in configdata.pm
194	"$(PERL)" "-I$(BLDDIR)" -Mconfigdata "util/dofile.pl" \
195	    "-omakefile" "include/openssl/ocsp.h.in" > $@
196include/openssl/ocsp.h: include/openssl/ocsp.h.in configdata.pm
197	"$(PERL)" "-I$(BLDDIR)" -Mconfigdata "util/dofile.pl" \
198	    "-omakefile" "include/openssl/ocsp.h.in" > $@
199include/openssl/opensslv.h: include/openssl/opensslv.h.in configdata.pm
200	$(PERL) -I$(BLDDIR) -Mconfigdata util/dofile.pl \
201	    "-omakefile" "include/openssl/opensslv.h.in" > $@
202include/openssl/pkcs12.h: include/openssl/pkcs12.h.in configdata.pm
203	$(PERL) -I$(BLDDIR) -Mconfigdata util/dofile.pl \
204	    "-omakefile" "include/openssl/pkcs12.h.in" > $@
205include/openssl/pkcs7.h: include/openssl/pkcs7.h.in configdata.pm
206	$(PERL) -I$(BLDDIR) -Mconfigdata util/dofile.pl \
207	    "-omakefile" "include/openssl/pkcs7.h.in" > $@
208include/openssl/safestack.h: include/openssl/safestack.h.in configdata.pm
209	$(PERL) -I$(BLDDIR) -Mconfigdata util/dofile.pl \
210	    "-omakefile" "include/openssl/safestack.h.in" > $@
211include/openssl/srp.h: include/openssl/srp.h.in configdata.pm
212	$(PERL) -I$(BLDDIR) -Mconfigdata util/dofile.pl \
213	    "-omakefile" "include/openssl/srp.h.in" > $@
214include/openssl/ssl.h: include/openssl/ssl.h.in configdata.pm
215	$(PERL) -I$(BLDDIR) -Mconfigdata util/dofile.pl \
216	    "-omakefile" "include/openssl/ssl.h.in" > $@
217include/openssl/ui.h: include/openssl/ui.h.in configdata.pm
218	$(PERL) -I$(BLDDIR) -Mconfigdata util/dofile.pl \
219	    "-omakefile" "include/openssl/ui.h.in" > $@
220include/openssl/x509.h: include/openssl/x509.h.in configdata.pm
221	$(PERL) -I$(BLDDIR) -Mconfigdata util/dofile.pl \
222	    "-omakefile" "include/openssl/x509.h.in" > $@
223include/openssl/x509_vfy.h: include/openssl/x509_vfy.h.in configdata.pm
224	$(PERL) -I$(BLDDIR) -Mconfigdata util/dofile.pl \
225	    "-omakefile" "include/openssl/x509_vfy.h.in" > $@
226include/openssl/x509v3.h: include/openssl/x509v3.h.in configdata.pm
227	$(PERL) -I$(BLDDIR) -Mconfigdata util/dofile.pl \
228	    "-omakefile" "include/openssl/x509v3.h.in" > $@
229
230
231providers/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
232	$(PERL) "-I." "-Iproviders/common/der" -Mconfigdata -Moids_to_c "util/dofile.pl" "-oMakefile" providers/common/include/prov/der_dsa.h.in > $@
233
234providers/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
235	$(PERL) "-I." "-Iproviders/common/der" -Mconfigdata -Moids_to_c "util/dofile.pl" "-oMakefile" providers/common/include/prov/der_wrap.h.in > $@
236
237providers/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
238	$(PERL) "-I." "-Iproviders/common/der" -Mconfigdata -Moids_to_c "util/dofile.pl" "-oMakefile" providers/common/include/prov/der_rsa.h.in > $@
239
240providers/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
241	$(PERL) "-I." "-Iproviders/common/der" -Mconfigdata -Moids_to_c "util/dofile.pl" "-oMakefile" providers/common/include/prov/der_ecx.h.in > $@
242
243providers/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
244	$(PERL) "-I." "-Iproviders/common/der" -Mconfigdata -Moids_to_c "util/dofile.pl" "-oMakefile" providers/common/include/prov/der_sm2.h.in > $@
245
246providers/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
247	$(PERL) "-I." "-Iproviders/common/der" -Mconfigdata -Moids_to_c "util/dofile.pl" "-oMakefile" providers/common/include/prov/der_ec.h.in > $@
248
249providers/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
250	$(PERL) "-I." "-Iproviders/common/der" -Mconfigdata -Moids_to_c "util/dofile.pl" "-oMakefile" providers/common/include/prov/der_digests.h.in > $@
251
252
253providers/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
254	$(PERL) "-I." "-Iproviders/common/der" -Mconfigdata -Moids_to_c "util/dofile.pl" "-oMakefile" providers/common/der/der_digests_gen.c.in > $@
255
256providers/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
257	$(PERL) "-I." "-Iproviders/common/der" -Mconfigdata -Moids_to_c "util/dofile.pl" "-oMakefile" providers/common/der/der_dsa_gen.c.in > $@
258
259providers/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
260	$(PERL) "-I." "-Iproviders/common/der" -Mconfigdata -Moids_to_c "util/dofile.pl" "-oMakefile" providers/common/der/der_ec_gen.c.in > $@
261
262providers/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
263	$(PERL) "-I." "-Iproviders/common/der" -Mconfigdata -Moids_to_c "util/dofile.pl" "-oMakefile" providers/common/der/der_ecx_gen.c.in > $@
264
265providers/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
266	$(PERL) "-I." "-Iproviders/common/der" -Mconfigdata -Moids_to_c "util/dofile.pl" "-oMakefile" providers/common/der/der_rsa_gen.c.in > $@
267
268providers/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
269	$(PERL) "-I." "-Iproviders/common/der" -Mconfigdata -Moids_to_c "util/dofile.pl" "-oMakefile" providers/common/der/der_sm2_gen.c.in > $@
270
271providers/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
272	$(PERL) "-I." "-Iproviders/common/der" -Mconfigdata -Moids_to_c "util/dofile.pl" "-oMakefile" providers/common/der/der_wrap_gen.c.in > $@
273
274
275clean:
276	$(RM) $(GENERATED_MANDATORY)
277	$(RM) $(GENERATED)
278distclean:
279	$(RM) /Q /F configdata.pm
280	$(RM) /Q /F makefile
281