cURL / Mailing Lists / curl-library / Single Mail

curl-library

Proposed VC6 Makefile patches - EXPLAINED

From: ArcosCom <samueldg_at_arcoscom.com>
Date: Wed, 6 Oct 2004 20:39:44 +0200

These patches is for better Microsoft VC6 compile and build.

There are more options to determine de correct build targets needed for our
applications.

The root Makefile (.\Makefile) has now the next targets:

vc-clean: For clean all obj's and binaries previous built.
vc-all: For build all libcurl configs.

For only release versions:

vc: curl with static libcurl.
vc-ssl: curl with static libcurl and this with static ssl.
vc-zlib: curl with static libcurl and this with static zlib.
vc-ssl-dll: curl with static libcurl and this with shared ssl.
vc-zlib-dll: curl with static libcurl and this with shared zlib.
vc-ssl-zlib: curl with static libcurl and this with static ssl and static
zlib.
vc-ssl-dll-zlib-dll: curl with static libcurl and this with shared ssl and
shared zlib.
vc-dll: curl with shared libcurl.
vc-dll-ssl-dll: curl with shared libcurl and this with shared ssl.
vc-dll-zlib-dll: curl with shared libcurl and this with shared zlib.
vc-dll-ssl-dll-zlib-dll: curl with shared libcurl and this with shared ssl
and shared zlib.

The libcurl Makefile (.\lib\Makefile.vc6) has now the next configs
(CFG=<config>):
For release builds:

release: static libcurl.
release-ssl: static libcurl with static ssl.
release-zlib: static libcurl with static zlib.
release-ssl-dll: static libcurl with shared ssl.
release-zlib-dll: static libcurl with shared zlib.
release-ssl-zlib: static libcurl with static ssl and static zlib.
release-ssl-dll-zlib-dll: static libcurl with shared ssl and shared zlib.
release-dll: shared libcurl.
release-dll-ssl-dll: shared libcurl with shared ssl.
release-dll-zlib-dll: shared libcurl with shared zlib.
release-dll-ssl-dll-zlib-dll: shared libcurl with shared ssl and shared
zlib.

For debug builds:
debug: static libcurl with libcurl debug info.
debug-<config>: see release-<config> and add "with libcurl debug info".

Examples:
   nmake -f makefile.vc6 cfg=debug-dll-zlib-dll
       Builds debug shared libcurl with shared zlib.
   nmake -f makefile.vc6 cfg=release-ssl-dll-zlib-dll
       Builds release static libcurl with shared ssl and shared zlib.

The curl Makefile (.\lib\Makefile.vc6) has now the next configs ([<target>]
[CFG=<config>]):

<target>: release | debug (release by default)
          release: build curl release version.
          debug: build curl debug version.
<config>: "" | -- without ssl or zlib.
          release-ssl | -- with static ssl.
          release-zlib | -- with static zlib.
          release-ssl-zlib | -- with static ssl and static zlib.
          release-ssl-dll | -- with shared ssl.
          release-zlib-dll | -- with shared zlib.
          release-ssl-dll-zlib-dll -- with shared ssl and shared zlib.

NOTES about .\lib\makefile.vc6: It uses static or shared libcurl upon the
previous make done into lib.

Examples:
   nmake -f makefile.vc6 debug cfg=release-zlib-dll
       Builds debug curl linked with previous built, static or shared, debug
libcurl with shared zlib.
   nmake -f makefile.vc6 cfg=release-ssl-dll-zlib-dll
       Builds release curl linked with previous built, static or shared,
release libcurl with shared ssl and shared zlib.

Enjoy them!!

P.D.: Sorry for my poor english.

Samuel Díaz García
Director Gerente
ArcosCom Wireless, S.L.L.

mailto:samueldg_at_arcoscom.com
http://www.arcoscom.com
móvil: 651 93 72 48
tlfn/fax: 956 70 13 15
Received on 2004-10-06