Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(184)

Side by Side Diff: openssl/crypto/des/Makefile

Issue 9254031: Upgrade chrome's OpenSSL to same version Android ships with. (Closed) Base URL: http://src.chromium.org/svn/trunk/deps/third_party/openssl/
Patch Set: '' Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « openssl/crypto/crypto-lib.com ('k') | openssl/crypto/des/asm/crypt586.pl » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # 1 #
2 # OpenSSL/crypto/des/Makefile 2 # OpenSSL/crypto/des/Makefile
3 # 3 #
4 4
5 DIR= des 5 DIR= des
6 TOP= ../.. 6 TOP= ../..
7 CC= cc 7 CC= cc
8 CPP= $(CC) -E 8 CPP= $(CC) -E
9 INCLUDES=-I$(TOP) -I../../include 9 INCLUDES=-I$(TOP) -I../../include
10 CFLAG=-g 10 CFLAG=-g
11 MAKEFILE= Makefile 11 MAKEFILE= Makefile
12 AR= ar r 12 AR= ar r
13 RANLIB= ranlib 13 RANLIB= ranlib
14 DES_ENC= des_enc.o fcrypt_b.o 14 DES_ENC= des_enc.o fcrypt_b.o
15 # or use
16 #DES_ENC= dx86-elf.o yx86-elf.o
17 15
18 CFLAGS= $(INCLUDES) $(CFLAG) 16 CFLAGS= $(INCLUDES) $(CFLAG)
19 ASFLAGS= $(INCLUDES) $(ASFLAG) 17 ASFLAGS= $(INCLUDES) $(ASFLAG)
20 AFLAGS= $(ASFLAGS) 18 AFLAGS= $(ASFLAGS)
21 19
22 GENERAL=Makefile 20 GENERAL=Makefile
23 TEST=destest.c 21 TEST=destest.c
24 APPS= 22 APPS=
25 23
26 LIB=$(TOP)/libcrypto.a 24 LIB=$(TOP)/libcrypto.a
27 LIBSRC=»des_lib.c cbc_cksm.c cbc_enc.c cfb64enc.c cfb_enc.c \ 25 LIBSRC=»cbc_cksm.c cbc_enc.c cfb64enc.c cfb_enc.c \
28 ecb3_enc.c ecb_enc.c enc_read.c enc_writ.c \ 26 ecb3_enc.c ecb_enc.c enc_read.c enc_writ.c \
29 fcrypt.c ofb64enc.c ofb_enc.c pcbc_enc.c \ 27 fcrypt.c ofb64enc.c ofb_enc.c pcbc_enc.c \
30 qud_cksm.c rand_key.c rpc_enc.c set_key.c \ 28 qud_cksm.c rand_key.c rpc_enc.c set_key.c \
31 des_enc.c fcrypt_b.c \ 29 des_enc.c fcrypt_b.c \
32 xcbc_enc.c \ 30 xcbc_enc.c \
33 str2key.c cfb64ede.c ofb64ede.c ede_cbcm_enc.c des_old.c des_old2.c \ 31 str2key.c cfb64ede.c ofb64ede.c ede_cbcm_enc.c des_old.c des_old2.c \
34 read2pwd.c 32 read2pwd.c
35 33
36 LIBOBJ= des_lib.o set_key.o ecb_enc.o cbc_enc.o \ 34 LIBOBJ= set_key.o ecb_enc.o cbc_enc.o \
37 ecb3_enc.o cfb64enc.o cfb64ede.o cfb_enc.o ofb64ede.o \ 35 ecb3_enc.o cfb64enc.o cfb64ede.o cfb_enc.o ofb64ede.o \
38 enc_read.o enc_writ.o ofb64enc.o \ 36 enc_read.o enc_writ.o ofb64enc.o \
39 ofb_enc.o str2key.o pcbc_enc.o qud_cksm.o rand_key.o \ 37 ofb_enc.o str2key.o pcbc_enc.o qud_cksm.o rand_key.o \
40 ${DES_ENC} \ 38 ${DES_ENC} \
41 fcrypt.o xcbc_enc.o rpc_enc.o cbc_cksm.o \ 39 fcrypt.o xcbc_enc.o rpc_enc.o cbc_cksm.o \
42 ede_cbcm_enc.o des_old.o des_old2.o read2pwd.o 40 ede_cbcm_enc.o des_old.o des_old2.o read2pwd.o
43 41
44 SRC= $(LIBSRC) 42 SRC= $(LIBSRC)
45 43
46 EXHEADER= des.h des_old.h 44 EXHEADER= des.h des_old.h
47 HEADER= des_locl.h rpc_des.h spr.h des_ver.h $(EXHEADER) 45 HEADER= des_locl.h rpc_des.h spr.h des_ver.h $(EXHEADER)
48 46
49 ALL= $(GENERAL) $(SRC) $(HEADER) 47 ALL= $(GENERAL) $(SRC) $(HEADER)
50 48
51 top: 49 top:
52 (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all) 50 (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
53 51
54 all: lib 52 all: lib
55 53
56 lib: $(LIBOBJ) 54 lib: $(LIBOBJ)
57 » $(ARX) $(LIB) $(LIBOBJ) 55 » $(AR) $(LIB) $(LIBOBJ)
58 $(RANLIB) $(LIB) || echo Never mind. 56 $(RANLIB) $(LIB) || echo Never mind.
59 @touch lib 57 @touch lib
60 58
61 des: des.o cbc3_enc.o lib 59 des: des.o cbc3_enc.o lib
62 $(CC) $(CFLAGS) -o des des.o cbc3_enc.o $(LIB) 60 $(CC) $(CFLAGS) -o des des.o cbc3_enc.o $(LIB)
63 61
64 des_enc-sparc.S: asm/des_enc.m4 62 des_enc-sparc.S: asm/des_enc.m4
65 m4 -B 8192 asm/des_enc.m4 > des_enc-sparc.S 63 m4 -B 8192 asm/des_enc.m4 > des_enc-sparc.S
66 64
67 # ELF 65 des-586.s:» asm/des-586.pl ../perlasm/x86asm.pl ../perlasm/cbc.pl
68 dx86-elf.s:» asm/des-586.pl ../perlasm/x86asm.pl ../perlasm/cbc.pl 66 » $(PERL) asm/des-586.pl $(PERLASM_SCHEME) $(CFLAGS) > $@
69 » (cd asm; $(PERL) des-586.pl elf $(CFLAGS) > ../$@) 67 crypt586.s:» asm/crypt586.pl ../perlasm/x86asm.pl ../perlasm/cbc.pl
70 yx86-elf.s:» asm/crypt586.pl ../perlasm/x86asm.pl ../perlasm/cbc.pl 68 » $(PERL) asm/crypt586.pl $(PERLASM_SCHEME) $(CFLAGS) > $@
71 » (cd asm; $(PERL) crypt586.pl elf $(CFLAGS) > ../$@)
72 # COFF
73 dx86-cof.s: asm/des-586.pl ../perlasm/x86asm.pl ../perlasm/cbc.pl
74 » (cd asm; $(PERL) des-586.pl coff $(CFLAGS) > ../$@)
75 yx86-cof.s: asm/crypt586.pl ../perlasm/x86asm.pl ../perlasm/cbc.pl
76 » (cd asm; $(PERL) crypt586.pl coff $(CFLAGS) > ../$@)
77 # a.out
78 dx86-out.s: asm/des-586.pl ../perlasm/x86asm.pl ../perlasm/cbc.pl
79 » (cd asm; $(PERL) des-586.pl a.out $(CFLAGS) > ../$@)
80 yx86-out.s: asm/crypt586.pl ../perlasm/x86asm.pl ../perlasm/cbc.pl
81 » (cd asm; $(PERL) crypt586.pl a.out $(CFLAGS) > ../$@)
82 69
83 files: 70 files:
84 $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO 71 $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
85 72
86 links: 73 links:
87 @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) 74 @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
88 @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) 75 @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
89 @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) 76 @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
90 77
91 # We need to use force because 'install' matches 'INSTALL' on case 78 # We need to use force because 'install' matches 'INSTALL' on case
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 cfb_enc.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h 136 cfb_enc.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
150 cfb_enc.o: ../../include/openssl/opensslconf.h ../../include/openssl/ossl_typ.h 137 cfb_enc.o: ../../include/openssl/opensslconf.h ../../include/openssl/ossl_typ.h
151 cfb_enc.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h 138 cfb_enc.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
152 cfb_enc.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h 139 cfb_enc.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
153 cfb_enc.o: ../../include/openssl/ui_compat.h cfb_enc.c des_locl.h 140 cfb_enc.o: ../../include/openssl/ui_compat.h cfb_enc.c des_locl.h
154 des_enc.o: ../../include/openssl/des.h ../../include/openssl/des_old.h 141 des_enc.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
155 des_enc.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h 142 des_enc.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
156 des_enc.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h 143 des_enc.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
157 des_enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h 144 des_enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
158 des_enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h 145 des_enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
159 des_enc.o: des_enc.c des_locl.h ncbc_enc.c 146 des_enc.o: des_enc.c des_locl.h ncbc_enc.c spr.h
160 des_lib.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h
161 des_lib.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
162 des_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
163 des_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
164 des_lib.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
165 des_lib.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
166 des_lib.o: ../../include/openssl/ui_compat.h des_lib.c des_locl.h des_ver.h
167 des_old.o: ../../include/openssl/des.h ../../include/openssl/des_old.h 147 des_old.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
168 des_old.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h 148 des_old.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
169 des_old.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h 149 des_old.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h
170 des_old.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h 150 des_old.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
171 des_old.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h 151 des_old.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
172 des_old.o: ../../include/openssl/ui_compat.h des_old.c 152 des_old.o: ../../include/openssl/ui_compat.h des_old.c
173 des_old2.o: ../../include/openssl/des.h ../../include/openssl/des_old.h 153 des_old2.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
174 des_old2.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h 154 des_old2.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
175 des_old2.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h 155 des_old2.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h
176 des_old2.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h 156 des_old2.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
177 des_old2.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h 157 des_old2.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
178 des_old2.o: ../../include/openssl/ui_compat.h des_old2.c 158 des_old2.o: ../../include/openssl/ui_compat.h des_old2.c
179 ecb3_enc.o: ../../include/openssl/des.h ../../include/openssl/des_old.h 159 ecb3_enc.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
180 ecb3_enc.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h 160 ecb3_enc.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
181 ecb3_enc.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h 161 ecb3_enc.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
182 ecb3_enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h 162 ecb3_enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
183 ecb3_enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h 163 ecb3_enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
184 ecb3_enc.o: des_locl.h ecb3_enc.c 164 ecb3_enc.o: des_locl.h ecb3_enc.c
165 ecb_enc.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h
185 ecb_enc.o: ../../include/openssl/des.h ../../include/openssl/des_old.h 166 ecb_enc.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
186 ecb_enc.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h 167 ecb_enc.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
187 ecb_enc.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h 168 ecb_enc.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
188 ecb_enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h 169 ecb_enc.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
189 ecb_enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h 170 ecb_enc.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
190 ecb_enc.o: des_locl.h ecb_enc.c spr.h 171 ecb_enc.o: ../../include/openssl/ui_compat.h des_locl.h des_ver.h ecb_enc.c
191 ede_cbcm_enc.o: ../../include/openssl/des.h ../../include/openssl/des_old.h 172 ede_cbcm_enc.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
192 ede_cbcm_enc.o: ../../include/openssl/e_os2.h 173 ede_cbcm_enc.o: ../../include/openssl/e_os2.h
193 ede_cbcm_enc.o: ../../include/openssl/opensslconf.h 174 ede_cbcm_enc.o: ../../include/openssl/opensslconf.h
194 ede_cbcm_enc.o: ../../include/openssl/ossl_typ.h 175 ede_cbcm_enc.o: ../../include/openssl/ossl_typ.h
195 ede_cbcm_enc.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h 176 ede_cbcm_enc.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
196 ede_cbcm_enc.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h 177 ede_cbcm_enc.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
197 ede_cbcm_enc.o: ../../include/openssl/ui_compat.h des_locl.h ede_cbcm_enc.c 178 ede_cbcm_enc.o: ../../include/openssl/ui_compat.h des_locl.h ede_cbcm_enc.c
198 enc_read.o: ../../e_os.h ../../include/openssl/bio.h 179 enc_read.o: ../../e_os.h ../../include/openssl/bio.h
199 enc_read.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h 180 enc_read.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
200 enc_read.o: ../../include/openssl/des.h ../../include/openssl/des_old.h 181 enc_read.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 read2pwd.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h 251 read2pwd.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
271 read2pwd.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h 252 read2pwd.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
272 read2pwd.o: ../../include/openssl/ui_compat.h read2pwd.c 253 read2pwd.o: ../../include/openssl/ui_compat.h read2pwd.c
273 rpc_enc.o: ../../include/openssl/des.h ../../include/openssl/des_old.h 254 rpc_enc.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
274 rpc_enc.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h 255 rpc_enc.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
275 rpc_enc.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h 256 rpc_enc.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
276 rpc_enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h 257 rpc_enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
277 rpc_enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h 258 rpc_enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
278 rpc_enc.o: des_locl.h des_ver.h rpc_des.h rpc_enc.c 259 rpc_enc.o: des_locl.h des_ver.h rpc_des.h rpc_enc.c
279 set_key.o: ../../include/openssl/des.h ../../include/openssl/des_old.h 260 set_key.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
280 set_key.o: ../../include/openssl/e_os2.h ../../include/openssl/fips.h 261 set_key.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
281 set_key.o: ../../include/openssl/opensslconf.h ../../include/openssl/ossl_typ.h 262 set_key.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
282 set_key.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h 263 set_key.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
283 set_key.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h 264 set_key.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
284 set_key.o: ../../include/openssl/ui_compat.h des_locl.h set_key.c 265 set_key.o: des_locl.h set_key.c
285 str2key.o: ../../include/openssl/crypto.h ../../include/openssl/des.h 266 str2key.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
286 str2key.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h 267 str2key.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
287 str2key.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h 268 str2key.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
288 str2key.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h 269 str2key.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
289 str2key.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h 270 str2key.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
290 str2key.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h 271 str2key.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
291 str2key.o: des_locl.h str2key.c 272 str2key.o: des_locl.h str2key.c
292 xcbc_enc.o: ../../include/openssl/des.h ../../include/openssl/des_old.h 273 xcbc_enc.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
293 xcbc_enc.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h 274 xcbc_enc.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
294 xcbc_enc.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h 275 xcbc_enc.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
295 xcbc_enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h 276 xcbc_enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
296 xcbc_enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h 277 xcbc_enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
297 xcbc_enc.o: des_locl.h xcbc_enc.c 278 xcbc_enc.o: des_locl.h xcbc_enc.c
OLDNEW
« no previous file with comments | « openssl/crypto/crypto-lib.com ('k') | openssl/crypto/des/asm/crypt586.pl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698