summaryrefslogtreecommitdiff
path: root/src/libs/curl-7.83.1/Makefile.kmk
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/curl-7.83.1/Makefile.kmk')
-rw-r--r--src/libs/curl-7.83.1/Makefile.kmk313
1 files changed, 164 insertions, 149 deletions
diff --git a/src/libs/curl-7.83.1/Makefile.kmk b/src/libs/curl-7.83.1/Makefile.kmk
index a017077bf4a..c8781b4184b 100644
--- a/src/libs/curl-7.83.1/Makefile.kmk
+++ b/src/libs/curl-7.83.1/Makefile.kmk
@@ -1,149 +1,164 @@
-# $Id: Makefile.kmk 118412 2017-10-17 14:26:02Z bird $
-## @file
-# Sub-Makefile for the libcurl library.
-#
-
-#
-# Copyright (C) 2009-2017 Oracle Corporation
-#
-# Oracle Corporation confidential
-# All rights reserved
-#
-
-SUB_DEPTH = ../../..
-include $(KBUILD_PATH)/subheader.kmk
-
-VBOX_PATH_LIBCURL = $(PATH_ROOT)/src/libs/curl-7.83.1
-
-LIBRARIES += VBox-libcurl
-VBox-libcurl_TEMPLATE = VBoxR3RuntimeDllNonPedantic
-VBox-libcurl_SDKS = VBOX_ZLIB VBOX_OPENSSL
-VBox-libcurl_DEFS = \
- IN_RT_R3 \
- CURL_STATICLIB \
- OPENSSL_NO_ENGINE \
- BUILDING_LIBCURL \
- HAVE_CONFIG_H \
- CURL_DISABLE_ALTSVC \
- CURL_DISABLE_GOPHER \
- CURL_DISABLE_FILE \
- CURL_DISABLE_DICT \
- CURL_DISABLE_HSTS \
- CURL_DISABLE_IMAP \
- CURL_DISABLE_MQTT \
- CURL_DISABLE_NTLM \
- CURL_DISABLE_POP3 \
- CURL_DISABLE_RTSP \
- CURL_DISABLE_SMTP \
- CURL_DISABLE_TELNET
-VBox-libcurl_DEPS = $(VBox-libcurl_0_OUTDIR)/lib/curl_config.h
-VBox-libcurl_CLEAN = $(VBox-libcurl_DEPS)
-VBox-libcurl_CFLAGS.win += -wd4826 # formdata.c(390) : warning C4826: Conversion from 'char *' to 'curl_off_t' is sign-extended. This may cause unexpected runtime behavior.
-VBox-libcurl_CFLAGS.win += -wd4310 # warnless.c(189) : warning C4310: cast truncates constant value
-VBox-libcurl_CFLAGS.win += -wd4090 # openssl/lhash.h(198) : warning C4090: 'function' : different 'const' qualifiers
-if "$(VBOX_VCC_TOOL_STEM)" >= "VCC140"
- VBox-libcurl_CFLAGS.win += -wd4774 # mprintf.c(949): warning C4774: 'sprintf' : format string expected in argument 2 is not a string literal
-endif
-VBox-libcurl_INCS = include $(VBox-libcurl_0_OUTDIR)/lib $(VBOX_PATH_LIBCURL)/lib
-VBox-libcurl_SOURCES = \
- lib/base64.c \
- lib/bufref.c \
- lib/conncache.c \
- lib/connect.c \
- lib/content_encoding.c \
- lib/cookie.c \
- lib/curl_addrinfo.c \
- lib/curl_ctype.c \
- lib/curl_get_line.c \
- lib/curl_fnmatch.c \
- lib/curl_memrchr.c \
- lib/curl_sasl.c \
- lib/curl_range.c \
- lib/doh.c \
- lib/dotdot.c \
- lib/dynbuf.c \
- lib/easy.c \
- lib/escape.c \
- lib/fileinfo.c \
- lib/formdata.c \
- lib/ftp.c \
- lib/ftplistparser.c \
- lib/getenv.c \
- lib/getinfo.c \
- lib/hash.c \
- lib/hmac.c \
- lib/hostip.c \
- lib/hostip4.c \
- lib/hostip6.c \
- lib/hostsyn.c \
- lib/http.c \
- lib/http_aws_sigv4.c \
- lib/http_chunks.c \
- lib/http_digest.c \
- lib/http_proxy.c \
- lib/if2ip.c \
- lib/inet_ntop.c \
- lib/inet_pton.c \
- lib/llist.c \
- lib/md5.c \
- lib/mime.c \
- lib/mprintf.c \
- lib/multi.c \
- lib/netrc.c \
- lib/nonblock.c \
- lib/parsedate.c \
- lib/pingpong.c \
- lib/progress.c \
- lib/rand.c \
- lib/rename.c \
- lib/select.c \
- lib/sendf.c \
- lib/setopt.c \
- lib/sha256.c \
- lib/share.c \
- lib/slist.c \
- lib/socketpair.c \
- lib/socks.c \
- lib/speedcheck.c \
- lib/splay.c \
- lib/strcase.c \
- lib/strdup.c \
- lib/strerror.c \
- lib/strtok.c \
- lib/strtoofft.c \
- lib/tftp.c \
- lib/timediff.c \
- lib/timeval.c \
- lib/transfer.c \
- lib/url.c \
- lib/urlapi.c \
- lib/vtls/openssl.c \
- lib/vtls/vtls.c \
- lib/warnless.c \
- lib/wildcard.c \
- lib/version.c \
- lib/vauth/digest.c \
- lib/vauth/vauth.c \
- lib/vtls/hostcheck.c \
- lib/vtls/keylog.c
-VBox-libcurl_SOURCES.win = \
- lib/curl_multibyte.c \
- lib/system_win32.c \
- lib/version_win32.c
-
-ifdef VBOX_WITH_32_ON_64_MAIN_API # 32-bit edition.
- LIBRARIES += VBox-libcurl-x86
- VBox-libcurl-x86_TEMPLATE = VBoxR3DllNonPedantic-x86
- VBox-libcurl-x86_EXTENDS = VBox-libcurl
-endif
-
-include $(FILE_KBUILD_SUB_FOOTER)
-
-#
-# Use checked in config.h instead of running ./configure for it.
-#
-libcurl_config.h.$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH) := $(VBOX_PATH_LIBCURL)/config.h.$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)
-
-$$(VBox-libcurl_0_OUTDIR)/lib/curl_config.h: $(libcurl_config.h.$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)) | $$(dir $$@)
- $(CP) -f $^ $@
-
+# $Id$
+## @file
+# Sub-Makefile for the libcurl library.
+#
+
+#
+# Copyright (C) 2009-2022 Oracle and/or its affiliates.
+#
+# This file is part of VirtualBox base platform packages, as
+# available from https://www.virtualbox.org.
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation, in version 3 of the
+# License.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, see <https://www.gnu.org/licenses>.
+#
+# SPDX-License-Identifier: GPL-3.0-only
+#
+
+SUB_DEPTH = ../../..
+include $(KBUILD_PATH)/subheader.kmk
+
+VBOX_PATH_LIBCURL = $(PATH_ROOT)/src/libs/curl-7.83.1
+
+LIBRARIES += VBox-libcurl
+VBox-libcurl_TEMPLATE = VBoxR3RuntimeDllNonPedantic
+VBox-libcurl_SDKS = VBOX_ZLIB VBOX_OPENSSL
+VBox-libcurl_DEFS = \
+ IN_RT_R3 \
+ CURL_STATICLIB \
+ OPENSSL_NO_ENGINE \
+ BUILDING_LIBCURL \
+ HAVE_CONFIG_H \
+ CURL_DISABLE_ALTSVC \
+ CURL_DISABLE_GOPHER \
+ CURL_DISABLE_FILE \
+ CURL_DISABLE_DICT \
+ CURL_DISABLE_HSTS \
+ CURL_DISABLE_IMAP \
+ CURL_DISABLE_MQTT \
+ CURL_DISABLE_NTLM \
+ CURL_DISABLE_POP3 \
+ CURL_DISABLE_RTSP \
+ CURL_DISABLE_SMTP \
+ CURL_DISABLE_TELNET
+VBox-libcurl_DEPS = $(VBox-libcurl_0_OUTDIR)/lib/curl_config.h
+VBox-libcurl_CLEAN = $(VBox-libcurl_DEPS)
+VBox-libcurl_CFLAGS.win += -wd4826 # formdata.c(390) : warning C4826: Conversion from 'char *' to 'curl_off_t' is sign-extended. This may cause unexpected runtime behavior.
+VBox-libcurl_CFLAGS.win += -wd4310 # warnless.c(189) : warning C4310: cast truncates constant value
+VBox-libcurl_CFLAGS.win += -wd4090 # openssl/lhash.h(198) : warning C4090: 'function' : different 'const' qualifiers
+if "$(VBOX_VCC_TOOL_STEM)" >= "VCC140"
+ VBox-libcurl_CFLAGS.win += -wd4774 # mprintf.c(949): warning C4774: 'sprintf' : format string expected in argument 2 is not a string literal
+endif
+VBox-libcurl_INCS = include $(VBox-libcurl_0_OUTDIR)/lib $(VBOX_PATH_LIBCURL)/lib
+VBox-libcurl_SOURCES = \
+ lib/base64.c \
+ lib/bufref.c \
+ lib/conncache.c \
+ lib/connect.c \
+ lib/content_encoding.c \
+ lib/cookie.c \
+ lib/curl_addrinfo.c \
+ lib/curl_ctype.c \
+ lib/curl_get_line.c \
+ lib/curl_fnmatch.c \
+ lib/curl_memrchr.c \
+ lib/curl_sasl.c \
+ lib/curl_range.c \
+ lib/doh.c \
+ lib/dotdot.c \
+ lib/dynbuf.c \
+ lib/easy.c \
+ lib/escape.c \
+ lib/fileinfo.c \
+ lib/formdata.c \
+ lib/ftp.c \
+ lib/ftplistparser.c \
+ lib/getenv.c \
+ lib/getinfo.c \
+ lib/hash.c \
+ lib/hmac.c \
+ lib/hostip.c \
+ lib/hostip4.c \
+ lib/hostip6.c \
+ lib/hostsyn.c \
+ lib/http.c \
+ lib/http_aws_sigv4.c \
+ lib/http_chunks.c \
+ lib/http_digest.c \
+ lib/http_proxy.c \
+ lib/if2ip.c \
+ lib/inet_ntop.c \
+ lib/inet_pton.c \
+ lib/llist.c \
+ lib/md5.c \
+ lib/mime.c \
+ lib/mprintf.c \
+ lib/multi.c \
+ lib/netrc.c \
+ lib/nonblock.c \
+ lib/parsedate.c \
+ lib/pingpong.c \
+ lib/progress.c \
+ lib/rand.c \
+ lib/rename.c \
+ lib/select.c \
+ lib/sendf.c \
+ lib/setopt.c \
+ lib/sha256.c \
+ lib/share.c \
+ lib/slist.c \
+ lib/socketpair.c \
+ lib/socks.c \
+ lib/speedcheck.c \
+ lib/splay.c \
+ lib/strcase.c \
+ lib/strdup.c \
+ lib/strerror.c \
+ lib/strtok.c \
+ lib/strtoofft.c \
+ lib/tftp.c \
+ lib/timediff.c \
+ lib/timeval.c \
+ lib/transfer.c \
+ lib/url.c \
+ lib/urlapi.c \
+ lib/vtls/openssl.c \
+ lib/vtls/vtls.c \
+ lib/warnless.c \
+ lib/wildcard.c \
+ lib/version.c \
+ lib/vauth/digest.c \
+ lib/vauth/vauth.c \
+ lib/vtls/hostcheck.c \
+ lib/vtls/keylog.c
+VBox-libcurl_SOURCES.win = \
+ lib/curl_multibyte.c \
+ lib/system_win32.c \
+ lib/version_win32.c
+
+ifdef VBOX_WITH_32_ON_64_MAIN_API # 32-bit edition.
+ LIBRARIES += VBox-libcurl-x86
+ VBox-libcurl-x86_TEMPLATE = VBoxR3DllNonPedantic-x86
+ VBox-libcurl-x86_EXTENDS = VBox-libcurl
+endif
+
+include $(FILE_KBUILD_SUB_FOOTER)
+
+#
+# Use checked in config.h instead of running ./configure for it.
+#
+libcurl_config.h.$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH) := $(VBOX_PATH_LIBCURL)/config.h.$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)
+
+$$(VBox-libcurl_0_OUTDIR)/lib/curl_config.h: $(libcurl_config.h.$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)) | $$(dir $$@)
+ $(CP) -f $^ $@
+