Makefile.am 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. #***************************************************************************
  2. # _ _ ____ _
  3. # Project ___| | | | _ \| |
  4. # / __| | | | |_) | |
  5. # | (__| |_| | _ <| |___
  6. # \___|\___/|_| \_\_____|
  7. #
  8. # Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
  9. #
  10. # This software is licensed as described in the file COPYING, which
  11. # you should have received as part of this distribution. The terms
  12. # are also available at https://curl.se/docs/copyright.html.
  13. #
  14. # You may opt to use, copy, modify, merge, publish, distribute and/or sell
  15. # copies of the Software, and permit persons to whom the Software is
  16. # furnished to do so, under the terms of the COPYING file.
  17. #
  18. # This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
  19. # KIND, either express or implied.
  20. #
  21. ###########################################################################
  22. AUTOMAKE_OPTIONS = foreign
  23. SUBDIRS = scripts
  24. CERTCONFIGS = \
  25. EdelCurlRoot-ca.prm \
  26. EdelCurlRoot-ca.cnf \
  27. Server-localhost-sv.prm \
  28. Server-localhost.nn-sv.prm \
  29. Server-localhost0h-sv.prm
  30. GENERATEDCERTS = \
  31. EdelCurlRoot-ca.cacert \
  32. EdelCurlRoot-ca.crt \
  33. EdelCurlRoot-ca.csr \
  34. EdelCurlRoot-ca.der \
  35. EdelCurlRoot-ca.key \
  36. Server-localhost-sv.crl \
  37. Server-localhost-sv.crt \
  38. Server-localhost-sv.csr \
  39. Server-localhost-sv.der \
  40. Server-localhost-sv.dhp \
  41. Server-localhost-sv.key \
  42. Server-localhost-sv.pem \
  43. Server-localhost-sv.pub.der \
  44. Server-localhost-sv.pub.pem \
  45. Server-localhost.nn-sv.crl \
  46. Server-localhost.nn-sv.crt \
  47. Server-localhost.nn-sv.csr \
  48. Server-localhost.nn-sv.der \
  49. Server-localhost.nn-sv.dhp \
  50. Server-localhost.nn-sv.key \
  51. Server-localhost.nn-sv.pem \
  52. Server-localhost.nn-sv.pub.der \
  53. Server-localhost.nn-sv.pub.pem \
  54. Server-localhost0h-sv.crl \
  55. Server-localhost0h-sv.crt \
  56. Server-localhost0h-sv.csr \
  57. Server-localhost0h-sv.der \
  58. Server-localhost0h-sv.dhp \
  59. Server-localhost0h-sv.key \
  60. Server-localhost0h-sv.pem \
  61. Server-localhost0h-sv.pub.der \
  62. Server-localhost0h-sv.pub.pem \
  63. Server-localhost-firstSAN-sv.crl \
  64. Server-localhost-firstSAN-sv.crt \
  65. Server-localhost-firstSAN-sv.csr \
  66. Server-localhost-firstSAN-sv.der \
  67. Server-localhost-firstSAN-sv.dhp \
  68. Server-localhost-firstSAN-sv.key \
  69. Server-localhost-firstSAN-sv.pem \
  70. Server-localhost-firstSAN-sv.pub.der \
  71. Server-localhost-firstSAN-sv.pub.pem \
  72. Server-localhost-lastSAN-sv.crl \
  73. Server-localhost-lastSAN-sv.crt \
  74. Server-localhost-lastSAN-sv.csr \
  75. Server-localhost-lastSAN-sv.der \
  76. Server-localhost-lastSAN-sv.dhp \
  77. Server-localhost-lastSAN-sv.key \
  78. Server-localhost-lastSAN-sv.pem \
  79. Server-localhost-lastSAN-sv.pub.der \
  80. Server-localhost-lastSAN-sv.pub.pem
  81. SRPFILES = \
  82. srp-verifier-conf \
  83. srp-verifier-db
  84. EXTRA_DIST = $(CERTCONFIGS) $(GENERATEDCERTS) $(SRPFILES)
  85. # Rebuild the certificates
  86. clean-certs:
  87. cd $(srcdir); rm -f $(GENERATEDCERTS)
  88. build-certs: $(srcdir)/EdelCurlRoot-ca.cacert $(srcdir)/Server-localhost-sv.pem \
  89. $(srcdir)/Server-localhost.nn-sv.pem $(srcdir)/Server-localhost0h-sv.pem \
  90. $(srcdir)/Server-localhost-firstSAN-sv.pem $(srcdir)/Server-localhost-lastSAN-sv.pem
  91. $(srcdir)/EdelCurlRoot-ca.cacert:
  92. cd $(srcdir); scripts/genroot.sh EdelCurlRoot
  93. $(srcdir)/Server-localhost-sv.pem: $(srcdir)/EdelCurlRoot-ca.cacert
  94. cd $(srcdir); scripts/genserv.sh Server-localhost EdelCurlRoot
  95. $(srcdir)/Server-localhost.nn-sv.pem: $(srcdir)/EdelCurlRoot-ca.cacert
  96. cd $(srcdir); scripts/genserv.sh Server-localhost.nn EdelCurlRoot
  97. $(srcdir)/Server-localhost0h-sv.pem: $(srcdir)/EdelCurlRoot-ca.cacert
  98. cd $(srcdir); scripts/genserv.sh Server-localhost0h EdelCurlRoot
  99. $(srcdir)/Server-localhost-firstSAN-sv.pem: $(srcdir)/EdelCurlRoot-ca.cacert
  100. cd $(srcdir); scripts/genserv.sh Server-localhost-firstSAN EdelCurlRoot
  101. $(srcdir)/Server-localhost-lastSAN-sv.pem: $(srcdir)/EdelCurlRoot-ca.cacert
  102. cd $(srcdir); scripts/genserv.sh Server-localhost-firstSAN EdelCurlRoot