Makefile.dist 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  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. # SPDX-License-Identifier: curl
  22. #
  23. ###########################################################################
  24. all:
  25. ./configure
  26. make
  27. ssl:
  28. ./configure --with-openssl
  29. make
  30. mingw32:
  31. $(MAKE) -C lib -f Makefile.m32
  32. $(MAKE) -C src -f Makefile.m32
  33. mingw32-clean:
  34. $(MAKE) -C lib -f Makefile.m32 clean
  35. $(MAKE) -C src -f Makefile.m32 clean
  36. $(MAKE) -C docs/examples -f Makefile.m32 clean
  37. mingw32-vclean mingw32-distclean:
  38. $(MAKE) -C lib -f Makefile.m32 vclean
  39. $(MAKE) -C src -f Makefile.m32 vclean
  40. $(MAKE) -C docs/examples -f Makefile.m32 vclean
  41. mingw32-examples%:
  42. $(MAKE) -C docs/examples -f Makefile.m32 CFG=$@
  43. mingw32%:
  44. $(MAKE) -C lib -f Makefile.m32 CFG=$@
  45. $(MAKE) -C src -f Makefile.m32 CFG=$@
  46. vc:
  47. cd winbuild
  48. nmake /f Makefile.vc MACHINE=x86
  49. vc-x64:
  50. cd winbuild
  51. nmake /f Makefile.vc MACHINE=x64
  52. djgpp:
  53. $(MAKE) -C lib -f Makefile.dj
  54. $(MAKE) -C src -f Makefile.dj
  55. cygwin:
  56. ./configure
  57. make
  58. cygwin-ssl:
  59. ./configure --with-openssl
  60. make
  61. amiga:
  62. cd ./lib && make -f makefile.amiga
  63. cd ./src && make -f makefile.amiga
  64. unix: all
  65. unix-ssl: ssl
  66. linux: all
  67. linux-ssl: ssl
  68. ca-bundle: scripts/mk-ca-bundle.pl
  69. @echo "generate a fresh ca-bundle.crt"
  70. @perl $< -b -l -u lib/ca-bundle.crt
  71. ca-firefox: lib/firefox-db2pem.sh
  72. @echo "generate a fresh ca-bundle.crt"
  73. ./lib/firefox-db2pem.sh lib/ca-bundle.crt