Makefile.dist 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. #***************************************************************************
  2. # _ _ ____ _
  3. # Project ___| | | | _ \| |
  4. # / __| | | | |_) | |
  5. # | (__| |_| | _ <| |___
  6. # \___|\___/|_| \_\_____|
  7. #
  8. # Copyright (C) 1998 - 2021, 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. all:
  23. ./configure
  24. make
  25. ssl:
  26. ./configure --with-openssl
  27. make
  28. mingw32:
  29. $(MAKE) -C lib -f Makefile.m32
  30. $(MAKE) -C src -f Makefile.m32
  31. mingw32-clean:
  32. $(MAKE) -C lib -f Makefile.m32 clean
  33. $(MAKE) -C src -f Makefile.m32 clean
  34. $(MAKE) -C docs/examples -f Makefile.m32 clean
  35. mingw32-vclean mingw32-distclean:
  36. $(MAKE) -C lib -f Makefile.m32 vclean
  37. $(MAKE) -C src -f Makefile.m32 vclean
  38. $(MAKE) -C docs/examples -f Makefile.m32 vclean
  39. mingw32-examples%:
  40. $(MAKE) -C docs/examples -f Makefile.m32 CFG=$@
  41. mingw32%:
  42. $(MAKE) -C lib -f Makefile.m32 CFG=$@
  43. $(MAKE) -C src -f Makefile.m32 CFG=$@
  44. vc:
  45. cd winbuild
  46. nmake /f Makefile.vc MACHINE=x86
  47. vc-x64:
  48. cd winbuild
  49. nmake /f Makefile.vc MACHINE=x64
  50. djgpp:
  51. $(MAKE) -C lib -f Makefile.dj
  52. $(MAKE) -C src -f Makefile.dj
  53. cygwin:
  54. ./configure
  55. make
  56. cygwin-ssl:
  57. ./configure --with-openssl
  58. make
  59. amiga:
  60. cd ./lib && make -f makefile.amiga
  61. cd ./src && make -f makefile.amiga
  62. netware:
  63. $(MAKE) -C lib -f Makefile.netware
  64. $(MAKE) -C src -f Makefile.netware
  65. netware-clean:
  66. $(MAKE) -C lib -f Makefile.netware clean
  67. $(MAKE) -C src -f Makefile.netware clean
  68. $(MAKE) -C docs/examples -f Makefile.netware clean
  69. netware-vclean netware-distclean:
  70. $(MAKE) -C lib -f Makefile.netware vclean
  71. $(MAKE) -C src -f Makefile.netware vclean
  72. $(MAKE) -C docs/examples -f Makefile.netware vclean
  73. netware-install:
  74. $(MAKE) -C lib -f Makefile.netware install
  75. $(MAKE) -C src -f Makefile.netware install
  76. netware-examples-%:
  77. $(MAKE) -C docs/examples -f Makefile.netware CFG=$@
  78. netware-%:
  79. $(MAKE) -C lib -f Makefile.netware CFG=$@
  80. $(MAKE) -C src -f Makefile.netware CFG=$@
  81. unix: all
  82. unix-ssl: ssl
  83. linux: all
  84. linux-ssl: ssl
  85. ca-bundle: lib/mk-ca-bundle.pl
  86. @echo "generate a fresh ca-bundle.crt"
  87. @perl $< -b -l -u lib/ca-bundle.crt
  88. ca-firefox: lib/firefox-db2pem.sh
  89. @echo "generate a fresh ca-bundle.crt"
  90. ./lib/firefox-db2pem.sh lib/ca-bundle.crt