summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/rc4/Makefile.ssl
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/rc4/Makefile.ssl')
-rw-r--r--src/lib/libcrypto/rc4/Makefile.ssl41
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= ../..
7CC= cc 7CC= cc
8INCLUDES= 8INCLUDES=
9CFLAG=-g 9CFLAG=-g
10INSTALL_PREFIX=
11OPENSSLDIR= /usr/local/ssl
10INSTALLTOP=/usr/local/ssl 12INSTALLTOP=/usr/local/ssl
11MAKE= make -f Makefile.ssl 13MAKE= make -f Makefile.ssl
12MAKEDEPEND= makedepend -f Makefile.ssl 14MAKEDEPEND= $(TOP)/util/domd $(TOP)
13MAKEFILE= Makefile.ssl 15MAKEFILE= Makefile.ssl
14AR= ar r 16AR= ar r
15 17
@@ -44,7 +46,7 @@ all: lib
44 46
45lib: $(LIBOBJ) 47lib: $(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
65asm/rx86bsdi.o: asm/rx86unix.cpp 67asm/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
68asm/rx86unix.cpp: 70asm/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
71files: 73files:
72 perl $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO 74 $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
73 75
74links: 76links:
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
81install: 82install:
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
88tags: 89tags:
@@ -94,15 +95,19 @@ lint:
94 lint -DLINT $(INCLUDES) $(SRC)>fluff 95 lint -DLINT $(INCLUDES) $(SRC)>fluff
95 96
96depend: 97depend:
97 $(MAKEDEPEND) $(INCLUDES) $(PROGS) $(LIBSRC) 98 $(MAKEDEPEND) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC)
98 99
99dclean: 100dclean:
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
103clean: 104clean:
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
106errors:
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
109rc4_enc.o: ../../include/openssl/opensslconf.h ../../include/openssl/rc4.h
110rc4_enc.o: rc4_locl.h
111rc4_skey.o: ../../include/openssl/opensslconf.h
112rc4_skey.o: ../../include/openssl/opensslv.h ../../include/openssl/rc4.h
113rc4_skey.o: rc4_locl.h