Makefile 8.8 KB

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