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)
28 LIB=$(TOP)/libcrypto.a
29 LIBSRC=rmd_dgst.c rmd_one.c
30 LIBOBJ=rmd_dgst.o rmd_one.o $(RMD160_ASM_OBJ)
35 HEADER= rmd_locl.h rmdconst.h $(EXHEADER)
37 ALL= $(GENERAL) $(SRC) $(HEADER)
40 (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
45 $(AR) $(LIB) $(LIBOBJ)
46 @echo You may get an error following this line. Please ignore.
51 asm/rm86-elf.o: asm/rm86unix.cpp
52 $(CPP) -DELF -x c asm/rm86unix.cpp | as -o asm/rm86-elf.o
55 asm/rm86-sol.o: asm/rm86unix.cpp
56 $(CC) -E -DSOL asm/rm86unix.cpp | sed 's/^#.*//' > asm/rm86-sol.s
57 as -o asm/rm86-sol.o asm/rm86-sol.s
61 asm/rm86-out.o: asm/rm86unix.cpp
62 $(CPP) -DOUT asm/rm86unix.cpp | as -o asm/rm86-out.o
65 asm/rm86bsdi.o: asm/rm86unix.cpp
66 $(CPP) -DBSDI asm/rm86unix.cpp | sed 's/ :/:/' | as -o asm/rm86bsdi.o
68 asm/rm86unix.cpp: asm/rmd-586.pl ../perlasm/x86asm.pl
69 (cd asm; $(PERL) rmd-586.pl cpp >rm86unix.cpp)
72 $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
75 @$(TOP)/util/point.sh Makefile.ssl Makefile
76 @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
77 @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
78 @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
81 @for i in $(EXHEADER) ; \
83 (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
84 chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
93 lint -DLINT $(INCLUDES) $(SRC)>fluff
96 $(MAKEDEPEND) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC)
99 $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
100 mv -f Makefile.new $(MAKEFILE)
103 rm -f asm/rm86unix.cpp *.o asm/*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
105 # DO NOT DELETE THIS LINE -- make depend depends on it.
107 rmd_dgst.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
108 rmd_dgst.o: ../../include/openssl/opensslv.h ../../include/openssl/ripemd.h
109 rmd_dgst.o: ../md32_common.h rmd_dgst.c rmd_locl.h rmdconst.h
110 rmd_one.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
111 rmd_one.o: ../../include/openssl/ripemd.h rmd_one.c