1#*************************************************************************** 2# _ _ ____ _ 3# Project ___| | | | _ \| | 4# / __| | | | |_) | | 5# | (__| |_| | _ <| |___ 6# \___|\___/|_| \_\_____| 7# 8# Copyright (C) 1998 - 2016, 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 23AUTOMAKE_OPTIONS = foreign 24 25ACLOCAL_AMFLAGS = -I m4 26 27CMAKE_DIST = CMakeLists.txt CMake/CMakeConfigurableFile.in \ 28 CMake/CurlTests.c CMake/FindGSS.cmake CMake/OtherTests.cmake \ 29 CMake/Platforms/WindowsCache.cmake CMake/Utilities.cmake \ 30 include/curl/curlbuild.h.cmake CMake/Macros.cmake \ 31 CMake/CurlSymbolHiding.cmake CMake/FindCARES.cmake \ 32 CMake/FindLibSSH2.cmake CMake/FindNGHTTP2.cmake 33 34 35VC6_LIBTMPL = projects/Windows/VC6/lib/libcurl.tmpl 36VC6_LIBDSP = projects/Windows/VC6/lib/libcurl.dsp.dist 37VC6_LIBDSP_DEPS = $(VC6_LIBTMPL) Makefile.am lib/Makefile.inc 38VC6_SRCTMPL = projects/Windows/VC6/src/curl.tmpl 39VC6_SRCDSP = projects/Windows/VC6/src/curl.dsp.dist 40VC6_SRCDSP_DEPS = $(VC6_SRCTMPL) Makefile.am src/Makefile.inc 41 42VC7_LIBTMPL = projects/Windows/VC7/lib/libcurl.tmpl 43VC7_LIBVCPROJ = projects/Windows/VC7/lib/libcurl.vcproj.dist 44VC7_LIBVCPROJ_DEPS = $(VC7_LIBTMPL) Makefile.am lib/Makefile.inc 45VC7_SRCTMPL = projects/Windows/VC7/src/curl.tmpl 46VC7_SRCVCPROJ = projects/Windows/VC7/src/curl.vcproj.dist 47VC7_SRCVCPROJ_DEPS = $(VC7_SRCTMPL) Makefile.am src/Makefile.inc 48 49VC71_LIBTMPL = projects/Windows/VC7.1/lib/libcurl.tmpl 50VC71_LIBVCPROJ = projects/Windows/VC7.1/lib/libcurl.vcproj.dist 51VC71_LIBVCPROJ_DEPS = $(VC71_LIBTMPL) Makefile.am lib/Makefile.inc 52VC71_SRCTMPL = projects/Windows/VC7.1/src/curl.tmpl 53VC71_SRCVCPROJ = projects/Windows/VC7.1/src/curl.vcproj.dist 54VC71_SRCVCPROJ_DEPS = $(VC71_SRCTMPL) Makefile.am src/Makefile.inc 55 56VC8_LIBTMPL = projects/Windows/VC8/lib/libcurl.tmpl 57VC8_LIBVCPROJ = projects/Windows/VC8/lib/libcurl.vcproj.dist 58VC8_LIBVCPROJ_DEPS = $(VC8_LIBTMPL) Makefile.am lib/Makefile.inc 59VC8_SRCTMPL = projects/Windows/VC8/src/curl.tmpl 60VC8_SRCVCPROJ = projects/Windows/VC8/src/curl.vcproj.dist 61VC8_SRCVCPROJ_DEPS = $(VC8_SRCTMPL) Makefile.am src/Makefile.inc 62 63VC9_LIBTMPL = projects/Windows/VC9/lib/libcurl.tmpl 64VC9_LIBVCPROJ = projects/Windows/VC9/lib/libcurl.vcproj.dist 65VC9_LIBVCPROJ_DEPS = $(VC9_LIBTMPL) Makefile.am lib/Makefile.inc 66VC9_SRCTMPL = projects/Windows/VC9/src/curl.tmpl 67VC9_SRCVCPROJ = projects/Windows/VC9/src/curl.vcproj.dist 68VC9_SRCVCPROJ_DEPS = $(VC9_SRCTMPL) Makefile.am src/Makefile.inc 69 70VC10_LIBTMPL = projects/Windows/VC10/lib/libcurl.tmpl 71VC10_LIBVCXPROJ = projects/Windows/VC10/lib/libcurl.vcxproj.dist 72VC10_LIBVCXPROJ_DEPS = $(VC10_LIBTMPL) Makefile.am lib/Makefile.inc 73VC10_SRCTMPL = projects/Windows/VC10/src/curl.tmpl 74VC10_SRCVCXPROJ = projects/Windows/VC10/src/curl.vcxproj.dist 75VC10_SRCVCXPROJ_DEPS = $(VC10_SRCTMPL) Makefile.am src/Makefile.inc 76 77VC11_LIBTMPL = projects/Windows/VC11/lib/libcurl.tmpl 78VC11_LIBVCXPROJ = projects/Windows/VC11/lib/libcurl.vcxproj.dist 79VC11_LIBVCXPROJ_DEPS = $(VC11_LIBTMPL) Makefile.am lib/Makefile.inc 80VC11_SRCTMPL = projects/Windows/VC11/src/curl.tmpl 81VC11_SRCVCXPROJ = projects/Windows/VC11/src/curl.vcxproj.dist 82VC11_SRCVCXPROJ_DEPS = $(VC11_SRCTMPL) Makefile.am src/Makefile.inc 83 84VC12_LIBTMPL = projects/Windows/VC12/lib/libcurl.tmpl 85VC12_LIBVCXPROJ = projects/Windows/VC12/lib/libcurl.vcxproj.dist 86VC12_LIBVCXPROJ_DEPS = $(VC12_LIBTMPL) Makefile.am lib/Makefile.inc 87VC12_SRCTMPL = projects/Windows/VC12/src/curl.tmpl 88VC12_SRCVCXPROJ = projects/Windows/VC12/src/curl.vcxproj.dist 89VC12_SRCVCXPROJ_DEPS = $(VC12_SRCTMPL) Makefile.am src/Makefile.inc 90 91VC14_LIBTMPL = projects/Windows/VC14/lib/libcurl.tmpl 92VC14_LIBVCXPROJ = projects/Windows/VC14/lib/libcurl.vcxproj.dist 93VC14_LIBVCXPROJ_DEPS = $(VC14_LIBTMPL) Makefile.am lib/Makefile.inc 94VC14_SRCTMPL = projects/Windows/VC14/src/curl.tmpl 95VC14_SRCVCXPROJ = projects/Windows/VC14/src/curl.vcxproj.dist 96VC14_SRCVCXPROJ_DEPS = $(VC14_SRCTMPL) Makefile.am src/Makefile.inc 97 98VC_DIST = projects/README \ 99 projects/build-openssl.bat \ 100 projects/build-wolfssl.bat \ 101 projects/checksrc.bat \ 102 projects/Windows/VC6/curl-all.dsw \ 103 projects/Windows/VC6/lib/libcurl.dsw \ 104 projects/Windows/VC6/src/curl.dsw \ 105 projects/Windows/VC7/curl-all.sln \ 106 projects/Windows/VC7/lib/libcurl.sln \ 107 projects/Windows/VC7/src/curl.sln \ 108 projects/Windows/VC7.1/curl-all.sln \ 109 projects/Windows/VC7.1/lib/libcurl.sln \ 110 projects/Windows/VC7.1/src/curl.sln \ 111 projects/Windows/VC8/curl-all.sln \ 112 projects/Windows/VC8/lib/libcurl.sln \ 113 projects/Windows/VC8/src/curl.sln \ 114 projects/Windows/VC9/curl-all.sln \ 115 projects/Windows/VC9/lib/libcurl.sln \ 116 projects/Windows/VC9/src/curl.sln \ 117 projects/Windows/VC10/curl-all.sln \ 118 projects/Windows/VC10/lib/libcurl.sln \ 119 projects/Windows/VC10/lib/libcurl.vcxproj.filters \ 120 projects/Windows/VC10/src/curl.sln \ 121 projects/Windows/VC10/src/curl.vcxproj.filters \ 122 projects/Windows/VC11/curl-all.sln \ 123 projects/Windows/VC11/lib/libcurl.sln \ 124 projects/Windows/VC11/lib/libcurl.vcxproj.filters \ 125 projects/Windows/VC11/src/curl.sln \ 126 projects/Windows/VC11/src/curl.vcxproj.filters \ 127 projects/Windows/VC12/curl-all.sln \ 128 projects/Windows/VC12/lib/libcurl.sln \ 129 projects/Windows/VC12/lib/libcurl.vcxproj.filters \ 130 projects/Windows/VC12/src/curl.sln \ 131 projects/Windows/VC12/src/curl.vcxproj.filters \ 132 projects/Windows/VC14/curl-all.sln \ 133 projects/Windows/VC14/lib/libcurl.sln \ 134 projects/Windows/VC14/lib/libcurl.vcxproj.filters \ 135 projects/Windows/VC14/src/curl.sln \ 136 projects/Windows/VC14/src/curl.vcxproj.filters 137 138WINBUILD_DIST = winbuild/BUILD.WINDOWS.txt winbuild/gen_resp_file.bat \ 139 winbuild/MakefileBuild.vc winbuild/Makefile.vc \ 140 winbuild/Makefile.msvc.names 141 142EXTRA_DIST = CHANGES COPYING maketgz Makefile.dist curl-config.in \ 143 RELEASE-NOTES buildconf libcurl.pc.in MacOSX-Framework scripts/zsh.pl \ 144 $(CMAKE_DIST) $(VC_DIST) $(WINBUILD_DIST) lib/libcurl.vers.in \ 145 buildconf.bat 146 147CLEANFILES = $(VC6_LIBDSP) $(VC6_SRCDSP) $(VC7_LIBVCPROJ) $(VC7_SRCVCPROJ) \ 148 $(VC71_LIBVCPROJ) $(VC71_SRCVCPROJ) $(VC8_LIBVCPROJ) $(VC8_SRCVCPROJ) \ 149 $(VC9_LIBVCPROJ) $(VC9_SRCVCPROJ) $(VC10_LIBVCXPROJ) $(VC10_SRCVCXPROJ) \ 150 $(VC11_LIBVCXPROJ) $(VC11_SRCVCXPROJ) $(VC12_LIBVCXPROJ) $(VC12_SRCVCXPROJ) \ 151 $(VC14_LIBVCXPROJ) $(VC14_SRCVCXPROJ) 152 153bin_SCRIPTS = curl-config 154 155SUBDIRS = lib src include 156DIST_SUBDIRS = $(SUBDIRS) tests packages docs scripts 157 158pkgconfigdir = $(libdir)/pkgconfig 159pkgconfig_DATA = libcurl.pc 160 161# List of files required to generate VC IDE .dsp, .vcproj and .vcxproj files 162include lib/Makefile.inc 163include src/Makefile.inc 164 165dist-hook: 166 rm -rf $(top_builddir)/tests/log 167 find $(distdir) -name "*.dist" -exec rm {} \; 168 (distit=`find $(srcdir) -name "*.dist" | grep -v ./ares/`; \ 169 for file in $$distit; do \ 170 strip=`echo $$file | sed -e s/^$(srcdir)// -e s/\.dist//`; \ 171 cp $$file $(distdir)$$strip; \ 172 done) 173 174html: 175 cd docs && make html 176 177pdf: 178 cd docs && make pdf 179 180check: test examples check-docs 181 182if CROSSCOMPILING 183test-full: test 184test-torture: test 185 186test: 187 @echo "NOTICE: we can't run the tests when cross-compiling!" 188 189else 190 191test: 192 @(cd tests; $(MAKE) all quiet-test) 193 194test-full: 195 @(cd tests; $(MAKE) all full-test) 196 197test-torture: 198 @(cd tests; $(MAKE) all torture-test) 199 200test-am: 201 @(cd tests; $(MAKE) all am-test) 202 203endif 204 205examples: 206 @(cd docs/examples; $(MAKE) check) 207 208check-docs: 209 @(cd docs/libcurl; $(MAKE) check) 210 211# This is a hook to have 'make clean' also clean up the docs and the tests 212# dir. The extra check for the Makefiles being present is necessary because 213# 'make distcheck' will make clean first in these directories _before_ it runs 214# this hook. 215clean-local: 216 @(if test -f tests/Makefile; then cd tests; $(MAKE) clean; fi) 217 @(if test -f docs/Makefile; then cd docs; $(MAKE) clean; fi) 218 219# 220# Build source and binary rpms. For rpm-3.0 and above, the ~/.rpmmacros 221# must contain the following line: 222# %_topdir /home/loic/local/rpm 223# and that /home/loic/local/rpm contains the directory SOURCES, BUILD etc. 224# 225# cd /home/loic/local/rpm ; mkdir -p SOURCES BUILD RPMS/i386 SPECS SRPMS 226# 227# If additional configure flags are needed to build the package, add the 228# following in ~/.rpmmacros 229# %configure CFLAGS="%{optflags}" ./configure %{_target_platform} --prefix=%{_prefix} ${AM_CONFIGFLAGS} 230# and run make rpm in the following way: 231# AM_CONFIGFLAGS='--with-uri=/home/users/loic/local/RedHat-6.2' make rpm 232# 233 234rpms: 235 $(MAKE) RPMDIST=curl rpm 236 $(MAKE) RPMDIST=curl-ssl rpm 237 238rpm: 239 RPM_TOPDIR=`rpm --showrc | $(PERL) -n -e 'print if(s/.*_topdir\s+(.*)/$$1/)'` ; \ 240 cp $(srcdir)/packages/Linux/RPM/$(RPMDIST).spec $$RPM_TOPDIR/SPECS ; \ 241 cp $(PACKAGE)-$(VERSION).tar.gz $$RPM_TOPDIR/SOURCES ; \ 242 rpm -ba --clean --rmsource $$RPM_TOPDIR/SPECS/$(RPMDIST).spec ; \ 243 mv $$RPM_TOPDIR/RPMS/i386/$(RPMDIST)-*.rpm . ; \ 244 mv $$RPM_TOPDIR/SRPMS/$(RPMDIST)-*.src.rpm . 245 246# 247# Build a Solaris pkgadd format file 248# run 'make pkgadd' once you've done './configure' and 'make' to make a Solaris pkgadd format 249# file (which ends up back in this directory). 250# The pkgadd file is in 'pkgtrans' format, so to install on Solaris, do 251# pkgadd -d ./HAXXcurl-* 252# 253 254# gak - libtool requires an absoulte directory, hence the pwd below... 255pkgadd: 256 umask 022 ; \ 257 make install DESTDIR=`/bin/pwd`/packages/Solaris/root ; \ 258 cat COPYING > $(srcdir)/packages/Solaris/copyright ; \ 259 cd $(srcdir)/packages/Solaris && $(MAKE) package 260 261# 262# Build a cygwin binary tarball installation file 263# resulting .tar.bz2 file will end up at packages/Win32/cygwin 264cygwinbin: 265 $(MAKE) -C packages/Win32/cygwin cygwinbin 266 267# We extend the standard install with a custom hook: 268install-data-hook: 269 cd include && $(MAKE) install 270 cd docs && $(MAKE) install 271 272# We extend the standard uninstall with a custom hook: 273uninstall-hook: 274 cd include && $(MAKE) uninstall 275 cd docs && $(MAKE) uninstall 276 277ca-bundle: lib/mk-ca-bundle.pl 278 @echo "generating a fresh ca-bundle.crt" 279 @perl $< -b -l -u lib/ca-bundle.crt 280 281ca-firefox: lib/firefox-db2pem.sh 282 @echo "generating a fresh ca-bundle.crt" 283 ./lib/firefox-db2pem.sh lib/ca-bundle.crt 284 285checksrc: 286 cd lib && $(MAKE) checksrc 287 cd src && $(MAKE) checksrc 288 cd tests && $(MAKE) checksrc 289 cd include/curl && $(MAKE) checksrc 290 cd docs/examples && $(MAKE) checksrc 291 292.PHONY: vc-ide 293 294vc-ide: $(VC6_LIBDSP_DEPS) $(VC6_SRCDSP_DEPS) $(VC7_LIBVCPROJ_DEPS) \ 295 $(VC7_SRCVCPROJ_DEPS) $(VC71_LIBVCPROJ_DEPS) $(VC71_SRCVCPROJ_DEPS) \ 296 $(VC8_LIBVCPROJ_DEPS) $(VC8_SRCVCPROJ_DEPS) $(VC9_LIBVCPROJ_DEPS) \ 297 $(VC9_SRCVCPROJ_DEPS) $(VC10_LIBVCXPROJ_DEPS) $(VC10_SRCVCXPROJ_DEPS) \ 298 $(VC11_LIBVCXPROJ_DEPS) $(VC11_SRCVCXPROJ_DEPS) $(VC12_LIBVCXPROJ_DEPS) \ 299 $(VC12_SRCVCXPROJ_DEPS) $(VC14_LIBVCXPROJ_DEPS) $(VC14_SRCVCXPROJ_DEPS) 300 @(win32_lib_srcs='$(LIB_CFILES)'; \ 301 win32_lib_hdrs='$(LIB_HFILES) config-win32.h'; \ 302 win32_lib_rc='$(LIB_RCFILES)'; \ 303 win32_lib_vauth_srcs='$(LIB_VAUTH_CFILES)'; \ 304 win32_lib_vauth_hdrs='$(LIB_VAUTH_HFILES)'; \ 305 win32_lib_vtls_srcs='$(LIB_VTLS_CFILES)'; \ 306 win32_lib_vtls_hdrs='$(LIB_VTLS_HFILES)'; \ 307 win32_src_srcs='$(CURL_CFILES)'; \ 308 win32_src_hdrs='$(CURL_HFILES)'; \ 309 win32_src_rc='$(CURL_RCFILES)'; \ 310 win32_src_x_srcs='$(CURLX_CFILES)'; \ 311 win32_src_x_hdrs='$(CURLX_HFILES) ../lib/config-win32.h'; \ 312 \ 313 sorted_lib_srcs=`for file in $$win32_lib_srcs; do echo $$file; done | sort`; \ 314 sorted_lib_hdrs=`for file in $$win32_lib_hdrs; do echo $$file; done | sort`; \ 315 sorted_lib_vauth_srcs=`for file in $$win32_lib_vauth_srcs; do echo $$file; done | sort`; \ 316 sorted_lib_vauth_hdrs=`for file in $$win32_lib_vauth_hdrs; do echo $$file; done | sort`; \ 317 sorted_lib_vtls_srcs=`for file in $$win32_lib_vtls_srcs; do echo $$file; done | sort`; \ 318 sorted_lib_vtls_hdrs=`for file in $$win32_lib_vtls_hdrs; do echo $$file; done | sort`; \ 319 sorted_src_srcs=`for file in $$win32_src_srcs; do echo $$file; done | sort`; \ 320 sorted_src_hdrs=`for file in $$win32_src_hdrs; do echo $$file; done | sort`; \ 321 sorted_src_x_srcs=`for file in $$win32_src_x_srcs; do echo $$file; done | sort`; \ 322 sorted_src_x_hdrs=`for file in $$win32_src_x_hdrs; do echo $$file; done | sort`; \ 323 \ 324 awk_code='\ 325function gen_element(type, dir, file)\ 326{\ 327 sub(/vauth\//, "", file);\ 328 sub(/vtls\//, "", file);\ 329\ 330 spaces=" ";\ 331 if(dir == "lib\\vauth" || dir == "lib\\vtls")\ 332 tabs=" ";\ 333 else\ 334 tabs=" ";\ 335\ 336 if(type == "dsp") {\ 337 printf("# Begin Source File\r\n");\ 338 printf("\r\n");\ 339 printf("SOURCE=..\\..\\..\\..\\%s\\%s\r\n", dir, file);\ 340 printf("# End Source File\r\n");\ 341 }\ 342 else if(type == "vcproj1") {\ 343 printf("%s<File\r\n", tabs);\ 344 printf("%s RelativePath=\"..\\..\\..\\..\\%s\\%s\">\r\n",\ 345 tabs, dir, file);\ 346 printf("%s</File>\r\n", tabs);\ 347 }\ 348 else if(type == "vcproj2") {\ 349 printf("%s<File\r\n", tabs);\ 350 printf("%s RelativePath=\"..\\..\\..\\..\\%s\\%s\"\r\n",\ 351 tabs, dir, file);\ 352 printf("%s>\r\n", tabs);\ 353 printf("%s</File>\r\n", tabs);\ 354 }\ 355 else if(type == "vcxproj") {\ 356 i = index(file, ".");\ 357 ext = substr(file, i == 0 ? 0 : i + 1);\ 358\ 359 if(ext == "c")\ 360 printf("%s<ClCompile Include=\"..\\..\\..\\..\\%s\\%s\" />\r\n",\ 361 spaces, dir, file);\ 362 else if(ext == "h")\ 363 printf("%s<ClInclude Include=\"..\\..\\..\\..\\%s\\%s\" />\r\n",\ 364 spaces, dir, file);\ 365 else if(ext == "rc")\ 366 printf("%s<ResourceCompile Include=\"..\\..\\..\\..\\%s\\%s\" />\r\n",\ 367 spaces, dir, file);\ 368 }\ 369}\ 370\ 371{\ 372\ 373 if($$0 == "CURL_LIB_C_FILES") {\ 374 split(lib_srcs, arr);\ 375 for(val in arr) gen_element(proj_type, "lib", arr[val]);\ 376 }\ 377 else if($$0 == "CURL_LIB_H_FILES") {\ 378 split(lib_hdrs, arr);\ 379 for(val in arr) gen_element(proj_type, "lib", arr[val]);\ 380 }\ 381 else if($$0 == "CURL_LIB_RC_FILES") {\ 382 split(lib_rc, arr);\ 383 for(val in arr) gen_element(proj_type, "lib", arr[val]);\ 384 }\ 385 else if($$0 == "CURL_LIB_VAUTH_C_FILES") {\ 386 split(lib_vauth_srcs, arr);\ 387 for(val in arr) gen_element(proj_type, "lib\\vauth", arr[val]);\ 388 }\ 389 else if($$0 == "CURL_LIB_VAUTH_H_FILES") {\ 390 split(lib_vauth_hdrs, arr);\ 391 for(val in arr) gen_element(proj_type, "lib\\vauth", arr[val]);\ 392 }\ 393 else if($$0 == "CURL_LIB_VTLS_C_FILES") {\ 394 split(lib_vtls_srcs, arr);\ 395 for(val in arr) gen_element(proj_type, "lib\\vtls", arr[val]);\ 396 }\ 397 else if($$0 == "CURL_LIB_VTLS_H_FILES") {\ 398 split(lib_vtls_hdrs, arr);\ 399 for(val in arr) gen_element(proj_type, "lib\\vtls", arr[val]);\ 400 }\ 401 else if($$0 == "CURL_SRC_C_FILES") {\ 402 split(src_srcs, arr);\ 403 for(val in arr) gen_element(proj_type, "src", arr[val]);\ 404 }\ 405 else if($$0 == "CURL_SRC_H_FILES") {\ 406 split(src_hdrs, arr);\ 407 for(val in arr) gen_element(proj_type, "src", arr[val]);\ 408 }\ 409 else if($$0 == "CURL_SRC_RC_FILES") {\ 410 split(src_rc, arr);\ 411 for(val in arr) gen_element(proj_type, "src", arr[val]);\ 412 }\ 413 else if($$0 == "CURL_SRC_X_C_FILES") {\ 414 split(src_x_srcs, arr);\ 415 for(val in arr) {\ 416 sub(/..\/lib\//, "", arr[val]);\ 417 gen_element(proj_type, "lib", arr[val]);\ 418 }\ 419 }\ 420 else if($$0 == "CURL_SRC_X_H_FILES") {\ 421 split(src_x_hdrs, arr);\ 422 for(val in arr) {\ 423 sub(/..\/lib\//, "", arr[val]);\ 424 gen_element(proj_type, "lib", arr[val]);\ 425 }\ 426 }\ 427 else\ 428 printf("%s\r\n", $$0);\ 429}';\ 430 \ 431 echo "generating '$(VC6_LIBDSP)'"; \ 432 awk -v proj_type=dsp \ 433 -v lib_srcs="$$sorted_lib_srcs" \ 434 -v lib_hdrs="$$sorted_lib_hdrs" \ 435 -v lib_rc="$$win32_lib_rc" \ 436 -v lib_vauth_srcs="$$sorted_lib_vauth_srcs" \ 437 -v lib_vauth_hdrs="$$sorted_lib_vauth_hdrs" \ 438 -v lib_vtls_srcs="$$sorted_lib_vtls_srcs" \ 439 -v lib_vtls_hdrs="$$sorted_lib_vtls_hdrs" \ 440 "$$awk_code" $(srcdir)/$(VC6_LIBTMPL) > $(VC6_LIBDSP) || { exit 1; }; \ 441 \ 442 echo "generating '$(VC6_SRCDSP)'"; \ 443 awk -v proj_type=dsp \ 444 -v src_srcs="$$sorted_src_srcs" \ 445 -v src_hdrs="$$sorted_src_hdrs" \ 446 -v src_rc="$$win32_src_rc" \ 447 -v src_x_srcs="$$sorted_src_x_srcs" \ 448 -v src_x_hdrs="$$sorted_src_x_hdrs" \ 449 "$$awk_code" $(srcdir)/$(VC6_SRCTMPL) > $(VC6_SRCDSP) || { exit 1; }; \ 450 \ 451 echo "generating '$(VC7_LIBVCPROJ)'"; \ 452 awk -v proj_type=vcproj1 \ 453 -v lib_srcs="$$sorted_lib_srcs" \ 454 -v lib_hdrs="$$sorted_lib_hdrs" \ 455 -v lib_rc="$$win32_lib_rc" \ 456 -v lib_vauth_srcs="$$sorted_lib_vauth_srcs" \ 457 -v lib_vauth_hdrs="$$sorted_lib_vauth_hdrs" \ 458 -v lib_vtls_srcs="$$sorted_lib_vtls_srcs" \ 459 -v lib_vtls_hdrs="$$sorted_lib_vtls_hdrs" \ 460 "$$awk_code" $(srcdir)/$(VC7_LIBTMPL) > $(VC7_LIBVCPROJ) || { exit 1; }; \ 461 \ 462 echo "generating '$(VC7_SRCVCPROJ)'"; \ 463 awk -v proj_type=vcproj1 \ 464 -v src_srcs="$$sorted_src_srcs" \ 465 -v src_hdrs="$$sorted_src_hdrs" \ 466 -v src_rc="$$win32_src_rc" \ 467 -v src_x_srcs="$$sorted_src_x_srcs" \ 468 -v src_x_hdrs="$$sorted_src_x_hdrs" \ 469 "$$awk_code" $(srcdir)/$(VC7_SRCTMPL) > $(VC7_SRCVCPROJ) || { exit 1; }; \ 470 \ 471 echo "generating '$(VC71_LIBVCPROJ)'"; \ 472 awk -v proj_type=vcproj1 \ 473 -v lib_srcs="$$sorted_lib_srcs" \ 474 -v lib_hdrs="$$sorted_lib_hdrs" \ 475 -v lib_rc="$$win32_lib_rc" \ 476 -v lib_vauth_srcs="$$sorted_lib_vauth_srcs" \ 477 -v lib_vauth_hdrs="$$sorted_lib_vauth_hdrs" \ 478 -v lib_vtls_srcs="$$sorted_lib_vtls_srcs" \ 479 -v lib_vtls_hdrs="$$sorted_lib_vtls_hdrs" \ 480 "$$awk_code" $(srcdir)/$(VC71_LIBTMPL) > $(VC71_LIBVCPROJ) || { exit 1; }; \ 481 \ 482 echo "generating '$(VC71_SRCVCPROJ)'"; \ 483 awk -v proj_type=vcproj1 \ 484 -v src_srcs="$$sorted_src_srcs" \ 485 -v src_hdrs="$$sorted_src_hdrs" \ 486 -v src_rc="$$win32_src_rc" \ 487 -v src_x_srcs="$$sorted_src_x_srcs" \ 488 -v src_x_hdrs="$$sorted_src_x_hdrs" \ 489 "$$awk_code" $(srcdir)/$(VC71_SRCTMPL) > $(VC71_SRCVCPROJ) || { exit 1; }; \ 490 \ 491 echo "generating '$(VC8_LIBVCPROJ)'"; \ 492 awk -v proj_type=vcproj2 \ 493 -v lib_srcs="$$sorted_lib_srcs" \ 494 -v lib_hdrs="$$sorted_lib_hdrs" \ 495 -v lib_rc="$$win32_lib_rc" \ 496 -v lib_vauth_srcs="$$sorted_lib_vauth_srcs" \ 497 -v lib_vauth_hdrs="$$sorted_lib_vauth_hdrs" \ 498 -v lib_vtls_srcs="$$sorted_lib_vtls_srcs" \ 499 -v lib_vtls_hdrs="$$sorted_lib_vtls_hdrs" \ 500 "$$awk_code" $(srcdir)/$(VC8_LIBTMPL) > $(VC8_LIBVCPROJ) || { exit 1; }; \ 501 \ 502 echo "generating '$(VC8_SRCVCPROJ)'"; \ 503 awk -v proj_type=vcproj2 \ 504 -v src_srcs="$$sorted_src_srcs" \ 505 -v src_hdrs="$$sorted_src_hdrs" \ 506 -v src_rc="$$win32_src_rc" \ 507 -v src_x_srcs="$$sorted_src_x_srcs" \ 508 -v src_x_hdrs="$$sorted_src_x_hdrs" \ 509 "$$awk_code" $(srcdir)/$(VC8_SRCTMPL) > $(VC8_SRCVCPROJ) || { exit 1; }; \ 510 \ 511 echo "generating '$(VC9_LIBVCPROJ)'"; \ 512 awk -v proj_type=vcproj2 \ 513 -v lib_srcs="$$sorted_lib_srcs" \ 514 -v lib_hdrs="$$sorted_lib_hdrs" \ 515 -v lib_rc="$$win32_lib_rc" \ 516 -v lib_vauth_srcs="$$sorted_lib_vauth_srcs" \ 517 -v lib_vauth_hdrs="$$sorted_lib_vauth_hdrs" \ 518 -v lib_vtls_srcs="$$sorted_lib_vtls_srcs" \ 519 -v lib_vtls_hdrs="$$sorted_lib_vtls_hdrs" \ 520 "$$awk_code" $(srcdir)/$(VC9_LIBTMPL) > $(VC9_LIBVCPROJ) || { exit 1; }; \ 521 \ 522 echo "generating '$(VC9_SRCVCPROJ)'"; \ 523 awk -v proj_type=vcproj2 \ 524 -v src_srcs="$$sorted_src_srcs" \ 525 -v src_hdrs="$$sorted_src_hdrs" \ 526 -v src_rc="$$win32_src_rc" \ 527 -v src_x_srcs="$$sorted_src_x_srcs" \ 528 -v src_x_hdrs="$$sorted_src_x_hdrs" \ 529 "$$awk_code" $(srcdir)/$(VC9_SRCTMPL) > $(VC9_SRCVCPROJ) || { exit 1; }; \ 530 \ 531 echo "generating '$(VC10_LIBVCXPROJ)'"; \ 532 awk -v proj_type=vcxproj \ 533 -v lib_srcs="$$sorted_lib_srcs" \ 534 -v lib_hdrs="$$sorted_lib_hdrs" \ 535 -v lib_rc="$$win32_lib_rc" \ 536 -v lib_vauth_srcs="$$sorted_lib_vauth_srcs" \ 537 -v lib_vauth_hdrs="$$sorted_lib_vauth_hdrs" \ 538 -v lib_vtls_srcs="$$sorted_lib_vtls_srcs" \ 539 -v lib_vtls_hdrs="$$sorted_lib_vtls_hdrs" \ 540 "$$awk_code" $(srcdir)/$(VC10_LIBTMPL) > $(VC10_LIBVCXPROJ) || { exit 1; }; \ 541 \ 542 echo "generating '$(VC10_SRCVCXPROJ)'"; \ 543 awk -v proj_type=vcxproj \ 544 -v src_srcs="$$sorted_src_srcs" \ 545 -v src_hdrs="$$sorted_src_hdrs" \ 546 -v src_rc="$$win32_src_rc" \ 547 -v src_x_srcs="$$sorted_src_x_srcs" \ 548 -v src_x_hdrs="$$sorted_src_x_hdrs" \ 549 "$$awk_code" $(srcdir)/$(VC10_SRCTMPL) > $(VC10_SRCVCXPROJ) || { exit 1; }; \ 550 \ 551 echo "generating '$(VC11_LIBVCXPROJ)'"; \ 552 awk -v proj_type=vcxproj \ 553 -v lib_srcs="$$sorted_lib_srcs" \ 554 -v lib_hdrs="$$sorted_lib_hdrs" \ 555 -v lib_rc="$$win32_lib_rc" \ 556 -v lib_vauth_srcs="$$sorted_lib_vauth_srcs" \ 557 -v lib_vauth_hdrs="$$sorted_lib_vauth_hdrs" \ 558 -v lib_vtls_srcs="$$sorted_lib_vtls_srcs" \ 559 -v lib_vtls_hdrs="$$sorted_lib_vtls_hdrs" \ 560 "$$awk_code" $(srcdir)/$(VC11_LIBTMPL) > $(VC11_LIBVCXPROJ) || { exit 1; }; \ 561 \ 562 echo "generating '$(VC11_SRCVCXPROJ)'"; \ 563 awk -v proj_type=vcxproj \ 564 -v src_srcs="$$sorted_src_srcs" \ 565 -v src_hdrs="$$sorted_src_hdrs" \ 566 -v src_rc="$$win32_src_rc" \ 567 -v src_x_srcs="$$sorted_src_x_srcs" \ 568 -v src_x_hdrs="$$sorted_src_x_hdrs" \ 569 "$$awk_code" $(srcdir)/$(VC11_SRCTMPL) > $(VC11_SRCVCXPROJ) || { exit 1; }; \ 570 \ 571 echo "generating '$(VC12_LIBVCXPROJ)'"; \ 572 awk -v proj_type=vcxproj \ 573 -v lib_srcs="$$sorted_lib_srcs" \ 574 -v lib_hdrs="$$sorted_lib_hdrs" \ 575 -v lib_rc="$$win32_lib_rc" \ 576 -v lib_vauth_srcs="$$sorted_lib_vauth_srcs" \ 577 -v lib_vauth_hdrs="$$sorted_lib_vauth_hdrs" \ 578 -v lib_vtls_srcs="$$sorted_lib_vtls_srcs" \ 579 -v lib_vtls_hdrs="$$sorted_lib_vtls_hdrs" \ 580 "$$awk_code" $(srcdir)/$(VC12_LIBTMPL) > $(VC12_LIBVCXPROJ) || { exit 1; }; \ 581 \ 582 echo "generating '$(VC12_SRCVCXPROJ)'"; \ 583 awk -v proj_type=vcxproj \ 584 -v src_srcs="$$sorted_src_srcs" \ 585 -v src_hdrs="$$sorted_src_hdrs" \ 586 -v src_rc="$$win32_src_rc" \ 587 -v src_x_srcs="$$sorted_src_x_srcs" \ 588 -v src_x_hdrs="$$sorted_src_x_hdrs" \ 589 "$$awk_code" $(srcdir)/$(VC12_SRCTMPL) > $(VC12_SRCVCXPROJ) || { exit 1; }; \ 590 \ 591 echo "generating '$(VC14_LIBVCXPROJ)'"; \ 592 awk -v proj_type=vcxproj \ 593 -v lib_srcs="$$sorted_lib_srcs" \ 594 -v lib_hdrs="$$sorted_lib_hdrs" \ 595 -v lib_rc="$$win32_lib_rc" \ 596 -v lib_vauth_srcs="$$sorted_lib_vauth_srcs" \ 597 -v lib_vauth_hdrs="$$sorted_lib_vauth_hdrs" \ 598 -v lib_vtls_srcs="$$sorted_lib_vtls_srcs" \ 599 -v lib_vtls_hdrs="$$sorted_lib_vtls_hdrs" \ 600 "$$awk_code" $(srcdir)/$(VC14_LIBTMPL) > $(VC14_LIBVCXPROJ) || { exit 1; }; \ 601 \ 602 echo "generating '$(VC14_SRCVCXPROJ)'"; \ 603 awk -v proj_type=vcxproj \ 604 -v src_srcs="$$sorted_src_srcs" \ 605 -v src_hdrs="$$sorted_src_hdrs" \ 606 -v src_rc="$$win32_src_rc" \ 607 -v src_x_srcs="$$sorted_src_x_srcs" \ 608 -v src_x_hdrs="$$sorted_src_x_hdrs" \ 609 "$$awk_code" $(srcdir)/$(VC14_SRCTMPL) > $(VC14_SRCVCXPROJ) || { exit 1; };) 610