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.