Makefile.dist 3.6 KB

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