1 #*************************************************************************** 2 # _ _ ____ _ 3 # Project ___| | | | _ \| | 4 # / __| | | | |_) | | 5 # | (__| |_| | _ <| |___ 6 # \___|\___/|_| \_\_____| 7 # 8 # Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel (a] 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.haxx.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 24 SUBDIRS = scripts 25 26 CERTCONFIGS = \ 27 EdelCurlRoot-ca.prm \ 28 EdelCurlRoot-ca.cnf \ 29 Server-localhost-sv.prm \ 30 Server-localhost.nn-sv.prm \ 31 Server-localhost0h-sv.prm 32 33 GENERATEDCERTS = \ 34 EdelCurlRoot-ca.cacert \ 35 EdelCurlRoot-ca.crt \ 36 EdelCurlRoot-ca.csr \ 37 EdelCurlRoot-ca.der \ 38 EdelCurlRoot-ca.key \ 39 Server-localhost-sv.crl \ 40 Server-localhost-sv.crt \ 41 Server-localhost-sv.csr \ 42 Server-localhost-sv.der \ 43 Server-localhost-sv.dhp \ 44 Server-localhost-sv.key \ 45 Server-localhost-sv.pem \ 46 Server-localhost-sv.pub.der \ 47 Server-localhost-sv.pub.pem \ 48 Server-localhost.nn-sv.crl \ 49 Server-localhost.nn-sv.crt \ 50 Server-localhost.nn-sv.csr \ 51 Server-localhost.nn-sv.der \ 52 Server-localhost.nn-sv.dhp \ 53 Server-localhost.nn-sv.key \ 54 Server-localhost.nn-sv.pem \ 55 Server-localhost.nn-sv.pub.der \ 56 Server-localhost.nn-sv.pub.pem \ 57 Server-localhost0h-sv.crl \ 58 Server-localhost0h-sv.crt \ 59 Server-localhost0h-sv.csr \ 60 Server-localhost0h-sv.der \ 61 Server-localhost0h-sv.dhp \ 62 Server-localhost0h-sv.key \ 63 Server-localhost0h-sv.pem \ 64 Server-localhost0h-sv.pub.der \ 65 Server-localhost0h-sv.pub.pem \ 66 Server-localhost-firstSAN-sv.crl \ 67 Server-localhost-firstSAN-sv.crt \ 68 Server-localhost-firstSAN-sv.csr \ 69 Server-localhost-firstSAN-sv.der \ 70 Server-localhost-firstSAN-sv.dhp \ 71 Server-localhost-firstSAN-sv.key \ 72 Server-localhost-firstSAN-sv.pem \ 73 Server-localhost-firstSAN-sv.pub.der \ 74 Server-localhost-firstSAN-sv.pub.pem \ 75 Server-localhost-lastSAN-sv.crl \ 76 Server-localhost-lastSAN-sv.crt \ 77 Server-localhost-lastSAN-sv.csr \ 78 Server-localhost-lastSAN-sv.der \ 79 Server-localhost-lastSAN-sv.dhp \ 80 Server-localhost-lastSAN-sv.key \ 81 Server-localhost-lastSAN-sv.pem \ 82 Server-localhost-lastSAN-sv.pub.der \ 83 Server-localhost-lastSAN-sv.pub.pem 84 85 SRPFILES = \ 86 srp-verifier-conf \ 87 srp-verifier-db 88 89 EXTRA_DIST = $(CERTCONFIGS) $(GENERATEDCERTS) $(SRPFILES) 90 91 # Rebuild the certificates 92 93 clean-certs: 94 cd $(srcdir); rm -f $(GENERATEDCERTS) 95 96 build-certs: $(srcdir)/EdelCurlRoot-ca.cacert $(srcdir)/Server-localhost-sv.pem \ 97 $(srcdir)/Server-localhost.nn-sv.pem $(srcdir)/Server-localhost0h-sv.pem \ 98 $(srcdir)/Server-localhost-firstSAN-sv.pem $(srcdir)/Server-localhost-lastSAN-sv.pem 99 100 $(srcdir)/EdelCurlRoot-ca.cacert: 101 cd $(srcdir); scripts/genroot.sh EdelCurlRoot 102 103 $(srcdir)/Server-localhost-sv.pem: $(srcdir)/EdelCurlRoot-ca.cacert 104 cd $(srcdir); scripts/genserv.sh Server-localhost EdelCurlRoot 105 106 $(srcdir)/Server-localhost.nn-sv.pem: $(srcdir)/EdelCurlRoot-ca.cacert 107 cd $(srcdir); scripts/genserv.sh Server-localhost.nn EdelCurlRoot 108 109 $(srcdir)/Server-localhost0h-sv.pem: $(srcdir)/EdelCurlRoot-ca.cacert 110 cd $(srcdir); scripts/genserv.sh Server-localhost0h EdelCurlRoot 111 112 $(srcdir)/Server-localhost-firstSAN-sv.pem: $(srcdir)/EdelCurlRoot-ca.cacert 113 cd $(srcdir); scripts/genserv.sh Server-localhost-firstSAN EdelCurlRoot 114 115 $(srcdir)/Server-localhost-lastSAN-sv.pem: $(srcdir)/EdelCurlRoot-ca.cacert 116 cd $(srcdir); scripts/genserv.sh Server-localhost-firstSAN EdelCurlRoot 117