Makefile.dist 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  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. all:
  25. ./configure
  26. make
  27. ssl:
  28. ./configure --with-openssl
  29. make
  30. mingw32:
  31. $(MAKE) -C lib -f Makefile.mk
  32. $(MAKE) -C src -f Makefile.mk
  33. mingw32-clean:
  34. $(MAKE) -C lib -f Makefile.mk clean
  35. $(MAKE) -C src -f Makefile.mk clean
  36. $(MAKE) -C docs/examples -f Makefile.mk clean
  37. mingw32-vclean mingw32-distclean:
  38. $(MAKE) -C lib -f Makefile.mk vclean
  39. $(MAKE) -C src -f Makefile.mk vclean
  40. $(MAKE) -C docs/examples -f Makefile.mk vclean
  41. mingw32-examples%:
  42. $(MAKE) -C docs/examples -f Makefile.mk CFG=$@
  43. mingw32%:
  44. $(MAKE) -C lib -f Makefile.mk CFG=$@
  45. $(MAKE) -C src -f Makefile.mk 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.mk CFG=$@ CROSSPREFIX=i586-pc-msdosdjgpp-
  54. $(MAKE) -C src -f Makefile.mk CFG=$@ CROSSPREFIX=i586-pc-msdosdjgpp-
  55. cygwin:
  56. ./configure
  57. make
  58. cygwin-ssl:
  59. ./configure --with-openssl
  60. make
  61. amiga%:
  62. $(MAKE) -C lib -f Makefile.mk CFG=$@ CROSSPREFIX=m68k-amigaos-
  63. $(MAKE) -C src -f Makefile.mk CFG=$@ CROSSPREFIX=m68k-amigaos-
  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