2 # OpenSSL/crypto/md5/Makefile
9 INCLUDES=-I.. -I$(TOP) -I../../include
16 CFLAGS= $(INCLUDES) $(CFLAG)
17 ASFLAGS= $(INCLUDES) $(ASFLAG)
22 LIB=$(TOP)/libcrypto.a
23 LIBSRC=md5_dgst.c md5_one.c
24 LIBOBJ=md5_dgst.o md5_one.o $(MD5_ASM_OBJ)
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 md5-586.s: asm/md5-586.pl ../perlasm/x86asm.pl
43 $(PERL) asm/md5-586.pl $(PERLASM_SCHEME) $(CFLAGS) > $@
45 md5-x86_64.s: asm/md5-x86_64.pl
46 $(PERL) asm/md5-x86_64.pl $(PERLASM_SCHEME) > $@
48 md5-ia64.s: asm/md5-ia64.S
49 $(CC) $(CFLAGS) -E asm/md5-ia64.S | \
50 $(PERL) -ne 's/;\s+/;\n/g; print;' > $@
52 md5-sparcv9.S: asm/md5-sparcv9.pl
53 $(PERL) asm/md5-sparcv9.pl $@ $(CFLAGS)
56 $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
64 lint -DLINT $(INCLUDES) $(SRC)>fluff
69 @[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile...
70 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
73 $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
74 mv -f Makefile.new $(MAKEFILE)
77 rm -f *.s *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
79 # DO NOT DELETE THIS LINE -- make depend depends on it.
81 md5_dgst.o: ../../include/openssl/e_os2.h ../../include/openssl/md5.h
82 md5_dgst.o: ../../include/openssl/opensslconf.h
83 md5_dgst.o: ../../include/openssl/opensslv.h ../include/internal/md32_common.h
84 md5_dgst.o: md5_dgst.c md5_locl.h
85 md5_one.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
86 md5_one.o: ../../include/openssl/md5.h ../../include/openssl/opensslconf.h
87 md5_one.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
88 md5_one.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
89 md5_one.o: ../../include/openssl/symhacks.h md5_one.c