2 # OpenSSL/crypto/cast/Makefile
16 CFLAGS= $(INCLUDES) $(CFLAG)
17 ASFLAGS= $(INCLUDES) $(ASFLAG)
22 LIB=$(TOP)/libcrypto.a
23 LIBSRC=c_skey.c c_ecb.c c_enc.c c_cfb64.c c_ofb64.c
24 LIBOBJ=c_skey.o c_ecb.o $(CAST_ENC) c_cfb64.o c_ofb64.o
28 HEADER= cast_s.h cast_lcl.h
30 ALL= $(GENERAL) $(SRC) $(HEADER)
33 (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
38 $(AR) $(LIB) $(LIBOBJ)
39 $(RANLIB) $(LIB) || echo Never mind.
42 cast-586.s: asm/cast-586.pl ../perlasm/x86asm.pl ../perlasm/cbc.pl
43 $(PERL) asm/cast-586.pl $(PERLASM_SCHEME) $(CLAGS) $(PROCESSOR) > $@
46 $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
54 lint -DLINT $(INCLUDES) $(SRC)>fluff
59 @[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile...
60 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
63 $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
64 mv -f Makefile.new $(MAKEFILE)
67 rm -f *.s *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
69 # DO NOT DELETE THIS LINE -- make depend depends on it.
71 c_cfb64.o: ../../e_os.h ../../include/openssl/cast.h
72 c_cfb64.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
73 c_cfb64.o: c_cfb64.c cast_lcl.h
74 c_ecb.o: ../../e_os.h ../../include/openssl/cast.h
75 c_ecb.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
76 c_ecb.o: ../../include/openssl/opensslv.h c_ecb.c cast_lcl.h
77 c_enc.o: ../../e_os.h ../../include/openssl/cast.h
78 c_enc.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
79 c_enc.o: c_enc.c cast_lcl.h
80 c_ofb64.o: ../../e_os.h ../../include/openssl/cast.h
81 c_ofb64.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
82 c_ofb64.o: c_ofb64.c cast_lcl.h
83 c_skey.o: ../../e_os.h ../../include/openssl/cast.h
84 c_skey.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
85 c_skey.o: c_skey.c cast_lcl.h cast_s.h