2
0

Makefile.dist 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. #***************************************************************************
  2. # _ _ ____ _
  3. # Project ___| | | | _ \| |
  4. # / __| | | | |_) | |
  5. # | (__| |_| | _ <| |___
  6. # \___|\___/|_| \_\_____|
  7. #
  8. # Copyright (C) 1998 - 2022, 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. unix: all
  63. unix-ssl: ssl
  64. linux: all
  65. linux-ssl: ssl
  66. ca-bundle: scripts/mk-ca-bundle.pl
  67. @echo "generate a fresh ca-bundle.crt"
  68. @perl $< -b -l -u lib/ca-bundle.crt
  69. ca-firefox: lib/firefox-db2pem.sh
  70. @echo "generate a fresh ca-bundle.crt"
  71. ./lib/firefox-db2pem.sh lib/ca-bundle.crt