2 # SSLeay/crypto/ripemd/Makefile
11 INSTALLTOP=/usr/local/ssl
12 MAKE= make -f Makefile.ssl
13 MAKEDEPEND= makedepend -f Makefile.ssl
14 MAKEFILE= Makefile.ssl
19 CFLAGS= $(INCLUDES) $(CFLAG)
25 LIB=$(TOP)/libcrypto.a
26 LIBSRC=rmd_dgst.c rmd_one.c
27 LIBOBJ=rmd_dgst.o rmd_one.o $(RMD160_ASM_OBJ)
32 HEADER= rmd_locl.h rmdconst.h $(EXHEADER)
34 ALL= $(GENERAL) $(SRC) $(HEADER)
37 (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
42 $(AR) $(LIB) $(LIBOBJ)
43 sh $(TOP)/util/ranlib.sh $(LIB)
47 asm/rm86-elf.o: asm/rm86unix.cpp
48 $(CPP) -DELF asm/rm86unix.cpp | as -o asm/rm86-elf.o
51 asm/rm86-sol.o: asm/rm86unix.cpp
52 $(CC) -E -DSOL asm/rm86unix.cpp | sed 's/^#.*//' > asm/rm86-sol.s
53 as -o asm/rm86-sol.o asm/rm86-sol.s
57 asm/rm86-out.o: asm/rm86unix.cpp
58 $(CPP) -DOUT asm/rm86unix.cpp | as -o asm/rm86-out.o
61 asm/rm86bsdi.o: asm/rm86unix.cpp
62 $(CPP) -DBSDI asm/rm86unix.cpp | sed 's/ :/:/' | as -o asm/rm86bsdi.o
65 (cd asm; perl rmd-586.pl cpp >rm86unix.cpp)
68 perl $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
72 $(TOP)/util/point.sh Makefile.ssl Makefile ;
73 $(TOP)/util/mklink.sh ../../include $(EXHEADER)
74 $(TOP)/util/mklink.sh ../../test $(TEST)
75 $(TOP)/util/mklink.sh ../../apps $(APPS)
78 @for i in $(EXHEADER) ; \
80 (cp $$i $(INSTALLTOP)/include/$$i; \
81 chmod 644 $(INSTALLTOP)/include/$$i ); \
90 lint -DLINT $(INCLUDES) $(SRC)>fluff
93 $(MAKEDEPEND) $(INCLUDES) $(PROGS) $(LIBSRC)
96 perl -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
97 mv -f Makefile.new $(MAKEFILE)
100 /bin/rm -f *.o asm/*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
104 # DO NOT DELETE THIS LINE -- make depend depends on it.