Changeset 98013 in vbox
- Timestamp:
- Jan 6, 2023 6:53:06 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/libs/curl-7.83.1/Makefile.kmk
r96407 r98013 52 52 CURL_DISABLE_SMTP \ 53 53 CURL_DISABLE_TELNET 54 VBox-libcurl_DEPS = $(VBox-libcurl_0_OUTDIR)/lib/curl_config.h55 VBox-libcurl_CLEAN = $(VBox-libcurl_DEPS)56 54 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. 57 55 VBox-libcurl_CFLAGS.win += -wd4310 # warnless.c(189) : warning C4310: cast truncates constant value … … 60 58 VBox-libcurl_CFLAGS.win += -wd4774 # mprintf.c(949): warning C4774: 'sprintf' : format string expected in argument 2 is not a string literal 61 59 endif 62 VBox-libcurl_INCS = include $(VBox-libcurl_0_OUTDIR)/lib $(VBOX_PATH_LIBCURL)/lib 60 VBox-libcurl_INCS = \ 61 include \ 62 $(VBox-libcurl_0_OUTDIR)/lib \ 63 $(VBOX_PATH_LIBCURL)/lib 63 64 VBox-libcurl_SOURCES = \ 64 65 lib/base64.c \ … … 147 148 lib/version_win32.c 148 149 150 # Use checked in config.h instead of running ./configure for it. 151 VBox-libcurl_DEPS = $(VBox-libcurl_0_OUTDIR)/lib/curl_config.h 152 VBox-libcurl_CLEAN = $(VBox-libcurl_DEPS) 153 $$(VBox-libcurl_0_OUTDIR)/lib/curl_config.h: $(VBOX_PATH_LIBCURL)/config.h.$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH) | $$(dir $$@) 154 $(INSTALL_STAGING) -- "$^" "$@" 155 149 156 ifdef VBOX_WITH_32_ON_64_MAIN_API # 32-bit edition. 150 157 LIBRARIES += VBox-libcurl-x86 151 158 VBox-libcurl-x86_TEMPLATE = VBoxR3DllNonPedantic-x86 152 VBox-libcurl-x86_EXTENDS = VBox-libcurl 159 VBox-libcurl-x86_EXTENDS = VBox-libcurl 160 VBox-libcurl-x86_INCS = \ 161 include \ 162 $(VBox-libcurl-x86_0_OUTDIR)/lib \ 163 $(VBOX_PATH_LIBCURL)/lib 164 VBox-libcurl-x86_DEPS = $(VBox-libcurl-x86_0_OUTDIR)/lib/curl_config.h 165 VBox-libcurl-x86_CLEAN = $(VBox-libcurl-x86_DEPS) 166 $$(VBox-libcurl-x86_0_OUTDIR)/lib/curl_config.h: $(VBOX_PATH_LIBCURL)/config.h.$(KBUILD_TARGET).x86 | $$(dir $$@) 167 $(INSTALL_STAGING) -- "$^" "$@" 168 153 169 endif 154 170 155 171 include $(FILE_KBUILD_SUB_FOOTER) 156 172 157 #158 # Use checked in config.h instead of running ./configure for it.159 #160 libcurl_config.h.$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH) := $(VBOX_PATH_LIBCURL)/config.h.$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)161 173 162 $$(VBox-libcurl_0_OUTDIR)/lib/curl_config.h: $(libcurl_config.h.$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)) | $$(dir $$@)163 $(CP) -f $^ $@164
Note:
See TracChangeset
for help on using the changeset viewer.