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