xref: /curl/Makefile.dist (revision ba8752e5)
1#***************************************************************************
2#                                  _   _ ____  _
3#  Project                     ___| | | |  _ \| |
4#                             / __| | | | |_) | |
5#                            | (__| |_| |  _ <| |___
6#                             \___|\___/|_| \_\_____|
7#
8# Copyright (C) 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
33vc:
34	cd winbuild
35	nmake /f Makefile.vc MACHINE=x86
36
37vc-x64:
38	cd winbuild
39	nmake /f Makefile.vc MACHINE=x64
40
41djgpp%:
42	$(MAKE) -C lib -f Makefile.mk CFG=$@ CROSSPREFIX=i586-pc-msdosdjgpp-
43	$(MAKE) -C src -f Makefile.mk CFG=$@ CROSSPREFIX=i586-pc-msdosdjgpp-
44
45cygwin:
46	./configure
47	make
48
49cygwin-ssl:
50	./configure --with-openssl
51	make
52
53amiga%:
54	$(MAKE) -C lib -f Makefile.mk CFG=$@ CROSSPREFIX=m68k-amigaos-
55	$(MAKE) -C src -f Makefile.mk CFG=$@ CROSSPREFIX=m68k-amigaos-
56
57unix: all
58
59unix-ssl: ssl
60
61linux: all
62
63linux-ssl: ssl
64
65ca-bundle: scripts/mk-ca-bundle.pl
66	@echo "generate a fresh ca-bundle.crt"
67	@perl $< -b -l -u lib/ca-bundle.crt
68
69ca-firefox: lib/firefox-db2pem.sh
70	@echo "generate a fresh ca-bundle.crt"
71	./lib/firefox-db2pem.sh lib/ca-bundle.crt
72