diff options
Diffstat (limited to 'src/lib/libcrypto/rc4/Makefile.ssl')
-rw-r--r-- | src/lib/libcrypto/rc4/Makefile.ssl | 41 |
1 files changed, 23 insertions, 18 deletions
diff --git a/src/lib/libcrypto/rc4/Makefile.ssl b/src/lib/libcrypto/rc4/Makefile.ssl index 19c1e980f3..64092fd4f1 100644 --- a/src/lib/libcrypto/rc4/Makefile.ssl +++ b/src/lib/libcrypto/rc4/Makefile.ssl | |||
@@ -7,9 +7,11 @@ TOP= ../.. | |||
7 | CC= cc | 7 | CC= cc |
8 | INCLUDES= | 8 | INCLUDES= |
9 | CFLAG=-g | 9 | CFLAG=-g |
10 | INSTALL_PREFIX= | ||
11 | OPENSSLDIR= /usr/local/ssl | ||
10 | INSTALLTOP=/usr/local/ssl | 12 | INSTALLTOP=/usr/local/ssl |
11 | MAKE= make -f Makefile.ssl | 13 | MAKE= make -f Makefile.ssl |
12 | MAKEDEPEND= makedepend -f Makefile.ssl | 14 | MAKEDEPEND= $(TOP)/util/domd $(TOP) |
13 | MAKEFILE= Makefile.ssl | 15 | MAKEFILE= Makefile.ssl |
14 | AR= ar r | 16 | AR= ar r |
15 | 17 | ||
@@ -44,7 +46,7 @@ all: lib | |||
44 | 46 | ||
45 | lib: $(LIBOBJ) | 47 | lib: $(LIBOBJ) |
46 | $(AR) $(LIB) $(LIBOBJ) | 48 | $(AR) $(LIB) $(LIBOBJ) |
47 | sh $(TOP)/util/ranlib.sh $(LIB) | 49 | $(RANLIB) $(LIB) |
48 | @touch lib | 50 | @touch lib |
49 | 51 | ||
50 | # elf | 52 | # elf |
@@ -63,26 +65,25 @@ asm/rx86-out.o: asm/rx86unix.cpp | |||
63 | 65 | ||
64 | # bsdi | 66 | # bsdi |
65 | asm/rx86bsdi.o: asm/rx86unix.cpp | 67 | asm/rx86bsdi.o: asm/rx86unix.cpp |
66 | $(CPP) -DBSDI asm/rx86unix.cpp | as -o asm/rx86bsdi.o | 68 | $(CPP) -DBSDI asm/rx86unix.cpp | sed 's/ :/:/' | as -o asm/rx86bsdi.o |
67 | 69 | ||
68 | asm/rx86unix.cpp: | 70 | asm/rx86unix.cpp: asm/rc4-586.pl |
69 | (cd asm; perl rc4-586.pl cpp >rx86unix.cpp) | 71 | (cd asm; $(PERL) rc4-586.pl cpp >rx86unix.cpp) |
70 | 72 | ||
71 | files: | 73 | files: |
72 | perl $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO | 74 | $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO |
73 | 75 | ||
74 | links: | 76 | links: |
75 | /bin/rm -f Makefile | 77 | @$(TOP)/util/point.sh Makefile.ssl Makefile |
76 | $(TOP)/util/point.sh Makefile.ssl Makefile ; | 78 | @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) |
77 | $(TOP)/util/mklink.sh ../../include $(EXHEADER) | 79 | @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) |
78 | $(TOP)/util/mklink.sh ../../test $(TEST) | 80 | @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) |
79 | $(TOP)/util/mklink.sh ../../apps $(APPS) | ||
80 | 81 | ||
81 | install: | 82 | install: |
82 | @for i in $(EXHEADER) ; \ | 83 | @for i in $(EXHEADER) ; \ |
83 | do \ | 84 | do \ |
84 | (cp $$i $(INSTALLTOP)/include/$$i; \ | 85 | (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ |
85 | chmod 644 $(INSTALLTOP)/include/$$i ); \ | 86 | chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ |
86 | done; | 87 | done; |
87 | 88 | ||
88 | tags: | 89 | tags: |
@@ -94,15 +95,19 @@ lint: | |||
94 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 95 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
95 | 96 | ||
96 | depend: | 97 | depend: |
97 | $(MAKEDEPEND) $(INCLUDES) $(PROGS) $(LIBSRC) | 98 | $(MAKEDEPEND) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) |
98 | 99 | ||
99 | dclean: | 100 | dclean: |
100 | perl -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | 101 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
101 | mv -f Makefile.new $(MAKEFILE) | 102 | mv -f Makefile.new $(MAKEFILE) |
102 | 103 | ||
103 | clean: | 104 | clean: |
104 | /bin/rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff asm/*.o | 105 | rm -f asm/rx86unix.cpp *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff asm/*.o |
105 | |||
106 | errors: | ||
107 | 106 | ||
108 | # DO NOT DELETE THIS LINE -- make depend depends on it. | 107 | # DO NOT DELETE THIS LINE -- make depend depends on it. |
108 | |||
109 | rc4_enc.o: ../../include/openssl/opensslconf.h ../../include/openssl/rc4.h | ||
110 | rc4_enc.o: rc4_locl.h | ||
111 | rc4_skey.o: ../../include/openssl/opensslconf.h | ||
112 | rc4_skey.o: ../../include/openssl/opensslv.h ../../include/openssl/rc4.h | ||
113 | rc4_skey.o: rc4_locl.h | ||