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 20238405SjkimLIBSRC=md_rand.c randfile.c rand_lib.c rand_err.c rand_egd.c \ 21160814Ssimon rand_win.c rand_unix.c rand_os2.c rand_nw.c 22238405SjkimLIBOBJ=md_rand.o randfile.o rand_lib.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) 38238405Sjkim $(AR) $(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 66284283Sjkimupdate: depend 67284283Sjkim 68142425Snectardepend: 69160814Ssimon @[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile... 70142425Snectar $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) 71142425Snectar 72142425Snectardclean: 73142425Snectar $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new 74142425Snectar mv -f Makefile.new $(MAKEFILE) 75142425Snectar 76142425Snectarclean: 77142425Snectar rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff 78142425Snectar 79142425Snectar# DO NOT DELETE THIS LINE -- make depend depends on it. 80142425Snectar 81160814Ssimonmd_rand.o: ../../e_os.h ../../include/openssl/asn1.h 82160814Ssimonmd_rand.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h 83142425Snectarmd_rand.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h 84238405Sjkimmd_rand.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h 85238405Sjkimmd_rand.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h 86238405Sjkimmd_rand.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h 87238405Sjkimmd_rand.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h 88238405Sjkimmd_rand.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h 89238405Sjkimmd_rand.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h 90238405Sjkimmd_rand.o: md_rand.c rand_lcl.h 91142425Snectarrand_egd.o: ../../include/openssl/buffer.h ../../include/openssl/e_os2.h 92142425Snectarrand_egd.o: ../../include/openssl/opensslconf.h 93142425Snectarrand_egd.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h 94142425Snectarrand_egd.o: rand_egd.c 95142425Snectarrand_err.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h 96142425Snectarrand_err.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h 97142425Snectarrand_err.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h 98142425Snectarrand_err.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h 99142425Snectarrand_err.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h 100142425Snectarrand_err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h 101142425Snectarrand_err.o: rand_err.c 102194206Ssimonrand_lib.o: ../../e_os.h ../../include/openssl/asn1.h 103194206Ssimonrand_lib.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h 104238405Sjkimrand_lib.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h 105194206Ssimonrand_lib.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h 106194206Ssimonrand_lib.o: ../../include/openssl/ecdsa.h ../../include/openssl/engine.h 107194206Ssimonrand_lib.o: ../../include/openssl/err.h ../../include/openssl/evp.h 108194206Ssimonrand_lib.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h 109194206Ssimonrand_lib.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h 110142425Snectarrand_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h 111194206Ssimonrand_lib.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h 112194206Ssimonrand_lib.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h 113160814Ssimonrand_lib.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h 114194206Ssimonrand_lib.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h 115238405Sjkimrand_lib.o: ../cryptlib.h rand_lib.c 116160814Ssimonrand_nw.o: ../../e_os.h ../../include/openssl/asn1.h 117160814Ssimonrand_nw.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h 118160814Ssimonrand_nw.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h 119160814Ssimonrand_nw.o: ../../include/openssl/err.h ../../include/openssl/evp.h 120238405Sjkimrand_nw.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h 121238405Sjkimrand_nw.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h 122238405Sjkimrand_nw.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h 123238405Sjkimrand_nw.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h 124238405Sjkimrand_nw.o: ../../include/openssl/sha.h ../../include/openssl/stack.h 125238405Sjkimrand_nw.o: ../../include/openssl/symhacks.h ../cryptlib.h rand_lcl.h rand_nw.c 126160814Ssimonrand_os2.o: ../../e_os.h ../../include/openssl/asn1.h 127160814Ssimonrand_os2.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h 128160814Ssimonrand_os2.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h 129142425Snectarrand_os2.o: ../../include/openssl/err.h ../../include/openssl/evp.h 130238405Sjkimrand_os2.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h 131238405Sjkimrand_os2.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h 132142425Snectarrand_os2.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h 133160814Ssimonrand_os2.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h 134160814Ssimonrand_os2.o: ../../include/openssl/sha.h ../../include/openssl/stack.h 135160814Ssimonrand_os2.o: ../../include/openssl/symhacks.h ../cryptlib.h rand_lcl.h 136160814Ssimonrand_os2.o: rand_os2.c 137160814Ssimonrand_unix.o: ../../e_os.h ../../include/openssl/asn1.h 138160814Ssimonrand_unix.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h 139160814Ssimonrand_unix.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h 140142425Snectarrand_unix.o: ../../include/openssl/err.h ../../include/openssl/evp.h 141238405Sjkimrand_unix.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h 142238405Sjkimrand_unix.o: ../../include/openssl/objects.h 143142425Snectarrand_unix.o: ../../include/openssl/opensslconf.h 144142425Snectarrand_unix.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h 145160814Ssimonrand_unix.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h 146160814Ssimonrand_unix.o: ../../include/openssl/sha.h ../../include/openssl/stack.h 147160814Ssimonrand_unix.o: ../../include/openssl/symhacks.h ../cryptlib.h rand_lcl.h 148160814Ssimonrand_unix.o: rand_unix.c 149160814Ssimonrand_win.o: ../../e_os.h ../../include/openssl/asn1.h 150160814Ssimonrand_win.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h 151160814Ssimonrand_win.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h 152142425Snectarrand_win.o: ../../include/openssl/err.h ../../include/openssl/evp.h 153238405Sjkimrand_win.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h 154238405Sjkimrand_win.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h 155142425Snectarrand_win.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h 156160814Ssimonrand_win.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h 157160814Ssimonrand_win.o: ../../include/openssl/sha.h ../../include/openssl/stack.h 158160814Ssimonrand_win.o: ../../include/openssl/symhacks.h ../cryptlib.h rand_lcl.h 159160814Ssimonrand_win.o: rand_win.c 160340704Sjkimrandfile.o: ../../e_os.h ../../include/openssl/bio.h 161340704Sjkimrandfile.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h 162340704Sjkimrandfile.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h 163340704Sjkimrandfile.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h 164142425Snectarrandfile.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h 165142425Snectarrandfile.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h 166142425Snectarrandfile.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h 167340704Sjkimrandfile.o: ../cryptlib.h randfile.c 168