2 # SSLeay/crypto/rc5/Makefile
11 INSTALLTOP=/usr/local/ssl
12 MAKE= make -f Makefile.ssl
13 MAKEDEPEND= $(TOP)/util/domd $(TOP)
14 MAKEFILE= Makefile.ssl
21 CFLAGS= $(INCLUDES) $(CFLAG)
27 LIB=$(TOP)/libcrypto.a
28 LIBSRC=rc5_skey.c rc5_ecb.c rc5_enc.c rc5cfb64.c rc5ofb64.c
29 LIBOBJ=rc5_skey.o rc5_ecb.o $(RC5_ENC) rc5cfb64.o rc5ofb64.o
34 HEADER= rc5_locl.h $(EXHEADER)
36 ALL= $(GENERAL) $(SRC) $(HEADER)
39 (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
44 $(AR) $(LIB) $(LIBOBJ)
49 asm/r586-elf.o: asm/r586unix.cpp
50 $(CPP) -DELF asm/r586unix.cpp | as -o asm/r586-elf.o
53 asm/r586-sol.o: asm/r586unix.cpp
54 $(CC) -E -DSOL asm/r586unix.cpp | sed 's/^#.*//' > asm/r586-sol.s
55 as -o asm/r586-sol.o asm/r586-sol.s
59 asm/r586-out.o: asm/r586unix.cpp
60 $(CPP) -DOUT asm/r586unix.cpp | as -o asm/r586-out.o
63 asm/r586bsdi.o: asm/r586unix.cpp
64 $(CPP) -DBSDI asm/r586unix.cpp | sed 's/ :/:/' | as -o asm/r586bsdi.o
67 (cd asm; $(PERL) rc5-586.pl cpp >r586unix.cpp)
70 $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
73 @$(TOP)/util/point.sh Makefile.ssl Makefile
74 @$(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
75 @$(TOP)/util/mklink.pl ../../test $(TEST)
76 @$(TOP)/util/mklink.pl ../../apps $(APPS)
79 @for i in $(EXHEADER) ; \
81 (cp $$i $(INSTALLTOP)/include/openssl/$$i; \
82 chmod 644 $(INSTALLTOP)/include/openssl/$$i ); \
91 lint -DLINT $(INCLUDES) $(SRC)>fluff
94 $(MAKEDEPEND) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC)
97 $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
98 mv -f Makefile.new $(MAKEFILE)
101 rm -f *.o asm/*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
103 # DO NOT DELETE THIS LINE -- make depend depends on it.
105 rc5_ecb.o: ../../include/openssl/opensslv.h ../../include/openssl/rc5.h
106 rc5_ecb.o: rc5_locl.h
107 rc5_enc.o: ../../include/openssl/rc5.h rc5_locl.h
108 rc5_skey.o: ../../include/openssl/rc5.h rc5_locl.h
109 rc5cfb64.o: ../../include/openssl/rc5.h rc5_locl.h
110 rc5ofb64.o: ../../include/openssl/rc5.h rc5_locl.h