lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame] | 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 | |
| 23 | all: |
| 24 | ./configure |
| 25 | make |
| 26 | |
| 27 | ssl: |
| 28 | ./configure --with-ssl |
| 29 | make |
| 30 | |
| 31 | borland: |
| 32 | cd lib |
| 33 | $(MAKE) -f Makefile.b32 |
| 34 | cd ..\src |
| 35 | $(MAKE) -f Makefile.b32 |
| 36 | |
| 37 | borland-ssl: |
| 38 | cd lib |
| 39 | $(MAKE) -f Makefile.b32 WITH_SSL=1 |
| 40 | cd ..\src |
| 41 | $(MAKE) -f Makefile.b32 WITH_SSL=1 |
| 42 | |
| 43 | borland-ssl-zlib: |
| 44 | cd lib |
| 45 | $(MAKE) -f Makefile.b32 WITH_SSL=1 WITH_ZLIB=1 |
| 46 | cd ..\src |
| 47 | $(MAKE) -f Makefile.b32 WITH_SSL=1 WITH_ZLIB=1 |
| 48 | |
| 49 | borland-clean: |
| 50 | cd lib |
| 51 | $(MAKE) -f Makefile.b32 clean |
| 52 | cd ..\src |
| 53 | $(MAKE) -f Makefile.b32 clean |
| 54 | |
| 55 | watcom: .SYMBOLIC |
| 56 | cd lib && $(MAKE) -u -f Makefile.Watcom |
| 57 | cd src && $(MAKE) -u -f Makefile.Watcom |
| 58 | |
| 59 | watcom-clean: .SYMBOLIC |
| 60 | cd lib && $(MAKE) -u -f Makefile.Watcom clean |
| 61 | cd src && $(MAKE) -u -f Makefile.Watcom clean |
| 62 | |
| 63 | watcom-vclean: .SYMBOLIC |
| 64 | cd lib && $(MAKE) -u -f Makefile.Watcom vclean |
| 65 | cd src && $(MAKE) -u -f Makefile.Watcom vclean |
| 66 | |
| 67 | mingw32: |
| 68 | $(MAKE) -C lib -f Makefile.m32 |
| 69 | $(MAKE) -C src -f Makefile.m32 |
| 70 | |
| 71 | mingw32-clean: |
| 72 | $(MAKE) -C lib -f Makefile.m32 clean |
| 73 | $(MAKE) -C src -f Makefile.m32 clean |
| 74 | $(MAKE) -C docs/examples -f Makefile.m32 clean |
| 75 | |
| 76 | mingw32-vclean mingw32-distclean: |
| 77 | $(MAKE) -C lib -f Makefile.m32 vclean |
| 78 | $(MAKE) -C src -f Makefile.m32 vclean |
| 79 | $(MAKE) -C docs/examples -f Makefile.m32 vclean |
| 80 | |
| 81 | mingw32-examples%: |
| 82 | $(MAKE) -C docs/examples -f Makefile.m32 CFG=$@ |
| 83 | |
| 84 | mingw32%: |
| 85 | $(MAKE) -C lib -f Makefile.m32 CFG=$@ |
| 86 | $(MAKE) -C src -f Makefile.m32 CFG=$@ |
| 87 | |
| 88 | vc: |
| 89 | cd winbuild |
| 90 | nmake /f Makefile.vc MACHINE=x86 |
| 91 | |
| 92 | vc-x64: |
| 93 | cd winbuild |
| 94 | nmake /f Makefile.vc MACHINE=x64 |
| 95 | |
| 96 | djgpp: |
| 97 | $(MAKE) -C lib -f Makefile.dj |
| 98 | $(MAKE) -C src -f Makefile.dj |
| 99 | |
| 100 | cygwin: |
| 101 | ./configure |
| 102 | make |
| 103 | |
| 104 | cygwin-ssl: |
| 105 | ./configure --with-ssl |
| 106 | make |
| 107 | |
| 108 | amiga: |
| 109 | cd ./lib && make -f makefile.amiga |
| 110 | cd ./src && make -f makefile.amiga |
| 111 | |
| 112 | netware: |
| 113 | $(MAKE) -C lib -f Makefile.netware |
| 114 | $(MAKE) -C src -f Makefile.netware |
| 115 | |
| 116 | netware-clean: |
| 117 | $(MAKE) -C lib -f Makefile.netware clean |
| 118 | $(MAKE) -C src -f Makefile.netware clean |
| 119 | $(MAKE) -C docs/examples -f Makefile.netware clean |
| 120 | |
| 121 | netware-vclean netware-distclean: |
| 122 | $(MAKE) -C lib -f Makefile.netware vclean |
| 123 | $(MAKE) -C src -f Makefile.netware vclean |
| 124 | $(MAKE) -C docs/examples -f Makefile.netware vclean |
| 125 | |
| 126 | netware-install: |
| 127 | $(MAKE) -C lib -f Makefile.netware install |
| 128 | $(MAKE) -C src -f Makefile.netware install |
| 129 | |
| 130 | netware-examples-%: |
| 131 | $(MAKE) -C docs/examples -f Makefile.netware CFG=$@ |
| 132 | |
| 133 | netware-%: |
| 134 | $(MAKE) -C lib -f Makefile.netware CFG=$@ |
| 135 | $(MAKE) -C src -f Makefile.netware CFG=$@ |
| 136 | |
| 137 | unix: all |
| 138 | |
| 139 | unix-ssl: ssl |
| 140 | |
| 141 | linux: all |
| 142 | |
| 143 | linux-ssl: ssl |
| 144 | |
| 145 | ca-bundle: lib/mk-ca-bundle.pl |
| 146 | @echo "generate a fresh ca-bundle.crt" |
| 147 | @perl $< -b -l -u lib/ca-bundle.crt |
| 148 | |
| 149 | ca-firefox: lib/firefox-db2pem.sh |
| 150 | @echo "generate a fresh ca-bundle.crt" |
| 151 | ./lib/firefox-db2pem.sh lib/ca-bundle.crt |