cURL / Mailing Lists / curl-library / Single Mail

curl-library

VC Makefile changes/improvements

From: Pierre Joye <pierre.php_at_gmail.com>
Date: Fri, 17 Dec 2010 10:44:06 +0100

Hi,

The attached patch slightly improve the VC Makefile (it should not
have any functional change for existing options):

- Support for installed libraries and their development files instead
of using their source tree (subject to change and not necessary
correct)

- Support for SSH2 (release-ssh2-ssl-dll-zlib for now, will add other later)

- custom name for generated curl libraries or for the input libraries
  - we use a standard naming for our builds:
   . <libname>.lib for DLL import lib
   . <libname>_a.lib for static lib
   . <libname>_a_debug.lib for debug static lib
   . <libname>_debug.lib for debug DLL import lib

- Make USE_IPV6 a makefile argument

The existing way of calling these makefiles should still work. However
a call like:

nmake /f Makefile.vc9 WINDOWS_SSPI=1 USE_IPV6=1
WITH_DEVEL=g:\php-sdk\lib_builds\vc9\x86\deps
CFG=release-ssh2-ssl-dll-zlib

is now possible as well. Where WITH_DEVEL is the equivalent of a
/usr/local/include /lib /bin.

I would also like to make a slightly larger change, to use !include to
import VC specific flags definition instead of having to use sed/msys'
make to do it. Any comment or objection, both on this patch and the
next one?

-- 
Pierre
@pierrejoye | http://blog.thepimp.net | http://www.libgd.org


-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html

Received on 2010-12-17