2 # OpenSSL/crypto/rc4/Makefile
13 RC4_ENC=rc4_enc.o rc4_skey.o
15 CFLAGS= $(INCLUDES) $(CFLAG)
16 ASFLAGS= $(INCLUDES) $(ASFLAG)
21 LIB=$(TOP)/libcrypto.a
22 LIBSRC=rc4_skey.c rc4_enc.c
29 ALL= $(GENERAL) $(SRC) $(HEADER)
32 (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
37 $(AR) $(LIB) $(LIBOBJ)
38 $(RANLIB) $(LIB) || echo Never mind.
41 rc4-586.s: asm/rc4-586.pl ../perlasm/x86asm.pl
42 $(PERL) asm/rc4-586.pl $(PERLASM_SCHEME) $(CFLAGS) $(PROCESSOR) > $@
44 rc4-x86_64.s: asm/rc4-x86_64.pl
45 $(PERL) asm/rc4-x86_64.pl $(PERLASM_SCHEME) > $@
46 rc4-md5-x86_64.s: asm/rc4-md5-x86_64.pl
47 $(PERL) asm/rc4-md5-x86_64.pl $(PERLASM_SCHEME) > $@
49 rc4-ia64.S: asm/rc4-ia64.pl
50 $(PERL) asm/rc4-ia64.pl $(CFLAGS) > $@
52 rc4-parisc.s: asm/rc4-parisc.pl
53 $(PERL) asm/rc4-parisc.pl $(PERLASM_SCHEME) $@
55 rc4-ia64.s: rc4-ia64.S
56 @case `awk '/^#define RC4_INT/{print$$NF}' $(TOP)/include/openssl/opensslconf.h` in \
57 int) set -x; $(CC) $(CFLAGS) -DSZ=4 -E rc4-ia64.S > $@ ;; \
58 char) set -x; $(CC) $(CFLAGS) -DSZ=1 -E rc4-ia64.S > $@ ;; \
62 # GNU make "catch all"
63 rc4-%.s: asm/rc4-%.pl; $(PERL) $< $(PERLASM_SCHEME) $@
66 $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
74 lint -DLINT $(INCLUDES) $(SRC)>fluff
79 @[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile...
80 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
83 $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
84 mv -f Makefile.new $(MAKEFILE)
87 rm -f *.s *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
89 # DO NOT DELETE THIS LINE -- make depend depends on it.
91 rc4_enc.o: ../../e_os.h ../../include/openssl/bio.h
92 rc4_enc.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
93 rc4_enc.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
94 rc4_enc.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
95 rc4_enc.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
96 rc4_enc.o: ../../include/openssl/rc4.h ../../include/openssl/safestack.h
97 rc4_enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
98 rc4_enc.o: ../include/internal/cryptlib.h rc4_enc.c rc4_locl.h
99 rc4_skey.o: ../../e_os.h ../../include/openssl/bio.h
100 rc4_skey.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
101 rc4_skey.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
102 rc4_skey.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
103 rc4_skey.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
104 rc4_skey.o: ../../include/openssl/rc4.h ../../include/openssl/safestack.h
105 rc4_skey.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
106 rc4_skey.o: ../include/internal/cryptlib.h rc4_locl.h rc4_skey.c