2 # SSLeay/crypto/rc4/Makefile
10 INSTALLTOP=/usr/local/ssl
11 MAKE= make -f Makefile.ssl
12 MAKEDEPEND= makedepend -f Makefile.ssl
13 MAKEFILE= Makefile.ssl
18 #RC4_ENC=asm/rx86-elf.o
19 #RC4_ENC=asm/rx86-out.o
20 #RC4_ENC=asm/rx86-sol.o
21 #RC4_ENC=asm/rx86bdsi.o
23 CFLAGS= $(INCLUDES) $(CFLAG)
29 LIB=$(TOP)/libcrypto.a
30 LIBSRC=rc4_skey.c rc4_enc.c
31 LIBOBJ=rc4_skey.o $(RC4_ENC)
36 HEADER= $(EXHEADER) rc4_locl.h
38 ALL= $(GENERAL) $(SRC) $(HEADER)
41 (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
46 $(AR) $(LIB) $(LIBOBJ)
47 sh $(TOP)/util/ranlib.sh $(LIB)
51 asm/rx86-elf.o: asm/rx86unix.cpp
52 $(CPP) -DELF asm/rx86unix.cpp | as -o asm/rx86-elf.o
55 asm/rx86-sol.o: asm/rx86unix.cpp
56 $(CC) -E -DSOL asm/rx86unix.cpp | sed 's/^#.*//' > asm/rx86-sol.s
57 as -o asm/rx86-sol.o asm/rx86-sol.s
61 asm/rx86-out.o: asm/rx86unix.cpp
62 $(CPP) -DOUT asm/rx86unix.cpp | as -o asm/rx86-out.o
65 asm/rx86bsdi.o: asm/rx86unix.cpp
66 $(CPP) -DBSDI asm/rx86unix.cpp | sed 's/ :/:/' | as -o asm/rx86bsdi.o
69 (cd asm; perl rc4-586.pl cpp >rx86unix.cpp)
72 perl $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
76 $(TOP)/util/point.sh Makefile.ssl Makefile ;
77 $(TOP)/util/mklink.sh ../../include $(EXHEADER)
78 $(TOP)/util/mklink.sh ../../test $(TEST)
79 $(TOP)/util/mklink.sh ../../apps $(APPS)
82 @for i in $(EXHEADER) ; \
84 (cp $$i $(INSTALLTOP)/include/$$i; \
85 chmod 644 $(INSTALLTOP)/include/$$i ); \
94 lint -DLINT $(INCLUDES) $(SRC)>fluff
97 $(MAKEDEPEND) $(INCLUDES) $(PROGS) $(LIBSRC)
100 perl -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
101 mv -f Makefile.new $(MAKEFILE)
104 /bin/rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff asm/*.o
108 # DO NOT DELETE THIS LINE -- make depend depends on it.