]>
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 RL |
26 | LIBSRC=md_rand.c randfile.c rand_lib.c rand_err.c rand_egd.c \ |
27 | rand_win.c rand_unix.c | |
28 | LIBOBJ=md_rand.o randfile.o rand_lib.o rand_err.o rand_egd.o \ | |
29 | rand_win.o rand_unix.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: | |
f5d7a031 | 73 | $(MAKEDEPEND) $(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 | |
41d2a336 RL |
84 | md_rand.o: ../../e_os.h ../../include/openssl/bio.h |
85 | md_rand.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h | |
1c4f90a0 | 86 | md_rand.o: ../../include/openssl/err.h ../../include/openssl/lhash.h |
a8eeb155 | 87 | md_rand.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h |
dd9d233e | 88 | md_rand.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h |
62ab514e | 89 | md_rand.o: ../../include/openssl/sha.h ../../include/openssl/stack.h |
cf1b7d96 | 90 | md_rand.o: ../../include/openssl/symhacks.h md_rand.c rand_lcl.h |
7ef6e3fe GT |
91 | rand_egd.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h |
92 | rand_egd.o: ../../include/openssl/rand.h rand_egd.c | |
1c4f90a0 | 93 | rand_err.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h |
cf1b7d96 RL |
94 | rand_err.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h |
95 | rand_err.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | |
1c4f90a0 GT |
96 | rand_err.o: ../../include/openssl/opensslv.h ../../include/openssl/rand.h |
97 | rand_err.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | |
cf1b7d96 | 98 | rand_err.o: ../../include/openssl/symhacks.h rand_err.c |
9a310a5d RL |
99 | rand_lib.o: ../../e_os.h ../../include/openssl/asn1.h |
100 | rand_lib.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h | |
101 | rand_lib.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | |
d88a26c4 RL |
102 | rand_lib.o: ../../include/openssl/cast.h ../../include/openssl/crypto.h |
103 | rand_lib.o: ../../include/openssl/des.h ../../include/openssl/dh.h | |
104 | rand_lib.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | |
9a310a5d RL |
105 | rand_lib.o: ../../include/openssl/engine.h ../../include/openssl/err.h |
106 | rand_lib.o: ../../include/openssl/evp.h ../../include/openssl/idea.h | |
107 | rand_lib.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h | |
d88a26c4 RL |
108 | rand_lib.o: ../../include/openssl/md4.h ../../include/openssl/md5.h |
109 | rand_lib.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h | |
110 | rand_lib.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | |
2b49dd1e RL |
111 | rand_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/pem.h |
112 | rand_lib.o: ../../include/openssl/pem2.h ../../include/openssl/pkcs7.h | |
113 | rand_lib.o: ../../include/openssl/rand.h ../../include/openssl/rc2.h | |
114 | rand_lib.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h | |
115 | rand_lib.o: ../../include/openssl/rd_fst.h ../../include/openssl/rijndael.h | |
116 | rand_lib.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h | |
117 | rand_lib.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | |
118 | rand_lib.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | |
119 | rand_lib.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | |
120 | rand_lib.o: ../cryptlib.h rand_lib.c | |
41d2a336 RL |
121 | rand_unix.o: ../../e_os.h ../../include/openssl/bio.h |
122 | rand_unix.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | |
49783612 BL |
123 | rand_unix.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h |
124 | rand_unix.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | |
125 | rand_unix.o: ../../include/openssl/opensslv.h ../../include/openssl/rand.h | |
126 | rand_unix.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | |
127 | rand_unix.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | |
cf1b7d96 | 128 | rand_unix.o: ../cryptlib.h rand_lcl.h rand_unix.c |
41d2a336 RL |
129 | rand_win.o: ../../e_os.h ../../include/openssl/bio.h |
130 | rand_win.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | |
f944e784 RL |
131 | rand_win.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h |
132 | rand_win.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | |
133 | rand_win.o: ../../include/openssl/opensslv.h ../../include/openssl/rand.h | |
134 | rand_win.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | |
62ab514e | 135 | rand_win.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h |
cf1b7d96 | 136 | rand_win.o: ../cryptlib.h rand_lcl.h rand_win.c |
41d2a336 | 137 | randfile.o: ../../e_os.h ../../include/openssl/crypto.h |
7bd3a580 RL |
138 | randfile.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h |
139 | randfile.o: ../../include/openssl/opensslv.h ../../include/openssl/rand.h | |
140 | randfile.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | |
cf1b7d96 | 141 | randfile.o: ../../include/openssl/symhacks.h randfile.c |