Makefile 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  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_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_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. $(AR) $(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. update: depend
  50. depend:
  51. @[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile...
  52. $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
  53. dclean:
  54. $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
  55. mv -f Makefile.new $(MAKEFILE)
  56. clean:
  57. rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
  58. # DO NOT DELETE THIS LINE -- make depend depends on it.
  59. md_rand.o: ../../e_os.h ../../include/openssl/asn1.h
  60. md_rand.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h
  61. md_rand.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
  62. md_rand.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
  63. md_rand.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
  64. md_rand.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
  65. md_rand.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h
  66. md_rand.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
  67. md_rand.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
  68. md_rand.o: md_rand.c rand_lcl.h
  69. rand_egd.o: ../../include/openssl/buffer.h ../../include/openssl/e_os2.h
  70. rand_egd.o: ../../include/openssl/opensslconf.h
  71. rand_egd.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h
  72. rand_egd.o: rand_egd.c
  73. rand_err.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h
  74. rand_err.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
  75. rand_err.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
  76. rand_err.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
  77. rand_err.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
  78. rand_err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
  79. rand_err.o: rand_err.c
  80. rand_lib.o: ../../e_os.h ../../include/openssl/asn1.h
  81. rand_lib.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
  82. rand_lib.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
  83. rand_lib.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
  84. rand_lib.o: ../../include/openssl/ecdsa.h ../../include/openssl/engine.h
  85. rand_lib.o: ../../include/openssl/err.h ../../include/openssl/evp.h
  86. rand_lib.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
  87. rand_lib.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
  88. rand_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
  89. rand_lib.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h
  90. rand_lib.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
  91. rand_lib.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
  92. rand_lib.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
  93. rand_lib.o: ../cryptlib.h rand_lib.c
  94. rand_nw.o: ../../e_os.h ../../include/openssl/asn1.h
  95. rand_nw.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
  96. rand_nw.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
  97. rand_nw.o: ../../include/openssl/err.h ../../include/openssl/evp.h
  98. rand_nw.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
  99. rand_nw.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
  100. rand_nw.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
  101. rand_nw.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
  102. rand_nw.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
  103. rand_nw.o: ../../include/openssl/symhacks.h ../cryptlib.h rand_lcl.h rand_nw.c
  104. rand_os2.o: ../../e_os.h ../../include/openssl/asn1.h
  105. rand_os2.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
  106. rand_os2.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
  107. rand_os2.o: ../../include/openssl/err.h ../../include/openssl/evp.h
  108. rand_os2.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
  109. rand_os2.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
  110. rand_os2.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
  111. rand_os2.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
  112. rand_os2.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
  113. rand_os2.o: ../../include/openssl/symhacks.h ../cryptlib.h rand_lcl.h
  114. rand_os2.o: rand_os2.c
  115. rand_unix.o: ../../e_os.h ../../include/openssl/asn1.h
  116. rand_unix.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
  117. rand_unix.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
  118. rand_unix.o: ../../include/openssl/err.h ../../include/openssl/evp.h
  119. rand_unix.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
  120. rand_unix.o: ../../include/openssl/objects.h
  121. rand_unix.o: ../../include/openssl/opensslconf.h
  122. rand_unix.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
  123. rand_unix.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
  124. rand_unix.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
  125. rand_unix.o: ../../include/openssl/symhacks.h ../cryptlib.h rand_lcl.h
  126. rand_unix.o: rand_unix.c
  127. rand_win.o: ../../e_os.h ../../include/openssl/asn1.h
  128. rand_win.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
  129. rand_win.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
  130. rand_win.o: ../../include/openssl/err.h ../../include/openssl/evp.h
  131. rand_win.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
  132. rand_win.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
  133. rand_win.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
  134. rand_win.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
  135. rand_win.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
  136. rand_win.o: ../../include/openssl/symhacks.h ../cryptlib.h rand_lcl.h
  137. rand_win.o: rand_win.c
  138. randfile.o: ../../e_os.h ../../include/openssl/buffer.h
  139. randfile.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
  140. randfile.o: ../../include/openssl/opensslconf.h
  141. randfile.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
  142. randfile.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
  143. randfile.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
  144. randfile.o: randfile.c