Makefile.ssl 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. #
  2. # SSLeay/crypto/rand/Makefile
  3. #
  4. DIR= rand
  5. TOP= ../..
  6. CC= cc
  7. INCLUDES=
  8. CFLAG=-g
  9. INSTALL_PREFIX=
  10. OPENSSLDIR= /usr/local/ssl
  11. INSTALLTOP=/usr/local/ssl
  12. MAKE= make -f Makefile.ssl
  13. MAKEDEPPROG= makedepend
  14. MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG)
  15. MAKEFILE= Makefile.ssl
  16. AR= ar r
  17. CFLAGS= $(INCLUDES) $(CFLAG)
  18. GENERAL=Makefile
  19. TEST= randtest.c
  20. APPS=
  21. LIB=$(TOP)/libcrypto.a
  22. LIBSRC=md_rand.c randfile.c rand_lib.c rand_err.c rand_egd.c \
  23. rand_win.c rand_unix.c rand_os2.c
  24. LIBOBJ=md_rand.o randfile.o rand_lib.o rand_err.o rand_egd.o \
  25. rand_win.o rand_unix.o rand_os2.o
  26. SRC= $(LIBSRC)
  27. EXHEADER= rand.h
  28. HEADER= $(EXHEADER)
  29. ALL= $(GENERAL) $(SRC) $(HEADER)
  30. top:
  31. (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
  32. all: lib
  33. lib: $(LIBOBJ)
  34. $(AR) $(LIB) $(LIBOBJ)
  35. $(RANLIB) $(LIB) || echo Never mind.
  36. @touch lib
  37. files:
  38. $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
  39. links:
  40. @$(TOP)/util/point.sh Makefile.ssl Makefile
  41. @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
  42. @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
  43. @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
  44. install:
  45. @for i in $(EXHEADER) ; \
  46. do \
  47. (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
  48. chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
  49. done;
  50. tags:
  51. ctags $(SRC)
  52. tests:
  53. lint:
  54. lint -DLINT $(INCLUDES) $(SRC)>fluff
  55. depend:
  56. $(MAKEDEPEND) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC)
  57. dclean:
  58. $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
  59. mv -f Makefile.new $(MAKEFILE)
  60. clean:
  61. rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
  62. # DO NOT DELETE THIS LINE -- make depend depends on it.
  63. md_rand.o: ../../e_os.h ../../include/openssl/asn1.h
  64. md_rand.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
  65. md_rand.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
  66. md_rand.o: ../../include/openssl/err.h ../../include/openssl/evp.h
  67. md_rand.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
  68. md_rand.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
  69. md_rand.o: ../../include/openssl/opensslv.h ../../include/openssl/rand.h
  70. md_rand.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
  71. md_rand.o: ../../include/openssl/symhacks.h ../../include/openssl/types.h
  72. md_rand.o: md_rand.c rand_lcl.h
  73. rand_egd.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
  74. rand_egd.o: ../../include/openssl/rand.h rand_egd.c
  75. rand_err.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h
  76. rand_err.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
  77. rand_err.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
  78. rand_err.o: ../../include/openssl/opensslv.h ../../include/openssl/rand.h
  79. rand_err.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
  80. rand_err.o: ../../include/openssl/symhacks.h rand_err.c
  81. rand_lib.o: ../../e_os.h ../../include/openssl/asn1.h
  82. rand_lib.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
  83. rand_lib.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
  84. rand_lib.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
  85. rand_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h
  86. rand_lib.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
  87. rand_lib.o: ../../include/openssl/opensslconf.h
  88. rand_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/rand.h
  89. rand_lib.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
  90. rand_lib.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
  91. rand_lib.o: ../../include/openssl/types.h ../../include/openssl/ui.h
  92. rand_lib.o: ../cryptlib.h rand_lib.c
  93. rand_os2.o: ../../e_os.h ../../include/openssl/asn1.h
  94. rand_os2.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
  95. rand_os2.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
  96. rand_os2.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
  97. rand_os2.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
  98. rand_os2.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
  99. rand_os2.o: ../../include/openssl/opensslconf.h
  100. rand_os2.o: ../../include/openssl/opensslv.h ../../include/openssl/rand.h
  101. rand_os2.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
  102. rand_os2.o: ../../include/openssl/symhacks.h ../../include/openssl/types.h
  103. rand_os2.o: ../cryptlib.h rand_lcl.h rand_os2.c
  104. rand_unix.o: ../../e_os.h ../../include/openssl/asn1.h
  105. rand_unix.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
  106. rand_unix.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
  107. rand_unix.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
  108. rand_unix.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
  109. rand_unix.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
  110. rand_unix.o: ../../include/openssl/opensslconf.h
  111. rand_unix.o: ../../include/openssl/opensslv.h ../../include/openssl/rand.h
  112. rand_unix.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
  113. rand_unix.o: ../../include/openssl/symhacks.h ../../include/openssl/types.h
  114. rand_unix.o: ../cryptlib.h rand_lcl.h rand_unix.c
  115. rand_win.o: ../../e_os.h ../../include/openssl/asn1.h
  116. rand_win.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
  117. rand_win.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
  118. rand_win.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
  119. rand_win.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
  120. rand_win.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
  121. rand_win.o: ../../include/openssl/opensslconf.h
  122. rand_win.o: ../../include/openssl/opensslv.h ../../include/openssl/rand.h
  123. rand_win.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
  124. rand_win.o: ../../include/openssl/symhacks.h ../../include/openssl/types.h
  125. rand_win.o: ../cryptlib.h rand_lcl.h rand_win.c
  126. randfile.o: ../../e_os.h ../../include/openssl/crypto.h
  127. randfile.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
  128. randfile.o: ../../include/openssl/opensslv.h ../../include/openssl/rand.h
  129. randfile.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
  130. randfile.o: ../../include/openssl/symhacks.h randfile.c