You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Makefile.dist 3.6KB

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