2 # SSLeay/crypto/rc4/Makefile
11 MAKEDEPPROG= makedepend
12 MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG)
17 CFLAGS= $(INCLUDES) $(CFLAG)
18 ASFLAGS= $(INCLUDES) $(ASFLAG)
25 LIB=$(TOP)/libcrypto.a
26 LIBSRC=rc4_skey.c rc4_enc.c
27 LIBOBJ=rc4_skey.o $(RC4_ENC)
32 HEADER= $(EXHEADER) rc4_locl.h
34 ALL= $(GENERAL) $(SRC) $(HEADER)
37 (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
42 $(AR) $(LIB) $(LIBOBJ)
43 $(RANLIB) $(LIB) || echo Never mind.
47 rx86-elf.s: asm/rc4-586.pl ../perlasm/x86asm.pl
48 (cd asm; $(PERL) rc4-586.pl elf $(CFLAGS) > ../$@)
50 rx86-cof.s: asm/rc4-586.pl ../perlasm/x86asm.pl
51 (cd asm; $(PERL) rc4-586.pl coff $(CFLAGS) > ../$@)
53 rx86-out.s: asm/rc4-586.pl ../perlasm/x86asm.pl
54 (cd asm; $(PERL) rc4-586.pl a.out $(CFLAGS) > ../$@)
56 rc4-x86_64.s: asm/rc4-x86_64.pl; $(PERL) asm/rc4-x86_64.pl $@
58 rc4-ia64.s: asm/rc4-ia64.S
59 $(CC) $(CFLAGS) -E asm/rc4-ia64.S > $@
62 $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
65 @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
66 @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
67 @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
70 @[ -n "$(INSTALLTOP)" ] # should be set by top Makefile...
71 @headerlist="$(EXHEADER)"; for i in $$headerlist ; \
73 (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
74 chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
83 lint -DLINT $(INCLUDES) $(SRC)>fluff
86 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
89 $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
90 mv -f Makefile.new $(MAKEFILE)
93 rm -f *.s *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
95 # DO NOT DELETE THIS LINE -- make depend depends on it.
97 rc4_enc.o: ../../e_os.h ../../include/openssl/bio.h
98 rc4_enc.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
99 rc4_enc.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
100 rc4_enc.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
101 rc4_enc.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
102 rc4_enc.o: ../../include/openssl/rc4.h ../../include/openssl/safestack.h
103 rc4_enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
104 rc4_enc.o: ../cryptlib.h rc4_enc.c rc4_locl.h
105 rc4_skey.o: ../../e_os.h ../../include/openssl/bio.h
106 rc4_skey.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
107 rc4_skey.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
108 rc4_skey.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
109 rc4_skey.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
110 rc4_skey.o: ../../include/openssl/rc4.h ../../include/openssl/safestack.h
111 rc4_skey.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
112 rc4_skey.o: ../cryptlib.h rc4_locl.h rc4_skey.c