2
# SSLeay/crypto/ripemd/Makefile
12
OPENSSLDIR= /usr/local/ssl
13
INSTALLTOP=/usr/local/ssl
14
MAKE= make -f Makefile.ssl
15
MAKEDEPPROG= makedepend
16
MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG)
17
MAKEFILE= Makefile.ssl
22
CFLAGS= $(INCLUDES) $(CFLAG)
23
ASFLAGS= $(INCLUDES) $(ASFLAG)
29
LIB=$(TOP)/libcrypto.a
30
LIBSRC=rmd_dgst.c rmd_one.c
31
LIBOBJ=rmd_dgst.o rmd_one.o $(RMD160_ASM_OBJ)
36
HEADER= rmd_locl.h rmdconst.h $(EXHEADER)
38
ALL= $(GENERAL) $(SRC) $(HEADER)
41
(cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
46
$(AR) $(LIB) $(LIBOBJ)
47
$(RANLIB) $(LIB) || echo Never mind.
51
asm/rm86-elf.s: asm/rmd-586.pl ../perlasm/x86asm.pl
52
(cd asm; $(PERL) rmd-586.pl elf $(CFLAGS) > rm86-elf.s)
55
asm/rm86-out.o: asm/rm86unix.cpp
56
$(CPP) -DOUT asm/rm86unix.cpp | as -o asm/rm86-out.o
59
asm/rm86bsdi.o: asm/rm86unix.cpp
60
$(CPP) -DBSDI asm/rm86unix.cpp | sed 's/ :/:/' | as -o asm/rm86bsdi.o
62
asm/rm86unix.cpp: asm/rmd-586.pl ../perlasm/x86asm.pl
63
(cd asm; $(PERL) rmd-586.pl cpp >rm86unix.cpp)
66
$(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
69
@sh $(TOP)/util/point.sh Makefile.ssl Makefile
70
@$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
71
@$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
72
@$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
75
@for i in $(EXHEADER) ; \
77
(cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
78
chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
87
lint -DLINT $(INCLUDES) $(SRC)>fluff
90
$(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
93
$(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
94
mv -f Makefile.new $(MAKEFILE)
97
rm -f asm/rm86unix.cpp asm/*-elf.* *.o asm/*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
99
# DO NOT DELETE THIS LINE -- make depend depends on it.
101
rmd_dgst.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
102
rmd_dgst.o: ../../include/openssl/opensslv.h ../../include/openssl/ripemd.h
103
rmd_dgst.o: ../md32_common.h rmd_dgst.c rmd_locl.h rmdconst.h
104
rmd_one.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
105
rmd_one.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
106
rmd_one.o: ../../include/openssl/ripemd.h ../../include/openssl/safestack.h
107
rmd_one.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h