diff options
Diffstat (limited to 'src/lib/libcrypto/rand/Makefile.ssl')
-rw-r--r-- | src/lib/libcrypto/rand/Makefile.ssl | 111 |
1 files changed, 94 insertions, 17 deletions
diff --git a/src/lib/libcrypto/rand/Makefile.ssl b/src/lib/libcrypto/rand/Makefile.ssl index d04f0a9b43..ccf65f0d78 100644 --- a/src/lib/libcrypto/rand/Makefile.ssl +++ b/src/lib/libcrypto/rand/Makefile.ssl | |||
@@ -7,9 +7,12 @@ 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 | MAKEDEPPROG= makedepend |
15 | MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG) | ||
13 | MAKEFILE= Makefile.ssl | 16 | MAKEFILE= Makefile.ssl |
14 | AR= ar r | 17 | AR= ar r |
15 | 18 | ||
@@ -20,8 +23,10 @@ TEST= randtest.c | |||
20 | APPS= | 23 | APPS= |
21 | 24 | ||
22 | LIB=$(TOP)/libcrypto.a | 25 | LIB=$(TOP)/libcrypto.a |
23 | LIBSRC=md_rand.c randfile.c | 26 | LIBSRC=md_rand.c randfile.c rand_lib.c rand_err.c rand_egd.c \ |
24 | LIBOBJ=md_rand.o randfile.o | 27 | rand_win.c rand_unix.c rand_os2.c |
28 | LIBOBJ=md_rand.o randfile.o rand_lib.o rand_err.o rand_egd.o \ | ||
29 | rand_win.o rand_unix.o rand_os2.o | ||
25 | 30 | ||
26 | SRC= $(LIBSRC) | 31 | SRC= $(LIBSRC) |
27 | 32 | ||
@@ -37,24 +42,23 @@ all: lib | |||
37 | 42 | ||
38 | lib: $(LIBOBJ) | 43 | lib: $(LIBOBJ) |
39 | $(AR) $(LIB) $(LIBOBJ) | 44 | $(AR) $(LIB) $(LIBOBJ) |
40 | sh $(TOP)/util/ranlib.sh $(LIB) | 45 | $(RANLIB) $(LIB) || echo Never mind. |
41 | @touch lib | 46 | @touch lib |
42 | 47 | ||
43 | files: | 48 | files: |
44 | perl $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO | 49 | $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO |
45 | 50 | ||
46 | links: | 51 | links: |
47 | /bin/rm -f Makefile | 52 | @$(TOP)/util/point.sh Makefile.ssl Makefile |
48 | $(TOP)/util/point.sh Makefile.ssl Makefile ; | 53 | @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) |
49 | $(TOP)/util/mklink.sh ../../include $(EXHEADER) | 54 | @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) |
50 | $(TOP)/util/mklink.sh ../../test $(TEST) | 55 | @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) |
51 | $(TOP)/util/mklink.sh ../../apps $(APPS) | ||
52 | 56 | ||
53 | install: | 57 | install: |
54 | @for i in $(EXHEADER) ; \ | 58 | @for i in $(EXHEADER) ; \ |
55 | do \ | 59 | do \ |
56 | (cp $$i $(INSTALLTOP)/include/$$i; \ | 60 | (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ |
57 | chmod 644 $(INSTALLTOP)/include/$$i ); \ | 61 | chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ |
58 | done; | 62 | done; |
59 | 63 | ||
60 | tags: | 64 | tags: |
@@ -66,15 +70,88 @@ lint: | |||
66 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 70 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
67 | 71 | ||
68 | depend: | 72 | depend: |
69 | $(MAKEDEPEND) $(INCLUDES) $(PROGS) $(LIBSRC) | 73 | $(MAKEDEPEND) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) |
70 | 74 | ||
71 | dclean: | 75 | dclean: |
72 | perl -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | 76 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
73 | mv -f Makefile.new $(MAKEFILE) | 77 | mv -f Makefile.new $(MAKEFILE) |
74 | 78 | ||
75 | clean: | 79 | clean: |
76 | /bin/rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff | 80 | rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff |
77 | |||
78 | errors: | ||
79 | 81 | ||
80 | # DO NOT DELETE THIS LINE -- make depend depends on it. | 82 | # DO NOT DELETE THIS LINE -- make depend depends on it. |
83 | |||
84 | md_rand.o: ../../e_os.h ../../include/openssl/asn1.h | ||
85 | md_rand.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
86 | md_rand.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h | ||
87 | md_rand.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
88 | md_rand.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
89 | md_rand.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
90 | md_rand.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
91 | md_rand.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h | ||
92 | md_rand.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
93 | md_rand.o: ../../include/openssl/symhacks.h md_rand.c rand_lcl.h | ||
94 | rand_egd.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h | ||
95 | rand_egd.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h | ||
96 | rand_egd.o: rand_egd.c | ||
97 | rand_err.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h | ||
98 | rand_err.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
99 | rand_err.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
100 | rand_err.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
101 | rand_err.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h | ||
102 | rand_err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
103 | rand_err.o: rand_err.c | ||
104 | rand_lib.o: ../../e_os.h ../../include/openssl/asn1.h | ||
105 | rand_lib.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
106 | rand_lib.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
107 | rand_lib.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
108 | rand_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h | ||
109 | rand_lib.o: ../../include/openssl/err.h ../../include/openssl/lhash.h | ||
110 | rand_lib.o: ../../include/openssl/opensslconf.h | ||
111 | rand_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
112 | rand_lib.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h | ||
113 | rand_lib.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
114 | rand_lib.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h | ||
115 | rand_lib.o: ../cryptlib.h rand_lib.c | ||
116 | rand_os2.o: ../../e_os.h ../../include/openssl/asn1.h | ||
117 | rand_os2.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
118 | rand_os2.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
119 | rand_os2.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
120 | rand_os2.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
121 | rand_os2.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
122 | rand_os2.o: ../../include/openssl/opensslconf.h | ||
123 | rand_os2.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
124 | rand_os2.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h | ||
125 | rand_os2.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
126 | rand_os2.o: ../../include/openssl/symhacks.h ../cryptlib.h rand_lcl.h | ||
127 | rand_os2.o: rand_os2.c | ||
128 | rand_unix.o: ../../e_os.h ../../include/openssl/asn1.h | ||
129 | rand_unix.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
130 | rand_unix.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
131 | rand_unix.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
132 | rand_unix.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
133 | rand_unix.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
134 | rand_unix.o: ../../include/openssl/opensslconf.h | ||
135 | rand_unix.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
136 | rand_unix.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h | ||
137 | rand_unix.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
138 | rand_unix.o: ../../include/openssl/symhacks.h ../cryptlib.h rand_lcl.h | ||
139 | rand_unix.o: rand_unix.c | ||
140 | rand_win.o: ../../e_os.h ../../include/openssl/asn1.h | ||
141 | rand_win.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
142 | rand_win.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
143 | rand_win.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
144 | rand_win.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
145 | rand_win.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
146 | rand_win.o: ../../include/openssl/opensslconf.h | ||
147 | rand_win.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
148 | rand_win.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h | ||
149 | rand_win.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
150 | rand_win.o: ../../include/openssl/symhacks.h ../cryptlib.h rand_lcl.h | ||
151 | rand_win.o: rand_win.c | ||
152 | randfile.o: ../../e_os.h ../../include/openssl/crypto.h | ||
153 | randfile.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h | ||
154 | randfile.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
155 | randfile.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h | ||
156 | randfile.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
157 | randfile.o: randfile.c | ||