2 # SSLeay/crypto/rc4/Makefile
12 OPENSSLDIR= /usr/local/ssl
13 INSTALLTOP=/usr/local/ssl
15 MAKEDEPPROG= makedepend
16 MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG)
22 CFLAGS= $(INCLUDES) $(CFLAG)
23 ASFLAGS= $(INCLUDES) $(ASFLAG)
30 LIB=$(TOP)/libcrypto.a
31 LIBSRC=rc4_skey.c rc4_enc.c
32 LIBOBJ=rc4_skey.o $(RC4_ENC)
37 HEADER= $(EXHEADER) rc4_locl.h
39 ALL= $(GENERAL) $(SRC) $(HEADER)
42 (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
47 $(AR) $(LIB) $(LIBOBJ)
48 $(RANLIB) $(LIB) || echo Never mind.
52 rx86-elf.s: asm/rc4-586.pl ../perlasm/x86asm.pl
53 (cd asm; $(PERL) rc4-586.pl elf $(CFLAGS) > ../$@)
55 rx86-cof.s: asm/rc4-586.pl ../perlasm/x86asm.pl
56 (cd asm; $(PERL) rc4-586.pl coff $(CFLAGS) > ../$@)
58 rx86-out.s: asm/rc4-586.pl ../perlasm/x86asm.pl
59 (cd asm; $(PERL) rc4-586.pl a.out $(CFLAGS) > ../$@)
61 rc4-x86_64.s: asm/rc4-x86_64.pl; $(PERL) asm/rc4-x86_64.pl $@
63 rc4-ia64.s: asm/rc4-ia64.S
64 $(CC) $(CFLAGS) -E asm/rc4-ia64.S > $@
67 $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
70 @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
71 @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
72 @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
75 @headerlist="$(EXHEADER)"; for i in $$headerlist ; \
77 (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
78 chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
87 lint -DLINT $(INCLUDES) $(SRC)>fluff
90 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
93 $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
94 mv -f Makefile.new $(MAKEFILE)
97 rm -f *.s *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
99 # DO NOT DELETE THIS LINE -- make depend depends on it.
101 rc4_enc.o: ../../e_os.h ../../include/openssl/bio.h
102 rc4_enc.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
103 rc4_enc.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
104 rc4_enc.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
105 rc4_enc.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
106 rc4_enc.o: ../../include/openssl/rc4.h ../../include/openssl/safestack.h
107 rc4_enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
108 rc4_enc.o: ../cryptlib.h rc4_enc.c rc4_locl.h
109 rc4_skey.o: ../../e_os.h ../../include/openssl/bio.h
110 rc4_skey.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
111 rc4_skey.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
112 rc4_skey.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
113 rc4_skey.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
114 rc4_skey.o: ../../include/openssl/rc4.h ../../include/openssl/safestack.h
115 rc4_skey.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
116 rc4_skey.o: ../cryptlib.h rc4_locl.h rc4_skey.c