2 # SSLeay/crypto/md/Makefile
11 OPENSSLDIR= /usr/local/ssl
12 INSTALLTOP=/usr/local/ssl
13 MAKEDEPPROG= makedepend
14 MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG)
18 CFLAGS= $(INCLUDES) $(CFLAG)
24 LIB=$(TOP)/libcrypto.a
25 LIBSRC=md2_dgst.c md2_one.c
26 LIBOBJ=md2_dgst.o md2_one.o
33 ALL= $(GENERAL) $(SRC) $(HEADER)
36 (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
41 $(AR) $(LIB) $(LIBOBJ)
42 $(RANLIB) $(LIB) || echo Never mind.
46 $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
49 @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
50 @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
51 @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
54 @for i in $(EXHEADER) ; \
56 (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
57 chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
66 lint -DLINT $(INCLUDES) $(SRC)>fluff
69 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
72 $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
73 mv -f Makefile.new $(MAKEFILE)
76 rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
78 # DO NOT DELETE THIS LINE -- make depend depends on it.
80 md2_dgst.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
81 md2_dgst.o: ../../include/openssl/md2.h ../../include/openssl/opensslconf.h
82 md2_dgst.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
83 md2_dgst.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
84 md2_dgst.o: md2_dgst.c
85 md2_one.o: ../../e_os.h ../../include/openssl/bio.h
86 md2_one.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
87 md2_one.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
88 md2_one.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
89 md2_one.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
90 md2_one.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
91 md2_one.o: ../../include/openssl/symhacks.h ../cryptlib.h md2_one.c