2 # OpenSSL/crypto/rc5/Makefile
16 CFLAGS= $(INCLUDES) $(CFLAG)
17 ASFLAGS= $(INCLUDES) $(ASFLAG)
24 LIB=$(TOP)/libcrypto.a
25 LIBSRC=rc5_skey.c rc5_ecb.c rc5_enc.c rc5cfb64.c rc5ofb64.c
26 LIBOBJ=rc5_skey.o rc5_ecb.o $(RC5_ENC) rc5cfb64.o rc5ofb64.o
31 HEADER= rc5_locl.h $(EXHEADER)
33 ALL= $(GENERAL) $(SRC) $(HEADER)
36 (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
41 $(AR) $(LIB) $(LIBOBJ)
42 $(RANLIB) $(LIB) || echo Never mind.
45 rc5-586.s: asm/rc5-586.pl ../perlasm/x86asm.pl ../perlasm/cbc.pl
46 $(PERL) asm/rc5-586.pl $(PERLASM_SCHEME) $(CFLAGS) > $@
49 $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
52 @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
53 @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
54 @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
57 @[ -n "$(INSTALLTOP)" ] # should be set by top Makefile...
58 @headerlist="$(EXHEADER)"; for i in $$headerlist ; \
60 (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
61 chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
70 lint -DLINT $(INCLUDES) $(SRC)>fluff
75 @[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile...
76 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
79 $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
80 mv -f Makefile.new $(MAKEFILE)
83 rm -f *.s *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
85 # DO NOT DELETE THIS LINE -- make depend depends on it.
87 rc5_ecb.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
88 rc5_ecb.o: ../../include/openssl/rc5.h rc5_ecb.c rc5_locl.h
89 rc5_enc.o: ../../include/openssl/opensslconf.h ../../include/openssl/rc5.h
90 rc5_enc.o: rc5_enc.c rc5_locl.h
91 rc5_skey.o: ../../include/openssl/opensslconf.h ../../include/openssl/rc5.h
92 rc5_skey.o: rc5_locl.h rc5_skey.c
93 rc5cfb64.o: ../../include/openssl/opensslconf.h ../../include/openssl/rc5.h
94 rc5cfb64.o: rc5_locl.h rc5cfb64.c
95 rc5ofb64.o: ../../include/openssl/opensslconf.h ../../include/openssl/rc5.h
96 rc5ofb64.o: rc5_locl.h rc5ofb64.c