From 76dfef7117826770f1edb47f79cf453258e539b0 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 26 May 2004 11:49:28 +0000 Subject: [PATCH] Mohun Biswas added release-zlib and debug-zlib targets. --- lib/Makefile.vc6 | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/lib/Makefile.vc6 b/lib/Makefile.vc6 index 9fc484940..a7177b8a1 100644 --- a/lib/Makefile.vc6 +++ b/lib/Makefile.vc6 @@ -64,6 +64,18 @@ CC = $(CCNODBG) CFGSET = TRUE !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 @@ -160,6 +172,17 @@ CC = $(CCDEBUG) $(CFLAGSSSL) CFGSET = TRUE !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 @@ -181,12 +204,14 @@ RESOURCE = $(DIROBJ)\libcurl.res !MESSAGE where 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 !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 can be left blank in which case all is assumed