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

Side by Side Diff: openssl/crypto/sha/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/seed/seed_ofb.c ('k') | openssl/crypto/sha/asm/sha1-586.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/sha/Makefile 2 # OpenSSL/crypto/sha/Makefile
3 # 3 #
4 4
5 DIR= sha 5 DIR= sha
6 TOP= ../.. 6 TOP= ../..
7 CC= cc 7 CC= cc
8 CPP= $(CC) -E 8 CPP= $(CC) -E
9 INCLUDES= 9 INCLUDES=
10 CFLAG=-g 10 CFLAG=-g
(...skipping 20 matching lines...) Expand all
31 HEADER= sha_locl.h $(EXHEADER) 31 HEADER= sha_locl.h $(EXHEADER)
32 32
33 ALL= $(GENERAL) $(SRC) $(HEADER) 33 ALL= $(GENERAL) $(SRC) $(HEADER)
34 34
35 top: 35 top:
36 (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all) 36 (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
37 37
38 all: lib 38 all: lib
39 39
40 lib: $(LIBOBJ) 40 lib: $(LIBOBJ)
41 » $(ARX) $(LIB) $(LIBOBJ) 41 » $(AR) $(LIB) $(LIBOBJ)
42 $(RANLIB) $(LIB) || echo Never mind. 42 $(RANLIB) $(LIB) || echo Never mind.
43 @touch lib 43 @touch lib
44 44
45 # ELF 45 sha1-586.s:» asm/sha1-586.pl ../perlasm/x86asm.pl
46 sx86-elf.s: asm/sha1-586.pl ../perlasm/x86asm.pl 46 » $(PERL) asm/sha1-586.pl $(PERLASM_SCHEME) $(CFLAGS) $(PROCESSOR) > $@
47 » (cd asm; $(PERL) sha1-586.pl elf $(CFLAGS) $(PROCESSOR) > ../$@) 47 sha256-586.s:» asm/sha256-586.pl ../perlasm/x86asm.pl
48 s512sse2-elf.s:»asm/sha512-sse2.pl ../perlasm/x86asm.pl 48 » $(PERL) asm/sha256-586.pl $(PERLASM_SCHEME) $(CFLAGS) $(PROCESSOR) > $@
49 » (cd asm; $(PERL) sha512-sse2.pl elf $(CFLAGS) $(PROCESSOR) > ../$@) 49 sha512-586.s:» asm/sha512-586.pl ../perlasm/x86asm.pl
50 # COFF 50 » $(PERL) asm/sha512-586.pl $(PERLASM_SCHEME) $(CFLAGS) $(PROCESSOR) > $@
51 sx86-cof.s: asm/sha1-586.pl ../perlasm/x86asm.pl
52 » (cd asm; $(PERL) sha1-586.pl coff $(CFLAGS) $(PROCESSOR) > ../$@)
53 s512sse2-cof.s: asm/sha512-sse2.pl ../perlasm/x86asm.pl
54 » (cd asm; $(PERL) sha512-sse2.pl coff $(CFLAGS) $(PROCESSOR) > ../$@)
55 # a.out
56 sx86-out.s: asm/sha1-586.pl ../perlasm/x86asm.pl
57 » (cd asm; $(PERL) sha1-586.pl a.out $(CFLAGS) $(PROCESSOR) > ../$@)
58 s512sse2-out.s: asm/sha512-sse2.pl ../perlasm/x86asm.pl
59 » (cd asm; $(PERL) sha512-sse2.pl a.out $(CFLAGS) $(PROCESSOR) > ../$@)
60 51
61 sha1-ia64.s: asm/sha1-ia64.pl 52 sha1-ia64.s: asm/sha1-ia64.pl
62 (cd asm; $(PERL) sha1-ia64.pl ../$@ $(CFLAGS)) 53 (cd asm; $(PERL) sha1-ia64.pl ../$@ $(CFLAGS))
63 sha256-ia64.s: asm/sha512-ia64.pl 54 sha256-ia64.s: asm/sha512-ia64.pl
64 (cd asm; $(PERL) sha512-ia64.pl ../$@ $(CFLAGS)) 55 (cd asm; $(PERL) sha512-ia64.pl ../$@ $(CFLAGS))
65 sha512-ia64.s: asm/sha512-ia64.pl 56 sha512-ia64.s: asm/sha512-ia64.pl
66 (cd asm; $(PERL) sha512-ia64.pl ../$@ $(CFLAGS)) 57 (cd asm; $(PERL) sha512-ia64.pl ../$@ $(CFLAGS))
67 58
59 sha256-armv4.s: asm/sha256-armv4.pl
60 $(PERL) $< $@
61
68 # Solaris make has to be explicitly told 62 # Solaris make has to be explicitly told
69 sha1-x86_64.s:» asm/sha1-x86_64.pl;» $(PERL) asm/sha1-x86_64.pl $@ 63 sha1-x86_64.s:» asm/sha1-x86_64.pl;» $(PERL) asm/sha1-x86_64.pl $(PERLASM_SCH EME) > $@
70 sha256-x86_64.s:asm/sha512-x86_64.pl;» $(PERL) asm/sha512-x86_64.pl $@ 64 sha256-x86_64.s:asm/sha512-x86_64.pl;» $(PERL) asm/sha512-x86_64.pl $(PERLASM_S CHEME) $@
71 sha512-x86_64.s:asm/sha512-x86_64.pl;» $(PERL) asm/sha512-x86_64.pl $@ 65 sha512-x86_64.s:asm/sha512-x86_64.pl;» $(PERL) asm/sha512-x86_64.pl $(PERLASM_S CHEME) $@
66 sha1-sparcv9.s:»asm/sha1-sparcv9.pl;» $(PERL) asm/sha1-sparcv9.pl $@ $(CFLAGS)
67 sha256-sparcv9.s:asm/sha512-sparcv9.pl;»$(PERL) asm/sha512-sparcv9.pl $@ $(CFLAG S)
68 sha512-sparcv9.s:asm/sha512-sparcv9.pl;»$(PERL) asm/sha512-sparcv9.pl $@ $(CFLAG S)
69
70 sha1-ppc.s:» asm/sha1-ppc.pl;» $(PERL) asm/sha1-ppc.pl $(PERLASM_SCHEME ) $@
71 sha256-ppc.s:» asm/sha512-ppc.pl;» $(PERL) asm/sha512-ppc.pl $(PERLASM_SCHE ME) $@
72 sha512-ppc.s:» asm/sha512-ppc.pl;» $(PERL) asm/sha512-ppc.pl $(PERLASM_SCHE ME) $@
73
74 # GNU make "catch all"
75 sha1-%.s:» asm/sha1-%.pl;» » $(PERL) $< $@
76 sha256-%.s:» asm/sha512-%.pl;» $(PERL) $< $@
77 sha512-%.s:» asm/sha512-%.pl;» $(PERL) $< $@
72 78
73 files: 79 files:
74 $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO 80 $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
75 81
76 links: 82 links:
77 @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) 83 @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
78 @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) 84 @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
79 @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) 85 @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
80 86
81 install: 87 install:
(...skipping 24 matching lines...) Expand all
106 rm -f *.s *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff 112 rm -f *.s *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
107 113
108 # DO NOT DELETE THIS LINE -- make depend depends on it. 114 # DO NOT DELETE THIS LINE -- make depend depends on it.
109 115
110 sha1_one.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h 116 sha1_one.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
111 sha1_one.o: ../../include/openssl/opensslconf.h 117 sha1_one.o: ../../include/openssl/opensslconf.h
112 sha1_one.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h 118 sha1_one.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
113 sha1_one.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h 119 sha1_one.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
114 sha1_one.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h 120 sha1_one.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
115 sha1_one.o: sha1_one.c 121 sha1_one.o: sha1_one.c
116 sha1dgst.o: ../../include/openssl/e_os2.h ../../include/openssl/fips.h 122 sha1dgst.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
117 sha1dgst.o: ../../include/openssl/opensslconf.h
118 sha1dgst.o: ../../include/openssl/opensslv.h ../../include/openssl/sha.h 123 sha1dgst.o: ../../include/openssl/opensslv.h ../../include/openssl/sha.h
119 sha1dgst.o: ../md32_common.h sha1dgst.c sha_locl.h 124 sha1dgst.o: ../md32_common.h sha1dgst.c sha_locl.h
120 sha256.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h 125 sha256.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
121 sha256.o: ../../include/openssl/fips.h ../../include/openssl/opensslconf.h 126 sha256.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
122 sha256.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h 127 sha256.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
123 sha256.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h 128 sha256.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
124 sha256.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h 129 sha256.o: ../../include/openssl/symhacks.h ../md32_common.h sha256.c
125 sha256.o: ../md32_common.h sha256.c
126 sha512.o: ../../e_os.h ../../include/openssl/bio.h 130 sha512.o: ../../e_os.h ../../include/openssl/bio.h
127 sha512.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h 131 sha512.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
128 sha512.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h 132 sha512.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
129 sha512.o: ../../include/openssl/fips.h ../../include/openssl/lhash.h 133 sha512.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
130 sha512.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h 134 sha512.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
131 sha512.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h 135 sha512.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
132 sha512.o: ../../include/openssl/sha.h ../../include/openssl/stack.h 136 sha512.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
133 sha512.o: ../../include/openssl/symhacks.h ../cryptlib.h sha512.c 137 sha512.o: ../cryptlib.h sha512.c
134 sha_dgst.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h 138 sha_dgst.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
135 sha_dgst.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h 139 sha_dgst.o: ../../include/openssl/opensslv.h ../../include/openssl/sha.h
136 sha_dgst.o: ../../include/openssl/fips.h ../../include/openssl/lhash.h
137 sha_dgst.o: ../../include/openssl/opensslconf.h
138 sha_dgst.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
139 sha_dgst.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
140 sha_dgst.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
141 sha_dgst.o: ../md32_common.h sha_dgst.c sha_locl.h 140 sha_dgst.o: ../md32_common.h sha_dgst.c sha_locl.h
142 sha_one.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h 141 sha_one.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
143 sha_one.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h 142 sha_one.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
144 sha_one.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h 143 sha_one.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
145 sha_one.o: ../../include/openssl/sha.h ../../include/openssl/stack.h 144 sha_one.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
146 sha_one.o: ../../include/openssl/symhacks.h sha_one.c 145 sha_one.o: ../../include/openssl/symhacks.h sha_one.c
OLDNEW
« no previous file with comments | « openssl/crypto/seed/seed_ofb.c ('k') | openssl/crypto/sha/asm/sha1-586.pl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698