Makefile.am 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. #***************************************************************************
  2. # _ _ ____ _
  3. # Project ___| | | | _ \| |
  4. # / __| | | | |_) | |
  5. # | (__| |_| | _ <| |___
  6. # \___|\___/|_| \_\_____|
  7. #
  8. # Copyright (C) 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. # SPDX-License-Identifier: curl
  22. #
  23. ###########################################################################
  24. AUTOMAKE_OPTIONS = foreign
  25. SUBDIRS = scripts
  26. include Makefile.inc
  27. EXTRA_DIST = $(CERTCONFIGS) $(GENERATEDCERTS) $(SRPFILES) CMakeLists.txt
  28. # Rebuild the certificates
  29. clean-certs:
  30. cd $(srcdir); rm -f $(GENERATEDCERTS)
  31. build-certs: $(srcdir)/EdelCurlRoot-ca.cacert $(srcdir)/Server-localhost-sv.pem \
  32. $(srcdir)/Server-localhost.nn-sv.pem $(srcdir)/Server-localhost0h-sv.pem \
  33. $(srcdir)/Server-localhost-firstSAN-sv.pem $(srcdir)/Server-localhost-lastSAN-sv.pem \
  34. $(srcdir)/stunnel-sv.pem $(srcdir)/../stunnel.pem
  35. $(srcdir)/EdelCurlRoot-ca.cacert:
  36. cd $(srcdir); scripts/genroot.sh EdelCurlRoot
  37. $(srcdir)/Server-localhost-sv.pem: $(srcdir)/EdelCurlRoot-ca.cacert
  38. cd $(srcdir); scripts/genserv.sh Server-localhost EdelCurlRoot
  39. $(srcdir)/Server-localhost.nn-sv.pem: $(srcdir)/EdelCurlRoot-ca.cacert
  40. cd $(srcdir); scripts/genserv.sh Server-localhost.nn EdelCurlRoot
  41. $(srcdir)/Server-localhost0h-sv.pem: $(srcdir)/EdelCurlRoot-ca.cacert
  42. cd $(srcdir); scripts/genserv.sh Server-localhost0h EdelCurlRoot
  43. $(srcdir)/Server-localhost-firstSAN-sv.pem: $(srcdir)/EdelCurlRoot-ca.cacert
  44. cd $(srcdir); scripts/genserv.sh Server-localhost-firstSAN EdelCurlRoot
  45. $(srcdir)/Server-localhost-lastSAN-sv.pem: $(srcdir)/EdelCurlRoot-ca.cacert
  46. cd $(srcdir); scripts/genserv.sh Server-localhost-lastSAN EdelCurlRoot
  47. $(srcdir)/stunnel-sv.pem: $(srcdir)/EdelCurlRoot-ca.cacert
  48. cd $(srcdir); scripts/genserv.sh stunnel EdelCurlRoot
  49. $(srcdir)/../stunnel.pem: $(srcdir)/stunnel-sv.pem
  50. cp $< $@