2
0

Makefile.dist 3.2 KB

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