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