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