2 # SSLeay/crypto/rc4/Makefile
12 OPENSSLDIR= /usr/local/ssl
13 INSTALLTOP=/usr/local/ssl
14 MAKE= make -f Makefile.ssl
15 MAKEDEPEND= $(TOP)/util/domd $(TOP)
16 MAKEFILE= Makefile.ssl
21 #RC4_ENC=asm/rx86-elf.o
22 #RC4_ENC=asm/rx86-out.o
23 #RC4_ENC=asm/rx86-sol.o
24 #RC4_ENC=asm/rx86bdsi.o
26 CFLAGS= $(INCLUDES) $(CFLAG)
32 LIB=$(TOP)/libcrypto.a
33 LIBSRC=rc4_skey.c rc4_enc.c
34 LIBOBJ=rc4_skey.o $(RC4_ENC)
39 HEADER= $(EXHEADER) rc4_locl.h
41 ALL= $(GENERAL) $(SRC) $(HEADER)
44 (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
49 $(AR) $(LIB) $(LIBOBJ)
54 asm/rx86-elf.o: asm/rx86unix.cpp
55 $(CPP) -DELF -x c asm/rx86unix.cpp | as -o asm/rx86-elf.o
58 asm/rx86-sol.o: asm/rx86unix.cpp
59 $(CC) -E -DSOL asm/rx86unix.cpp | sed 's/^#.*//' > asm/rx86-sol.s
60 as -o asm/rx86-sol.o asm/rx86-sol.s
64 asm/rx86-out.o: asm/rx86unix.cpp
65 $(CPP) -DOUT asm/rx86unix.cpp | as -o asm/rx86-out.o
68 asm/rx86bsdi.o: asm/rx86unix.cpp
69 $(CPP) -DBSDI asm/rx86unix.cpp | sed 's/ :/:/' | as -o asm/rx86bsdi.o
71 asm/rx86unix.cpp: asm/rc4-586.pl ../perlasm/x86asm.pl
72 (cd asm; $(PERL) rc4-586.pl cpp >rx86unix.cpp)
75 $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
78 @$(TOP)/util/point.sh Makefile.ssl Makefile
79 @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
80 @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
81 @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
84 @for i in $(EXHEADER) ; \
86 (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
87 chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
96 lint -DLINT $(INCLUDES) $(SRC)>fluff
99 $(MAKEDEPEND) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC)
102 $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
103 mv -f Makefile.new $(MAKEFILE)
106 rm -f asm/rx86unix.cpp *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff asm/*.o
108 # DO NOT DELETE THIS LINE -- make depend depends on it.
110 rc4_enc.o: ../../include/openssl/opensslconf.h ../../include/openssl/rc4.h
111 rc4_enc.o: rc4_locl.h
112 rc4_skey.o: ../../include/openssl/opensslconf.h
113 rc4_skey.o: ../../include/openssl/opensslv.h ../../include/openssl/rc4.h
114 rc4_skey.o: rc4_locl.h