2004-01-13 16:57:01 +08:00
|
|
|
#***************************************************************************
|
|
|
|
# _ _ ____ _
|
|
|
|
# Project ___| | | | _ \| |
|
|
|
|
# / __| | | | |_) | |
|
|
|
|
# | (__| |_| | _ <| |___
|
1999-12-29 22:20:26 +08:00
|
|
|
# \___|\___/|_| \_\_____|
|
|
|
|
#
|
2023-01-02 20:51:48 +08:00
|
|
|
# Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
1999-12-29 22:20:26 +08:00
|
|
|
#
|
2004-01-13 16:57:01 +08:00
|
|
|
# This software is licensed as described in the file COPYING, which
|
|
|
|
# you should have received as part of this distribution. The terms
|
2020-11-04 21:02:01 +08:00
|
|
|
# are also available at https://curl.se/docs/copyright.html.
|
1999-12-29 22:20:26 +08:00
|
|
|
#
|
2001-01-04 18:37:07 +08:00
|
|
|
# You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
|
|
|
# copies of the Software, and permit persons to whom the Software is
|
2004-01-13 16:57:01 +08:00
|
|
|
# furnished to do so, under the terms of the COPYING file.
|
1999-12-29 22:20:26 +08:00
|
|
|
#
|
2001-01-04 18:37:07 +08:00
|
|
|
# This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
|
|
|
# KIND, either express or implied.
|
1999-12-29 22:20:26 +08:00
|
|
|
#
|
2004-01-13 16:57:01 +08:00
|
|
|
# SPDX-License-Identifier: curl
|
2022-05-17 17:16:50 +08:00
|
|
|
#
|
2004-01-13 16:57:01 +08:00
|
|
|
###########################################################################
|
1999-12-29 22:20:26 +08:00
|
|
|
|
|
|
|
all:
|
2000-12-11 16:16:25 +08:00
|
|
|
./configure
|
1999-12-29 22:20:26 +08:00
|
|
|
make
|
|
|
|
|
|
|
|
ssl:
|
2021-04-14 00:11:43 +08:00
|
|
|
./configure --with-openssl
|
1999-12-29 22:20:26 +08:00
|
|
|
make
|
|
|
|
|
|
|
|
mingw32:
|
2022-11-22 16:25:05 +08:00
|
|
|
$(MAKE) -C lib -f Makefile.mk
|
|
|
|
$(MAKE) -C src -f Makefile.mk
|
2007-08-03 19:24:22 +08:00
|
|
|
|
2004-06-23 02:26:23 +08:00
|
|
|
mingw32-clean:
|
2022-11-22 16:25:05 +08:00
|
|
|
$(MAKE) -C lib -f Makefile.mk clean
|
|
|
|
$(MAKE) -C src -f Makefile.mk clean
|
|
|
|
$(MAKE) -C docs/examples -f Makefile.mk clean
|
2004-06-23 02:26:23 +08:00
|
|
|
|
2011-04-20 02:59:24 +08:00
|
|
|
mingw32-vclean mingw32-distclean:
|
2022-11-22 16:25:05 +08:00
|
|
|
$(MAKE) -C lib -f Makefile.mk vclean
|
|
|
|
$(MAKE) -C src -f Makefile.mk vclean
|
|
|
|
$(MAKE) -C docs/examples -f Makefile.mk vclean
|
2011-09-25 23:42:20 +08:00
|
|
|
|
|
|
|
mingw32-examples%:
|
2022-11-22 16:25:05 +08:00
|
|
|
$(MAKE) -C docs/examples -f Makefile.mk CFG=$@
|
2011-04-20 02:59:24 +08:00
|
|
|
|
|
|
|
mingw32%:
|
2022-11-22 16:25:05 +08:00
|
|
|
$(MAKE) -C lib -f Makefile.mk CFG=$@
|
|
|
|
$(MAKE) -C src -f Makefile.mk CFG=$@
|
2011-04-20 02:59:24 +08:00
|
|
|
|
2017-01-10 07:29:14 +08:00
|
|
|
vc:
|
|
|
|
cd winbuild
|
|
|
|
nmake /f Makefile.vc MACHINE=x86
|
2014-11-09 00:37:31 +08:00
|
|
|
|
2017-01-10 07:29:14 +08:00
|
|
|
vc-x64:
|
|
|
|
cd winbuild
|
|
|
|
nmake /f Makefile.vc MACHINE=x64
|
2003-10-22 19:26:58 +08:00
|
|
|
|
2022-11-22 16:25:05 +08:00
|
|
|
djgpp%:
|
|
|
|
$(MAKE) -C lib -f Makefile.mk CFG=$@ CROSSPREFIX=i586-pc-msdosdjgpp-
|
|
|
|
$(MAKE) -C src -f Makefile.mk CFG=$@ CROSSPREFIX=i586-pc-msdosdjgpp-
|
2003-05-21 16:08:48 +08:00
|
|
|
|
1999-12-29 22:20:26 +08:00
|
|
|
cygwin:
|
|
|
|
./configure
|
|
|
|
make
|
|
|
|
|
|
|
|
cygwin-ssl:
|
2021-04-14 00:11:43 +08:00
|
|
|
./configure --with-openssl
|
1999-12-29 22:20:26 +08:00
|
|
|
make
|
|
|
|
|
2022-11-22 16:25:05 +08:00
|
|
|
amiga%:
|
|
|
|
$(MAKE) -C lib -f Makefile.mk CFG=$@ CROSSPREFIX=m68k-amigaos-
|
|
|
|
$(MAKE) -C src -f Makefile.mk CFG=$@ CROSSPREFIX=m68k-amigaos-
|
2003-12-10 21:51:42 +08:00
|
|
|
|
1999-12-29 22:20:26 +08:00
|
|
|
unix: all
|
|
|
|
|
|
|
|
unix-ssl: ssl
|
|
|
|
|
|
|
|
linux: all
|
|
|
|
|
|
|
|
linux-ssl: ssl
|
2007-04-13 04:41:24 +08:00
|
|
|
|
2022-04-21 00:52:42 +08:00
|
|
|
ca-bundle: scripts/mk-ca-bundle.pl
|
2008-02-08 10:57:27 +08:00
|
|
|
@echo "generate a fresh ca-bundle.crt"
|
2008-02-10 09:32:43 +08:00
|
|
|
@perl $< -b -l -u lib/ca-bundle.crt
|
2008-02-08 10:57:27 +08:00
|
|
|
|
2008-08-29 04:08:37 +08:00
|
|
|
ca-firefox: lib/firefox-db2pem.sh
|
2008-08-24 06:02:41 +08:00
|
|
|
@echo "generate a fresh ca-bundle.crt"
|
|
|
|
./lib/firefox-db2pem.sh lib/ca-bundle.crt
|