Blow away Makefile.ssl.
[openssl.git] / crypto / rand / Makefile
1 #
2 # SSLeay/crypto/rand/Makefile
3 #
4
5 DIR=    rand
6 TOP=    ../..
7 CC=     cc
8 INCLUDES=
9 CFLAG=-g
10 INSTALL_PREFIX=
11 OPENSSLDIR=     /usr/local/ssl
12 INSTALLTOP=/usr/local/ssl
13 MAKE=           make
14 MAKEDEPPROG=    makedepend
15 MAKEDEPEND=     $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG)
16 MAKEFILE=       Makefile
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
26 LIBSRC=md_rand.c randfile.c rand_lib.c rand_err.c rand_egd.c \
27         rand_win.c rand_unix.c rand_os2.c rand_nw.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 rand_nw.o
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)
45         $(RANLIB) $(LIB) || echo Never mind.
46         @touch lib
47
48 files:
49         $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
50
51 links:
52         @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
53         @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
54         @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
55
56 install:
57         @headerlist="$(EXHEADER)"; for i in $$headerlist ; \
58         do  \
59         (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
60         chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
61         done;
62
63 tags:
64         ctags $(SRC)
65
66 tests:
67
68 lint:
69         lint -DLINT $(INCLUDES) $(SRC)>fluff
70
71 depend:
72         $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
73
74 dclean:
75         $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
76         mv -f Makefile.new $(MAKEFILE)
77
78 clean:
79         rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
80
81 # DO NOT DELETE THIS LINE -- make depend depends on it.
82
83 md_rand.o: ../../e_os.h ../../include/openssl/asn1.h
84 md_rand.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h
85 md_rand.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
86 md_rand.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
87 md_rand.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
88 md_rand.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
89 md_rand.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h
90 md_rand.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
91 md_rand.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
92 md_rand.o: md_rand.c rand_lcl.h
93 rand_egd.o: ../../include/openssl/buffer.h ../../include/openssl/e_os2.h
94 rand_egd.o: ../../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/bio.h
105 rand_lib.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
106 rand_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h
107 rand_lib.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
108 rand_lib.o: ../../include/openssl/opensslconf.h
109 rand_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
110 rand_lib.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
111 rand_lib.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
112 rand_lib.o: ../cryptlib.h rand_lib.c
113 rand_nw.o: ../../e_os.h ../../include/openssl/asn1.h
114 rand_nw.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
115 rand_nw.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
116 rand_nw.o: ../../include/openssl/err.h ../../include/openssl/evp.h
117 rand_nw.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
118 rand_nw.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
119 rand_nw.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
120 rand_nw.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
121 rand_nw.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
122 rand_nw.o: ../../include/openssl/symhacks.h ../cryptlib.h rand_lcl.h rand_nw.c
123 rand_os2.o: ../../e_os.h ../../include/openssl/asn1.h
124 rand_os2.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
125 rand_os2.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
126 rand_os2.o: ../../include/openssl/err.h ../../include/openssl/evp.h
127 rand_os2.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
128 rand_os2.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
129 rand_os2.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
130 rand_os2.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
131 rand_os2.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
132 rand_os2.o: ../../include/openssl/symhacks.h ../cryptlib.h rand_lcl.h
133 rand_os2.o: rand_os2.c
134 rand_unix.o: ../../e_os.h ../../include/openssl/asn1.h
135 rand_unix.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
136 rand_unix.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
137 rand_unix.o: ../../include/openssl/err.h ../../include/openssl/evp.h
138 rand_unix.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
139 rand_unix.o: ../../include/openssl/objects.h
140 rand_unix.o: ../../include/openssl/opensslconf.h
141 rand_unix.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
142 rand_unix.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
143 rand_unix.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
144 rand_unix.o: ../../include/openssl/symhacks.h ../cryptlib.h rand_lcl.h
145 rand_unix.o: rand_unix.c
146 rand_win.o: ../../e_os.h ../../include/openssl/asn1.h
147 rand_win.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
148 rand_win.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
149 rand_win.o: ../../include/openssl/err.h ../../include/openssl/evp.h
150 rand_win.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
151 rand_win.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
152 rand_win.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
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
157 randfile.o: ../../e_os.h ../../include/openssl/buffer.h
158 randfile.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
159 randfile.o: ../../include/openssl/opensslconf.h
160 randfile.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
161 randfile.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
162 randfile.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
163 randfile.o: randfile.c