1142425Snectar# 2160814Ssimon# OpenSSL/crypto/rc5/Makefile 3142425Snectar# 4142425Snectar 5142425SnectarDIR= rc5 6142425SnectarTOP= ../.. 7142425SnectarCC= cc 8142425SnectarCPP= $(CC) -E 9142425SnectarINCLUDES= 10142425SnectarCFLAG=-g 11142425SnectarMAKEFILE= Makefile 12142425SnectarAR= ar r 13142425Snectar 14142425SnectarRC5_ENC= rc5_enc.o 15142425Snectar 16142425SnectarCFLAGS= $(INCLUDES) $(CFLAG) 17142425SnectarASFLAGS= $(INCLUDES) $(ASFLAG) 18160814SsimonAFLAGS= $(ASFLAGS) 19142425Snectar 20142425SnectarGENERAL=Makefile 21142425SnectarTEST=rc5test.c 22142425SnectarAPPS= 23142425Snectar 24142425SnectarLIB=$(TOP)/libcrypto.a 25142425SnectarLIBSRC=rc5_skey.c rc5_ecb.c rc5_enc.c rc5cfb64.c rc5ofb64.c 26142425SnectarLIBOBJ=rc5_skey.o rc5_ecb.o $(RC5_ENC) rc5cfb64.o rc5ofb64.o 27142425Snectar 28142425SnectarSRC= $(LIBSRC) 29142425Snectar 30142425SnectarEXHEADER= rc5.h 31142425SnectarHEADER= rc5_locl.h $(EXHEADER) 32142425Snectar 33142425SnectarALL= $(GENERAL) $(SRC) $(HEADER) 34142425Snectar 35142425Snectartop: 36142425Snectar (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all) 37142425Snectar 38142425Snectarall: lib 39142425Snectar 40142425Snectarlib: $(LIBOBJ) 41238405Sjkim $(AR) $(LIB) $(LIBOBJ) 42142425Snectar $(RANLIB) $(LIB) || echo Never mind. 43142425Snectar @touch lib 44142425Snectar 45238405Sjkimrc5-586.s: asm/rc5-586.pl ../perlasm/x86asm.pl ../perlasm/cbc.pl 46238405Sjkim $(PERL) asm/rc5-586.pl $(PERLASM_SCHEME) $(CFLAGS) > $@ 47142425Snectar 48142425Snectarfiles: 49142425Snectar $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO 50142425Snectar 51142425Snectarlinks: 52142425Snectar @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) 53142425Snectar @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) 54142425Snectar @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) 55142425Snectar 56142425Snectarinstall: 57160814Ssimon @[ -n "$(INSTALLTOP)" ] # should be set by top Makefile... 58160814Ssimon @headerlist="$(EXHEADER)"; for i in $$headerlist ; \ 59142425Snectar do \ 60142425Snectar (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ 61142425Snectar chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ 62142425Snectar done; 63142425Snectar 64142425Snectartags: 65142425Snectar ctags $(SRC) 66142425Snectar 67142425Snectartests: 68142425Snectar 69142425Snectarlint: 70142425Snectar lint -DLINT $(INCLUDES) $(SRC)>fluff 71142425Snectar 72296341Sdelphijupdate: depend 73296341Sdelphij 74142425Snectardepend: 75160814Ssimon @[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile... 76142425Snectar $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) 77142425Snectar 78142425Snectardclean: 79142425Snectar $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new 80142425Snectar mv -f Makefile.new $(MAKEFILE) 81142425Snectar 82142425Snectarclean: 83160814Ssimon rm -f *.s *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff 84142425Snectar 85142425Snectar# DO NOT DELETE THIS LINE -- make depend depends on it. 86142425Snectar 87160814Ssimonrc5_ecb.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h 88160814Ssimonrc5_ecb.o: ../../include/openssl/rc5.h rc5_ecb.c rc5_locl.h 89160814Ssimonrc5_enc.o: ../../include/openssl/opensslconf.h ../../include/openssl/rc5.h 90160814Ssimonrc5_enc.o: rc5_enc.c rc5_locl.h 91160814Ssimonrc5_skey.o: ../../include/openssl/opensslconf.h ../../include/openssl/rc5.h 92160814Ssimonrc5_skey.o: rc5_locl.h rc5_skey.c 93160814Ssimonrc5cfb64.o: ../../include/openssl/opensslconf.h ../../include/openssl/rc5.h 94160814Ssimonrc5cfb64.o: rc5_locl.h rc5cfb64.c 95160814Ssimonrc5ofb64.o: ../../include/openssl/opensslconf.h ../../include/openssl/rc5.h 96160814Ssimonrc5ofb64.o: rc5_locl.h rc5ofb64.c 97