diff options
Diffstat (limited to 'src/lib/libcrypto/ripemd/Makefile.ssl')
-rw-r--r-- | src/lib/libcrypto/ripemd/Makefile.ssl | 39 |
1 files changed, 21 insertions, 18 deletions
diff --git a/src/lib/libcrypto/ripemd/Makefile.ssl b/src/lib/libcrypto/ripemd/Makefile.ssl index 67d47ceb2c..b7cd25f123 100644 --- a/src/lib/libcrypto/ripemd/Makefile.ssl +++ b/src/lib/libcrypto/ripemd/Makefile.ssl | |||
@@ -8,9 +8,11 @@ CC= cc | |||
8 | CPP= $(CC) -E | 8 | CPP= $(CC) -E |
9 | INCLUDES= | 9 | INCLUDES= |
10 | CFLAG=-g | 10 | CFLAG=-g |
11 | INSTALL_PREFIX= | ||
12 | OPENSSLDIR= /usr/local/ssl | ||
11 | INSTALLTOP=/usr/local/ssl | 13 | INSTALLTOP=/usr/local/ssl |
12 | MAKE= make -f Makefile.ssl | 14 | MAKE= make -f Makefile.ssl |
13 | MAKEDEPEND= makedepend -f Makefile.ssl | 15 | MAKEDEPEND= $(TOP)/util/domd $(TOP) |
14 | MAKEFILE= Makefile.ssl | 16 | MAKEFILE= Makefile.ssl |
15 | AR= ar r | 17 | AR= ar r |
16 | 18 | ||
@@ -40,7 +42,7 @@ all: lib | |||
40 | 42 | ||
41 | lib: $(LIBOBJ) | 43 | lib: $(LIBOBJ) |
42 | $(AR) $(LIB) $(LIBOBJ) | 44 | $(AR) $(LIB) $(LIBOBJ) |
43 | sh $(TOP)/util/ranlib.sh $(LIB) | 45 | $(RANLIB) $(LIB) |
44 | @touch lib | 46 | @touch lib |
45 | 47 | ||
46 | # elf | 48 | # elf |
@@ -59,26 +61,25 @@ asm/rm86-out.o: asm/rm86unix.cpp | |||
59 | 61 | ||
60 | # bsdi | 62 | # bsdi |
61 | asm/rm86bsdi.o: asm/rm86unix.cpp | 63 | asm/rm86bsdi.o: asm/rm86unix.cpp |
62 | $(CPP) -DBSDI asm/rm86unix.cpp | as -o asm/rm86bsdi.o | 64 | $(CPP) -DBSDI asm/rm86unix.cpp | sed 's/ :/:/' | as -o asm/rm86bsdi.o |
63 | 65 | ||
64 | asm/rm86unix.cpp: | 66 | asm/rm86unix.cpp: asm/rmd-586.pl |
65 | (cd asm; perl rmd-586.pl cpp >rm86unix.cpp) | 67 | (cd asm; $(PERL) rmd-586.pl cpp >rm86unix.cpp) |
66 | 68 | ||
67 | files: | 69 | files: |
68 | perl $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO | 70 | $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO |
69 | 71 | ||
70 | links: | 72 | links: |
71 | /bin/rm -f Makefile | 73 | @$(TOP)/util/point.sh Makefile.ssl Makefile |
72 | $(TOP)/util/point.sh Makefile.ssl Makefile ; | 74 | @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) |
73 | $(TOP)/util/mklink.sh ../../include $(EXHEADER) | 75 | @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) |
74 | $(TOP)/util/mklink.sh ../../test $(TEST) | 76 | @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) |
75 | $(TOP)/util/mklink.sh ../../apps $(APPS) | ||
76 | 77 | ||
77 | install: | 78 | install: |
78 | @for i in $(EXHEADER) ; \ | 79 | @for i in $(EXHEADER) ; \ |
79 | do \ | 80 | do \ |
80 | (cp $$i $(INSTALLTOP)/include/$$i; \ | 81 | (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ |
81 | chmod 644 $(INSTALLTOP)/include/$$i ); \ | 82 | chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ |
82 | done; | 83 | done; |
83 | 84 | ||
84 | tags: | 85 | tags: |
@@ -90,15 +91,17 @@ lint: | |||
90 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 91 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
91 | 92 | ||
92 | depend: | 93 | depend: |
93 | $(MAKEDEPEND) $(INCLUDES) $(PROGS) $(LIBSRC) | 94 | $(MAKEDEPEND) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) |
94 | 95 | ||
95 | dclean: | 96 | dclean: |
96 | perl -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | 97 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
97 | mv -f Makefile.new $(MAKEFILE) | 98 | mv -f Makefile.new $(MAKEFILE) |
98 | 99 | ||
99 | clean: | 100 | clean: |
100 | /bin/rm -f *.o asm/*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff | 101 | rm -f asm/rm86unix.cpp *.o asm/*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff |
101 | |||
102 | errors: | ||
103 | 102 | ||
104 | # DO NOT DELETE THIS LINE -- make depend depends on it. | 103 | # DO NOT DELETE THIS LINE -- make depend depends on it. |
104 | |||
105 | rmd_dgst.o: ../../include/openssl/opensslv.h ../../include/openssl/ripemd.h | ||
106 | rmd_dgst.o: rmd_locl.h rmdconst.h | ||
107 | rmd_one.o: ../../include/openssl/ripemd.h rmd_locl.h rmdconst.h | ||