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