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