cURL / Mailing Lists / curl-library / Single Mail

curl-library

additional zlib configurations for Makefile.vc6

From: Mohun Biswas <m_biswas_at_mailinator.com>
Date: Tue, 25 May 2004 22:19:57 -0400

I have a need for a libcurl build that uses zlib but no SSL. Therefore
I've added configurations to Makefile.vc6 for the Windows versions. Any
chance these could be added to the code base? (patch below)

Thanks,
M.Biswas

--- Makefile.vc6 Tue May 25 22:15:14 2004
+++ Makefile Tue May 25 22:15:02 2004
@@ -60,6 +60,18 @@
  !ENDIF

  ######################
+# release-zlib
+
+!IF "$(CFG)" == "release-zlib"
+TARGET =$(LIB_NAME).lib
+DIROBJ =.\$(CFG)
+LFLAGSZLIB = "/LIBPATH:$(ZLIB_PATH)"
+LNK = $(LNKLIB) $(LFLAGSZLIB) /out:$(TARGET)
+CC = $(CCNODBG) $(CFLAGSZLIB)
+CFGSET = TRUE
+!ENDIF
+
+######################
  # release-dll

  !IF "$(CFG)" == "release-dll"
@@ -157,6 +169,17 @@
  !ENDIF

  ######################
+# debug-zlib
+!IF "$(CFG)" == "debug-zlib"
+TARGET = $(LIB_NAME_DEBUG).lib
+DIROBJ =.\$(CFG)
+LFLAGSZLIB = "/LIBPATH:$(ZLIB_PATH)"
+LNK = $(LNKLIB) $(LFLAGSZLIB) /out:$(TARGET)
+CC = $(CCDEBUG) $(CFLAGSZLIB)
+CFGSET = TRUE
+!ENDIF
+
+######################
  # debug-ssl-dll

  !IF "$(CFG)" == "debug-ssl-dll"
@@ -177,6 +200,7 @@
  !MESSAGE where <config> is one of:
  !MESSAGE release - release static library
  !MESSAGE release-dll - release dll
+!MESSAGE release-zlib - release static library with zlib
  !MESSAGE release-ssl - release static library with ssl
  !MESSAGE release-ssl-zlib - release static library with ssl and zlib
  !MESSAGE release-ssl-dll - release dll library with ssl
@@ -183,6 +207,7 @@
  !MESSAGE release-libcurl-ssl-dll - static libcurl with shared ssl
  !MESSAGE debug - debug static library
  !MESSAGE debug-dll - debug dll
+!MESSAGE debug-zlib - debug static library with zlib
  !MESSAGE debug-ssl - debug static library with ssl
  !MESSAGE debug-ssl-dll - debug dll library with ssl
  !MESSAGE <target> can be left blank in which case all is assumed
Received on 2004-05-26