diff options
Diffstat (limited to 'src/lib/libcrypto/rc4')
-rw-r--r-- | src/lib/libcrypto/rc4/Makefile | 44 |
1 files changed, 17 insertions, 27 deletions
diff --git a/src/lib/libcrypto/rc4/Makefile b/src/lib/libcrypto/rc4/Makefile index f0bd7678fc..264451a213 100644 --- a/src/lib/libcrypto/rc4/Makefile +++ b/src/lib/libcrypto/rc4/Makefile | |||
@@ -21,8 +21,8 @@ TEST=rc4test.c | |||
21 | APPS= | 21 | APPS= |
22 | 22 | ||
23 | LIB=$(TOP)/libcrypto.a | 23 | LIB=$(TOP)/libcrypto.a |
24 | LIBSRC=rc4_skey.c rc4_enc.c rc4_fblk.c | 24 | LIBSRC=rc4_skey.c rc4_enc.c |
25 | LIBOBJ=$(RC4_ENC) rc4_fblk.o | 25 | LIBOBJ=$(RC4_ENC) |
26 | 26 | ||
27 | SRC= $(LIBSRC) | 27 | SRC= $(LIBSRC) |
28 | 28 | ||
@@ -37,26 +37,26 @@ top: | |||
37 | all: lib | 37 | all: lib |
38 | 38 | ||
39 | lib: $(LIBOBJ) | 39 | lib: $(LIBOBJ) |
40 | $(ARX) $(LIB) $(LIBOBJ) | 40 | $(AR) $(LIB) $(LIBOBJ) |
41 | $(RANLIB) $(LIB) || echo Never mind. | 41 | $(RANLIB) $(LIB) || echo Never mind. |
42 | @touch lib | 42 | @touch lib |
43 | 43 | ||
44 | # ELF | 44 | rc4-586.s: asm/rc4-586.pl ../perlasm/x86asm.pl |
45 | rx86-elf.s: asm/rc4-586.pl ../perlasm/x86asm.pl | 45 | $(PERL) asm/rc4-586.pl $(PERLASM_SCHEME) $(CFLAGS) > $@ |
46 | (cd asm; $(PERL) rc4-586.pl elf $(CFLAGS) > ../$@) | ||
47 | # COFF | ||
48 | rx86-cof.s: asm/rc4-586.pl ../perlasm/x86asm.pl | ||
49 | (cd asm; $(PERL) rc4-586.pl coff $(CFLAGS) > ../$@) | ||
50 | # a.out | ||
51 | rx86-out.s: asm/rc4-586.pl ../perlasm/x86asm.pl | ||
52 | (cd asm; $(PERL) rc4-586.pl a.out $(CFLAGS) > ../$@) | ||
53 | 46 | ||
54 | rc4-x86_64.s: asm/rc4-x86_64.pl; $(PERL) asm/rc4-x86_64.pl $@ | 47 | rc4-x86_64.s: asm/rc4-x86_64.pl |
48 | $(PERL) asm/rc4-x86_64.pl $(PERLASM_SCHEME) > $@ | ||
55 | 49 | ||
56 | rc4-ia64.s: asm/rc4-ia64.S | 50 | rc4-ia64.S: asm/rc4-ia64.pl |
51 | $(PERL) asm/rc4-ia64.pl $(CFLAGS) > $@ | ||
52 | |||
53 | rc4-s390x.s: asm/rc4-s390x.pl | ||
54 | $(PERL) asm/rc4-s390x.pl > $@ | ||
55 | |||
56 | rc4-ia64.s: rc4-ia64.S | ||
57 | @case `awk '/^#define RC4_INT/{print$$NF}' $(TOP)/include/openssl/opensslconf.h` in \ | 57 | @case `awk '/^#define RC4_INT/{print$$NF}' $(TOP)/include/openssl/opensslconf.h` in \ |
58 | int) set -x; $(CC) $(CFLAGS) -DSZ=4 -E asm/rc4-ia64.S > $@ ;; \ | 58 | int) set -x; $(CC) $(CFLAGS) -DSZ=4 -E rc4-ia64.S > $@ ;; \ |
59 | char) set -x; $(CC) $(CFLAGS) -DSZ=1 -E asm/rc4-ia64.S > $@ ;; \ | 59 | char) set -x; $(CC) $(CFLAGS) -DSZ=1 -E rc4-ia64.S > $@ ;; \ |
60 | *) exit 1 ;; \ | 60 | *) exit 1 ;; \ |
61 | esac | 61 | esac |
62 | 62 | ||
@@ -105,20 +105,10 @@ rc4_enc.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | |||
105 | rc4_enc.o: ../../include/openssl/rc4.h ../../include/openssl/safestack.h | 105 | rc4_enc.o: ../../include/openssl/rc4.h ../../include/openssl/safestack.h |
106 | rc4_enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | 106 | rc4_enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h |
107 | rc4_enc.o: ../cryptlib.h rc4_enc.c rc4_locl.h | 107 | rc4_enc.o: ../cryptlib.h rc4_enc.c rc4_locl.h |
108 | rc4_fblk.o: ../../e_os.h ../../include/openssl/bio.h | ||
109 | rc4_fblk.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
110 | rc4_fblk.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
111 | rc4_fblk.o: ../../include/openssl/fips.h ../../include/openssl/lhash.h | ||
112 | rc4_fblk.o: ../../include/openssl/opensslconf.h | ||
113 | rc4_fblk.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
114 | rc4_fblk.o: ../../include/openssl/rc4.h ../../include/openssl/safestack.h | ||
115 | rc4_fblk.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
116 | rc4_fblk.o: ../cryptlib.h rc4_fblk.c rc4_locl.h | ||
117 | rc4_skey.o: ../../e_os.h ../../include/openssl/bio.h | 108 | rc4_skey.o: ../../e_os.h ../../include/openssl/bio.h |
118 | rc4_skey.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | 109 | rc4_skey.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h |
119 | rc4_skey.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | 110 | rc4_skey.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h |
120 | rc4_skey.o: ../../include/openssl/fips.h ../../include/openssl/lhash.h | 111 | rc4_skey.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h |
121 | rc4_skey.o: ../../include/openssl/opensslconf.h | ||
122 | rc4_skey.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | 112 | rc4_skey.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h |
123 | rc4_skey.o: ../../include/openssl/rc4.h ../../include/openssl/safestack.h | 113 | rc4_skey.o: ../../include/openssl/rc4.h ../../include/openssl/safestack.h |
124 | rc4_skey.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | 114 | rc4_skey.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h |