1 # 2 # OpenSSL/crypto/rand/Makefile 3 # 4 5 DIR= rand 6 TOP= ../.. 7 CC= cc 8 INCLUDES= 9 CFLAG=-g 10 MAKEFILE= Makefile 11 AR= ar r 12 13 CFLAGS= $(INCLUDES) $(CFLAG) 14 15 GENERAL=Makefile 16 TEST= randtest.c 17 APPS= 18 19 LIB=$(TOP)/libcrypto.a 20 LIBSRC=md_rand.c randfile.c rand_lib.c rand_eng.c rand_err.c rand_egd.c \ 21 rand_win.c rand_unix.c rand_os2.c rand_nw.c 22 LIBOBJ=md_rand.o randfile.o rand_lib.o rand_eng.o rand_err.o rand_egd.o \ 23 rand_win.o rand_unix.o rand_os2.o rand_nw.o 24 25 SRC= $(LIBSRC) 26 27 EXHEADER= rand.h 28 HEADER= $(EXHEADER) 29 30 ALL= $(GENERAL) $(SRC) $(HEADER) 31 32 top: 33 (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all) 34 35 all: lib 36 37 lib: $(LIBOBJ) 38 $(ARX) $(LIB) $(LIBOBJ) 39 $(RANLIB) $(LIB) || echo Never mind. 40 @touch lib 41 42 files: 43 $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO 44 45 links: 46 @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) 47 @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) 48 @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) 49 50 install: 51 @[ -n "$(INSTALLTOP)" ] # should be set by top Makefile... 52 @headerlist="$(EXHEADER)"; for i in $$headerlist ; \ 53 do \ 54 (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ 55 chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ 56 done; 57 58 tags: 59 ctags $(SRC) 60 61 tests: 62 63 lint: 64 lint -DLINT $(INCLUDES) $(SRC)>fluff 65 66 depend: 67 @[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile... 68 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) 69 70 dclean: 71 $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new 72 mv -f Makefile.new $(MAKEFILE) 73 74 clean: 75 rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff 76 77 # DO NOT DELETE THIS LINE -- make depend depends on it. 78 79 md_rand.o: ../../e_os.h ../../include/openssl/asn1.h 80 md_rand.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h 81 md_rand.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h 82 md_rand.o: ../../include/openssl/evp.h ../../include/openssl/fips.h 83 md_rand.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h 84 md_rand.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h 85 md_rand.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h 86 md_rand.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h 87 md_rand.o: ../../include/openssl/sha.h ../../include/openssl/stack.h 88 md_rand.o: ../../include/openssl/symhacks.h md_rand.c rand_lcl.h 89 rand_egd.o: ../../include/openssl/buffer.h ../../include/openssl/e_os2.h 90 rand_egd.o: ../../include/openssl/opensslconf.h 91 rand_egd.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h 92 rand_egd.o: rand_egd.c 93 rand_eng.o: ../../e_os.h ../../include/openssl/asn1.h 94 rand_eng.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h 95 rand_eng.o: ../../include/openssl/crypto.h ../../include/openssl/des.h 96 rand_eng.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h 97 rand_eng.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h 98 rand_eng.o: ../../include/openssl/ecdsa.h ../../include/openssl/engine.h 99 rand_eng.o: ../../include/openssl/err.h ../../include/openssl/evp.h 100 rand_eng.o: ../../include/openssl/fips.h ../../include/openssl/fips_rand.h 101 rand_eng.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h 102 rand_eng.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h 103 rand_eng.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h 104 rand_eng.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h 105 rand_eng.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h 106 rand_eng.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h 107 rand_eng.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h 108 rand_eng.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h 109 rand_eng.o: ../cryptlib.h rand_eng.c rand_lcl.h 110 rand_err.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h 111 rand_err.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h 112 rand_err.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h 113 rand_err.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h 114 rand_err.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h 115 rand_err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h 116 rand_err.o: rand_err.c 117 rand_lib.o: ../../e_os.h ../../include/openssl/asn1.h 118 rand_lib.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h 119 rand_lib.o: ../../include/openssl/crypto.h ../../include/openssl/des.h 120 rand_lib.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h 121 rand_lib.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h 122 rand_lib.o: ../../include/openssl/ecdsa.h ../../include/openssl/engine.h 123 rand_lib.o: ../../include/openssl/err.h ../../include/openssl/evp.h 124 rand_lib.o: ../../include/openssl/fips.h ../../include/openssl/fips_rand.h 125 rand_lib.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h 126 rand_lib.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h 127 rand_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h 128 rand_lib.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h 129 rand_lib.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h 130 rand_lib.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h 131 rand_lib.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h 132 rand_lib.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h 133 rand_lib.o: ../cryptlib.h rand_lcl.h rand_lib.c 134 rand_nw.o: ../../e_os.h ../../include/openssl/asn1.h 135 rand_nw.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h 136 rand_nw.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h 137 rand_nw.o: ../../include/openssl/err.h ../../include/openssl/evp.h 138 rand_nw.o: ../../include/openssl/fips.h ../../include/openssl/lhash.h 139 rand_nw.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h 140 rand_nw.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h 141 rand_nw.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h 142 rand_nw.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h 143 rand_nw.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h 144 rand_nw.o: ../cryptlib.h rand_lcl.h rand_nw.c 145 rand_os2.o: ../../e_os.h ../../include/openssl/asn1.h 146 rand_os2.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h 147 rand_os2.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h 148 rand_os2.o: ../../include/openssl/err.h ../../include/openssl/evp.h 149 rand_os2.o: ../../include/openssl/fips.h ../../include/openssl/lhash.h 150 rand_os2.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h 151 rand_os2.o: ../../include/openssl/opensslconf.h 152 rand_os2.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h 153 rand_os2.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h 154 rand_os2.o: ../../include/openssl/sha.h ../../include/openssl/stack.h 155 rand_os2.o: ../../include/openssl/symhacks.h ../cryptlib.h rand_lcl.h 156 rand_os2.o: rand_os2.c 157 rand_unix.o: ../../e_os.h ../../include/openssl/asn1.h 158 rand_unix.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h 159 rand_unix.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h 160 rand_unix.o: ../../include/openssl/err.h ../../include/openssl/evp.h 161 rand_unix.o: ../../include/openssl/fips.h ../../include/openssl/lhash.h 162 rand_unix.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h 163 rand_unix.o: ../../include/openssl/opensslconf.h 164 rand_unix.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h 165 rand_unix.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h 166 rand_unix.o: ../../include/openssl/sha.h ../../include/openssl/stack.h 167 rand_unix.o: ../../include/openssl/symhacks.h ../cryptlib.h rand_lcl.h 168 rand_unix.o: rand_unix.c 169 rand_win.o: ../../e_os.h ../../include/openssl/asn1.h 170 rand_win.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h 171 rand_win.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h 172 rand_win.o: ../../include/openssl/err.h ../../include/openssl/evp.h 173 rand_win.o: ../../include/openssl/fips.h ../../include/openssl/lhash.h 174 rand_win.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h 175 rand_win.o: ../../include/openssl/opensslconf.h 176 rand_win.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h 177 rand_win.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h 178 rand_win.o: ../../include/openssl/sha.h ../../include/openssl/stack.h 179 rand_win.o: ../../include/openssl/symhacks.h ../cryptlib.h rand_lcl.h 180 rand_win.o: rand_win.c 181 randfile.o: ../../e_os.h ../../include/openssl/buffer.h 182 randfile.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h 183 randfile.o: ../../include/openssl/opensslconf.h 184 randfile.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h 185 randfile.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h 186 randfile.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h 187 randfile.o: randfile.c 188