]>
Commit | Line | Data |
---|---|---|
d02b48c6 RE |
1 | # |
2 | # SSLeay/crypto/rand/Makefile | |
3 | # | |
4 | ||
5 | DIR= rand | |
6 | TOP= ../.. | |
7 | CC= cc | |
8 | INCLUDES= | |
9 | CFLAG=-g | |
e5f3045f BM |
10 | INSTALL_PREFIX= |
11 | OPENSSLDIR= /usr/local/ssl | |
d02b48c6 RE |
12 | INSTALLTOP=/usr/local/ssl |
13 | MAKE= make -f Makefile.ssl | |
cf1b7d96 RL |
14 | MAKEDEPPROG= makedepend |
15 | MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG) | |
d02b48c6 RE |
16 | MAKEFILE= Makefile.ssl |
17 | AR= ar r | |
18 | ||
19 | CFLAGS= $(INCLUDES) $(CFLAG) | |
20 | ||
21 | GENERAL=Makefile | |
22 | TEST= randtest.c | |
23 | APPS= | |
24 | ||
25 | LIB=$(TOP)/libcrypto.a | |
0c61e299 | 26 | LIBSRC=md_rand.c randfile.c rand_lib.c rand_err.c rand_egd.c \ |
4d8743f4 | 27 | rand_win.c rand_unix.c rand_os2.c rand_nw.c |
0c61e299 | 28 | LIBOBJ=md_rand.o randfile.o rand_lib.o rand_err.o rand_egd.o \ |
4d8743f4 | 29 | rand_win.o rand_unix.o rand_os2.o rand_nw.o |
d02b48c6 RE |
30 | |
31 | SRC= $(LIBSRC) | |
32 | ||
33 | EXHEADER= rand.h | |
34 | HEADER= $(EXHEADER) | |
35 | ||
36 | ALL= $(GENERAL) $(SRC) $(HEADER) | |
37 | ||
38 | top: | |
39 | (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all) | |
40 | ||
41 | all: lib | |
42 | ||
43 | lib: $(LIBOBJ) | |
44 | $(AR) $(LIB) $(LIBOBJ) | |
4e20b1a6 | 45 | $(RANLIB) $(LIB) || echo Never mind. |
d02b48c6 RE |
46 | @touch lib |
47 | ||
48 | files: | |
99aab161 | 49 | $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO |
d02b48c6 RE |
50 | |
51 | links: | |
bb8f3c58 | 52 | @$(TOP)/util/point.sh Makefile.ssl Makefile |
1314c344 BM |
53 | @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) |
54 | @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) | |
55 | @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) | |
d02b48c6 RE |
56 | |
57 | install: | |
58 | @for i in $(EXHEADER) ; \ | |
59 | do \ | |
e5f3045f BM |
60 | (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ |
61 | chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ | |
d02b48c6 RE |
62 | done; |
63 | ||
64 | tags: | |
65 | ctags $(SRC) | |
66 | ||
67 | tests: | |
68 | ||
69 | lint: | |
70 | lint -DLINT $(INCLUDES) $(SRC)>fluff | |
71 | ||
72 | depend: | |
001ab3ab | 73 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) |
d02b48c6 RE |
74 | |
75 | dclean: | |
99aab161 | 76 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
d02b48c6 RE |
77 | mv -f Makefile.new $(MAKEFILE) |
78 | ||
79 | clean: | |
bb8f3c58 | 80 | rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff |
d02b48c6 | 81 | |
d02b48c6 | 82 | # DO NOT DELETE THIS LINE -- make depend depends on it. |
6242bb9c | 83 | |
5e42f9ab RL |
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 | |
55dcfa42 | 89 | md_rand.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h |
f8000b93 | 90 | md_rand.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h |
5e42f9ab RL |
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 | |
7ef6e3fe | 94 | rand_egd.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h |
f8000b93 | 95 | rand_egd.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h |
534aaf37 | 96 | rand_egd.o: rand_egd.c |
1c4f90a0 | 97 | rand_err.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h |
cf1b7d96 RL |
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 | |
f8000b93 RL |
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 | |
534aaf37 | 103 | rand_err.o: rand_err.c |
9a310a5d | 104 | rand_lib.o: ../../e_os.h ../../include/openssl/asn1.h |
3aecef76 LJ |
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/ec.h | |
74cc4903 BM |
109 | rand_lib.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h |
110 | rand_lib.o: ../../include/openssl/engine.h ../../include/openssl/err.h | |
d1465bac RL |
111 | rand_lib.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h |
112 | rand_lib.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | |
113 | rand_lib.o: ../../include/openssl/opensslconf.h | |
f8000b93 | 114 | rand_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h |
d1465bac RL |
115 | rand_lib.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h |
116 | rand_lib.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | |
117 | rand_lib.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | |
118 | rand_lib.o: ../../include/openssl/store.h ../../include/openssl/symhacks.h | |
119 | rand_lib.o: ../../include/openssl/ui.h ../../include/openssl/x509.h | |
120 | rand_lib.o: ../../include/openssl/x509_vfy.h ../cryptlib.h rand_lib.c | |
5e42f9ab RL |
121 | rand_os2.o: ../../e_os.h ../../include/openssl/asn1.h |
122 | rand_os2.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | |
123 | rand_os2.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | |
124 | rand_os2.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | |
125 | rand_os2.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | |
14cfde9c UM |
126 | rand_os2.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h |
127 | rand_os2.o: ../../include/openssl/opensslconf.h | |
f8000b93 | 128 | rand_os2.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h |
5e42f9ab RL |
129 | rand_os2.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h |
130 | rand_os2.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | |
131 | rand_os2.o: ../../include/openssl/symhacks.h ../cryptlib.h rand_lcl.h | |
132 | rand_os2.o: rand_os2.c | |
133 | rand_unix.o: ../../e_os.h ../../include/openssl/asn1.h | |
134 | rand_unix.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | |
135 | rand_unix.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | |
136 | rand_unix.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | |
137 | rand_unix.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | |
14cfde9c UM |
138 | rand_unix.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h |
139 | rand_unix.o: ../../include/openssl/opensslconf.h | |
f8000b93 | 140 | rand_unix.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h |
5e42f9ab RL |
141 | rand_unix.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h |
142 | rand_unix.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | |
143 | rand_unix.o: ../../include/openssl/symhacks.h ../cryptlib.h rand_lcl.h | |
144 | rand_unix.o: rand_unix.c | |
145 | rand_win.o: ../../e_os.h ../../include/openssl/asn1.h | |
146 | rand_win.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | |
147 | rand_win.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | |
148 | rand_win.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | |
149 | rand_win.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | |
14cfde9c UM |
150 | rand_win.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h |
151 | rand_win.o: ../../include/openssl/opensslconf.h | |
f8000b93 | 152 | rand_win.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h |
5e42f9ab RL |
153 | rand_win.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h |
154 | rand_win.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | |
155 | rand_win.o: ../../include/openssl/symhacks.h ../cryptlib.h rand_lcl.h | |
156 | rand_win.o: rand_win.c | |
41d2a336 | 157 | randfile.o: ../../e_os.h ../../include/openssl/crypto.h |
7bd3a580 | 158 | randfile.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h |
f8000b93 RL |
159 | randfile.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h |
160 | randfile.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h | |
161 | randfile.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | |
534aaf37 | 162 | randfile.o: randfile.c |