1142425Snectar#
2160814Ssimon# OpenSSL/crypto/rand/Makefile
3142425Snectar#
4142425Snectar
5142425SnectarDIR=	rand
6142425SnectarTOP=	../..
7142425SnectarCC=	cc
8142425SnectarINCLUDES=
9142425SnectarCFLAG=-g
10142425SnectarMAKEFILE=	Makefile
11142425SnectarAR=		ar r
12142425Snectar
13142425SnectarCFLAGS= $(INCLUDES) $(CFLAG)
14142425Snectar
15142425SnectarGENERAL=Makefile
16142425SnectarTEST= randtest.c
17142425SnectarAPPS=
18142425Snectar
19142425SnectarLIB=$(TOP)/libcrypto.a
20194206SsimonLIBSRC=md_rand.c randfile.c rand_lib.c rand_eng.c rand_err.c rand_egd.c \
21160814Ssimon	rand_win.c rand_unix.c rand_os2.c rand_nw.c
22194206SsimonLIBOBJ=md_rand.o randfile.o rand_lib.o rand_eng.o rand_err.o rand_egd.o \
23160814Ssimon	rand_win.o rand_unix.o rand_os2.o rand_nw.o
24142425Snectar
25142425SnectarSRC= $(LIBSRC)
26142425Snectar
27142425SnectarEXHEADER= rand.h
28142425SnectarHEADER=	$(EXHEADER)
29142425Snectar
30142425SnectarALL=    $(GENERAL) $(SRC) $(HEADER)
31142425Snectar
32142425Snectartop:
33142425Snectar	(cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
34142425Snectar
35142425Snectarall:	lib
36142425Snectar
37142425Snectarlib:	$(LIBOBJ)
38194206Ssimon	$(ARX) $(LIB) $(LIBOBJ)
39142425Snectar	$(RANLIB) $(LIB) || echo Never mind.
40142425Snectar	@touch lib
41142425Snectar
42142425Snectarfiles:
43142425Snectar	$(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
44142425Snectar
45142425Snectarlinks:
46142425Snectar	@$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
47142425Snectar	@$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
48142425Snectar	@$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
49142425Snectar
50142425Snectarinstall:
51160814Ssimon	@[ -n "$(INSTALLTOP)" ] # should be set by top Makefile...
52160814Ssimon	@headerlist="$(EXHEADER)"; for i in $$headerlist ; \
53142425Snectar	do  \
54142425Snectar	(cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
55142425Snectar	chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
56142425Snectar	done;
57142425Snectar
58142425Snectartags:
59142425Snectar	ctags $(SRC)
60142425Snectar
61142425Snectartests:
62142425Snectar
63142425Snectarlint:
64142425Snectar	lint -DLINT $(INCLUDES) $(SRC)>fluff
65142425Snectar
66142425Snectardepend:
67160814Ssimon	@[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile...
68142425Snectar	$(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
69142425Snectar
70142425Snectardclean:
71142425Snectar	$(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
72142425Snectar	mv -f Makefile.new $(MAKEFILE)
73142425Snectar
74142425Snectarclean:
75142425Snectar	rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
76142425Snectar
77142425Snectar# DO NOT DELETE THIS LINE -- make depend depends on it.
78142425Snectar
79160814Ssimonmd_rand.o: ../../e_os.h ../../include/openssl/asn1.h
80160814Ssimonmd_rand.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h
81142425Snectarmd_rand.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
82194206Ssimonmd_rand.o: ../../include/openssl/evp.h ../../include/openssl/fips.h
83194206Ssimonmd_rand.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
84194206Ssimonmd_rand.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
85194206Ssimonmd_rand.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
86194206Ssimonmd_rand.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
87194206Ssimonmd_rand.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
88194206Ssimonmd_rand.o: ../../include/openssl/symhacks.h md_rand.c rand_lcl.h
89142425Snectarrand_egd.o: ../../include/openssl/buffer.h ../../include/openssl/e_os2.h
90142425Snectarrand_egd.o: ../../include/openssl/opensslconf.h
91142425Snectarrand_egd.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h
92142425Snectarrand_egd.o: rand_egd.c
93194206Ssimonrand_eng.o: ../../e_os.h ../../include/openssl/asn1.h
94194206Ssimonrand_eng.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
95194206Ssimonrand_eng.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
96194206Ssimonrand_eng.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
97194206Ssimonrand_eng.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
98194206Ssimonrand_eng.o: ../../include/openssl/ecdsa.h ../../include/openssl/engine.h
99194206Ssimonrand_eng.o: ../../include/openssl/err.h ../../include/openssl/evp.h
100194206Ssimonrand_eng.o: ../../include/openssl/fips.h ../../include/openssl/fips_rand.h
101194206Ssimonrand_eng.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
102194206Ssimonrand_eng.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
103194206Ssimonrand_eng.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
104194206Ssimonrand_eng.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h
105194206Ssimonrand_eng.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
106194206Ssimonrand_eng.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
107194206Ssimonrand_eng.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
108194206Ssimonrand_eng.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
109194206Ssimonrand_eng.o: ../cryptlib.h rand_eng.c rand_lcl.h
110142425Snectarrand_err.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h
111142425Snectarrand_err.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
112142425Snectarrand_err.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
113142425Snectarrand_err.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
114142425Snectarrand_err.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
115142425Snectarrand_err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
116142425Snectarrand_err.o: rand_err.c
117194206Ssimonrand_lib.o: ../../e_os.h ../../include/openssl/asn1.h
118194206Ssimonrand_lib.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
119194206Ssimonrand_lib.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
120194206Ssimonrand_lib.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
121194206Ssimonrand_lib.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
122194206Ssimonrand_lib.o: ../../include/openssl/ecdsa.h ../../include/openssl/engine.h
123194206Ssimonrand_lib.o: ../../include/openssl/err.h ../../include/openssl/evp.h
124194206Ssimonrand_lib.o: ../../include/openssl/fips.h ../../include/openssl/fips_rand.h
125194206Ssimonrand_lib.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
126194206Ssimonrand_lib.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
127142425Snectarrand_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
128194206Ssimonrand_lib.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h
129194206Ssimonrand_lib.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
130160814Ssimonrand_lib.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
131194206Ssimonrand_lib.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
132194206Ssimonrand_lib.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
133194206Ssimonrand_lib.o: ../cryptlib.h rand_lcl.h rand_lib.c
134160814Ssimonrand_nw.o: ../../e_os.h ../../include/openssl/asn1.h
135160814Ssimonrand_nw.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
136160814Ssimonrand_nw.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
137160814Ssimonrand_nw.o: ../../include/openssl/err.h ../../include/openssl/evp.h
138194206Ssimonrand_nw.o: ../../include/openssl/fips.h ../../include/openssl/lhash.h
139194206Ssimonrand_nw.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
140194206Ssimonrand_nw.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
141194206Ssimonrand_nw.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h
142194206Ssimonrand_nw.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
143194206Ssimonrand_nw.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
144194206Ssimonrand_nw.o: ../cryptlib.h rand_lcl.h rand_nw.c
145160814Ssimonrand_os2.o: ../../e_os.h ../../include/openssl/asn1.h
146160814Ssimonrand_os2.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
147160814Ssimonrand_os2.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
148142425Snectarrand_os2.o: ../../include/openssl/err.h ../../include/openssl/evp.h
149194206Ssimonrand_os2.o: ../../include/openssl/fips.h ../../include/openssl/lhash.h
150194206Ssimonrand_os2.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
151194206Ssimonrand_os2.o: ../../include/openssl/opensslconf.h
152142425Snectarrand_os2.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
153160814Ssimonrand_os2.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
154160814Ssimonrand_os2.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
155160814Ssimonrand_os2.o: ../../include/openssl/symhacks.h ../cryptlib.h rand_lcl.h
156160814Ssimonrand_os2.o: rand_os2.c
157160814Ssimonrand_unix.o: ../../e_os.h ../../include/openssl/asn1.h
158160814Ssimonrand_unix.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
159160814Ssimonrand_unix.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
160142425Snectarrand_unix.o: ../../include/openssl/err.h ../../include/openssl/evp.h
161194206Ssimonrand_unix.o: ../../include/openssl/fips.h ../../include/openssl/lhash.h
162194206Ssimonrand_unix.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
163142425Snectarrand_unix.o: ../../include/openssl/opensslconf.h
164142425Snectarrand_unix.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
165160814Ssimonrand_unix.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
166160814Ssimonrand_unix.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
167160814Ssimonrand_unix.o: ../../include/openssl/symhacks.h ../cryptlib.h rand_lcl.h
168160814Ssimonrand_unix.o: rand_unix.c
169160814Ssimonrand_win.o: ../../e_os.h ../../include/openssl/asn1.h
170160814Ssimonrand_win.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
171160814Ssimonrand_win.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
172142425Snectarrand_win.o: ../../include/openssl/err.h ../../include/openssl/evp.h
173194206Ssimonrand_win.o: ../../include/openssl/fips.h ../../include/openssl/lhash.h
174194206Ssimonrand_win.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
175194206Ssimonrand_win.o: ../../include/openssl/opensslconf.h
176142425Snectarrand_win.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
177160814Ssimonrand_win.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
178160814Ssimonrand_win.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
179160814Ssimonrand_win.o: ../../include/openssl/symhacks.h ../cryptlib.h rand_lcl.h
180160814Ssimonrand_win.o: rand_win.c
181142425Snectarrandfile.o: ../../e_os.h ../../include/openssl/buffer.h
182142425Snectarrandfile.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
183142425Snectarrandfile.o: ../../include/openssl/opensslconf.h
184142425Snectarrandfile.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
185142425Snectarrandfile.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
186142425Snectarrandfile.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
187142425Snectarrandfile.o: randfile.c
188