Makefile.ssl 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. #
  2. # OpenSSL/crypto/store/Makefile
  3. #
  4. DIR= store
  5. TOP= ../..
  6. CC= cc
  7. INCLUDES= -I.. -I$(TOP) -I../../include
  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= storetest.c
  20. TEST=
  21. APPS=
  22. LIB=$(TOP)/libcrypto.a
  23. LIBSRC= str_err.c str_lib.c str_meth.c str_mem.c
  24. LIBOBJ= str_err.o str_lib.o str_meth.o str_mem.o
  25. SRC= $(LIBSRC)
  26. #EXHEADER= store.h str_compat.h
  27. EXHEADER= store.h
  28. HEADER= $(EXHEADER) str_locl.h
  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) -- $(CFLAG) $(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 */*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
  62. # DO NOT DELETE THIS LINE -- make depend depends on it.
  63. str_err.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
  64. str_err.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
  65. str_err.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h
  66. str_err.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
  67. str_err.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
  68. str_err.o: ../../include/openssl/ecdsa.h ../../include/openssl/err.h
  69. str_err.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
  70. str_err.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
  71. str_err.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
  72. str_err.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pkcs7.h
  73. str_err.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
  74. str_err.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
  75. str_err.o: ../../include/openssl/store.h ../../include/openssl/symhacks.h
  76. str_err.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
  77. str_err.o: str_err.c
  78. str_lib.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
  79. str_lib.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
  80. str_lib.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h
  81. str_lib.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
  82. str_lib.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
  83. str_lib.o: ../../include/openssl/ecdsa.h ../../include/openssl/engine.h
  84. str_lib.o: ../../include/openssl/err.h ../../include/openssl/evp.h
  85. str_lib.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
  86. str_lib.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
  87. str_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
  88. str_lib.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h
  89. str_lib.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
  90. str_lib.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
  91. str_lib.o: ../../include/openssl/store.h ../../include/openssl/symhacks.h
  92. str_lib.o: ../../include/openssl/ui.h ../../include/openssl/x509.h
  93. str_lib.o: ../../include/openssl/x509_vfy.h str_lib.c str_locl.h
  94. str_mem.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
  95. str_mem.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
  96. str_mem.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h
  97. str_mem.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
  98. str_mem.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
  99. str_mem.o: ../../include/openssl/ecdsa.h ../../include/openssl/err.h
  100. str_mem.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
  101. str_mem.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
  102. str_mem.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
  103. str_mem.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pkcs7.h
  104. str_mem.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
  105. str_mem.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
  106. str_mem.o: ../../include/openssl/store.h ../../include/openssl/symhacks.h
  107. str_mem.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
  108. str_mem.o: str_locl.h str_mem.c
  109. str_meth.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
  110. str_meth.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
  111. str_meth.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h
  112. str_meth.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
  113. str_meth.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
  114. str_meth.o: ../../include/openssl/ecdsa.h ../../include/openssl/evp.h
  115. str_meth.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
  116. str_meth.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
  117. str_meth.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
  118. str_meth.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h
  119. str_meth.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
  120. str_meth.o: ../../include/openssl/stack.h ../../include/openssl/store.h
  121. str_meth.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
  122. str_meth.o: ../../include/openssl/x509_vfy.h str_locl.h str_meth.c