Makefile.ssl 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. #
  2. # SSLeay/crypto/err/Makefile
  3. #
  4. DIR= err
  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=
  20. APPS=
  21. LIB=$(TOP)/libcrypto.a
  22. LIBSRC=err.c err_all.c err_prn.c
  23. LIBOBJ=err.o err_all.o err_prn.o
  24. SRC= $(LIBSRC)
  25. EXHEADER= err.h
  26. HEADER= $(EXHEADER)
  27. ALL= $(GENERAL) $(SRC) $(HEADER)
  28. top:
  29. (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
  30. all: lib
  31. lib: $(LIBOBJ)
  32. $(AR) $(LIB) $(LIBOBJ)
  33. $(RANLIB) $(LIB) || echo Never mind.
  34. @touch lib
  35. files:
  36. $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
  37. links:
  38. @sh $(TOP)/util/point.sh Makefile.ssl Makefile
  39. @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
  40. @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
  41. @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
  42. install:
  43. @for i in $(EXHEADER) ; \
  44. do \
  45. (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
  46. chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
  47. done;
  48. tags:
  49. ctags $(SRC)
  50. tests:
  51. lint:
  52. lint -DLINT $(INCLUDES) $(SRC)>fluff
  53. depend:
  54. $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
  55. dclean:
  56. $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
  57. mv -f Makefile.new $(MAKEFILE)
  58. clean:
  59. rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
  60. # DO NOT DELETE THIS LINE -- make depend depends on it.
  61. err.o: ../../e_os.h ../../include/openssl/bio.h ../../include/openssl/buffer.h
  62. err.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
  63. err.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
  64. err.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
  65. err.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
  66. err.o: ../../include/openssl/symhacks.h ../cryptlib.h err.c
  67. err_all.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
  68. err_all.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
  69. err_all.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
  70. err_all.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
  71. err_all.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h
  72. err_all.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
  73. err_all.o: ../../include/openssl/ecdsa.h ../../include/openssl/engine.h
  74. err_all.o: ../../include/openssl/err.h ../../include/openssl/evp.h
  75. err_all.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
  76. err_all.o: ../../include/openssl/objects.h ../../include/openssl/ocsp.h
  77. err_all.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
  78. err_all.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pem2.h
  79. err_all.o: ../../include/openssl/pkcs12.h ../../include/openssl/pkcs7.h
  80. err_all.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h
  81. err_all.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
  82. err_all.o: ../../include/openssl/stack.h ../../include/openssl/store.h
  83. err_all.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
  84. err_all.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
  85. err_all.o: ../../include/openssl/x509v3.h err_all.c
  86. err_prn.o: ../../e_os.h ../../include/openssl/bio.h
  87. err_prn.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
  88. err_prn.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
  89. err_prn.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
  90. err_prn.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
  91. err_prn.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
  92. err_prn.o: ../cryptlib.h err_prn.c