2 # SSLeay/crypto/ripemd/Makefile
12 OPENSSLDIR= /usr/local/ssl
13 INSTALLTOP=/usr/local/ssl
15 MAKEDEPPROG= makedepend
16 MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG)
22 CFLAGS= $(INCLUDES) $(CFLAG)
23 ASFLAGS= $(INCLUDES) $(ASFLAG)
30 LIB=$(TOP)/libcrypto.a
31 LIBSRC=rmd_dgst.c rmd_one.c
32 LIBOBJ=rmd_dgst.o rmd_one.o $(RMD160_ASM_OBJ)
37 HEADER= rmd_locl.h rmdconst.h $(EXHEADER)
39 ALL= $(GENERAL) $(SRC) $(HEADER)
42 (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
47 $(AR) $(LIB) $(LIBOBJ)
48 $(RANLIB) $(LIB) || echo Never mind.
52 rm86-elf.s: asm/rmd-586.pl ../perlasm/x86asm.pl
53 (cd asm; $(PERL) rmd-586.pl elf $(CFLAGS) > ../$@)
55 rm86-cof.s: asm/rmd-586.pl ../perlasm/x86asm.pl
56 (cd asm; $(PERL) rmd-586.pl coff $(CFLAGS) > ../$@)
58 rm86-out.s: asm/rmd-586.pl ../perlasm/x86asm.pl
59 (cd asm; $(PERL) rmd-586.pl a.out $(CFLAGS) > ../$@)
62 $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
65 @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
66 @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
67 @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
70 @headerlist="$(EXHEADER)"; for i in $$headerlist ; \
72 (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
73 chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
82 lint -DLINT $(INCLUDES) $(SRC)>fluff
85 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
88 $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
89 mv -f Makefile.new $(MAKEFILE)
92 rm -f *.s *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
94 # DO NOT DELETE THIS LINE -- make depend depends on it.
96 rmd_dgst.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
97 rmd_dgst.o: ../../include/openssl/opensslv.h ../../include/openssl/ripemd.h
98 rmd_dgst.o: ../md32_common.h rmd_dgst.c rmd_locl.h rmdconst.h
99 rmd_one.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
100 rmd_one.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
101 rmd_one.o: ../../include/openssl/ossl_typ.h ../../include/openssl/ripemd.h
102 rmd_one.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
103 rmd_one.o: ../../include/openssl/symhacks.h rmd_one.c