cURL / Mailing Lists / curl-library / Single Mail

curl-library

Proposed VC6 Makefiles patches 1/3 (.\Makefile)

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

--- makefile 2004-08-10 10:46:36.000000000 +0200
+++ makefile.new 2004-10-06 19:17:38.000000000 +0200
@@ -65,23 +65,88 @@
         cd lib & make -f Makefile.m32 clean
         cd src & make -f Makefile.m32 clean

+vc-clean:
+ cd lib
+ nmake -f Makefile.vc6 cfg=release distrib
+ nmake -f Makefile.vc6 cfg=release-ssl distrib
+ nmake -f Makefile.vc6 cfg=release-zlib distrib
+ nmake -f Makefile.vc6 cfg=release-ssl-zlib distrib
+ nmake -f Makefile.vc6 cfg=release-ssl-dll distrib
+ nmake -f Makefile.vc6 cfg=release-zlib-dll distrib
+ nmake -f Makefile.vc6 cfg=release-ssl-dll-zlib-dll distrib
+ nmake -f Makefile.vc6 cfg=release-dll distrib
+ nmake -f Makefile.vc6 cfg=release-dll-ssl-dll distrib
+ nmake -f Makefile.vc6 cfg=release-dll-zlib-dll distrib
+ nmake -f Makefile.vc6 cfg=release-dll-ssl-dll-zlib-dll distrib
+ nmake -f Makefile.vc6 cfg=debug distrib
+ nmake -f Makefile.vc6 cfg=debug-ssl distrib
+ nmake -f Makefile.vc6 cfg=debug-zlib distrib
+ nmake -f Makefile.vc6 cfg=debug-ssl-zlib distrib
+ nmake -f Makefile.vc6 cfg=debug-ssl-dll distrib
+ nmake -f Makefile.vc6 cfg=debug-zlib-dll distrib
+ nmake -f Makefile.vc6 cfg=debug-ssl-dll-zlib-dll distrib
+ nmake -f Makefile.vc6 cfg=debug-dll distrib
+ nmake -f Makefile.vc6 cfg=debug-dll-ssl-dll distrib
+ nmake -f Makefile.vc6 cfg=debug-dll-zlib-dll distrib
+ nmake -f Makefile.vc6 cfg=debug-dll-ssl-dll-zlib-dll distrib
+ cd ..\src
+ nmake -f Makefile.vc6 distrib
+
+vc-all:
+ cd lib
+ nmake -f Makefile.vc6 cfg=release
+ nmake -f Makefile.vc6 cfg=release-ssl
+ nmake -f Makefile.vc6 cfg=release-zlib
+ nmake -f Makefile.vc6 cfg=release-ssl-zlib
+ nmake -f Makefile.vc6 cfg=release-ssl-dll
+ nmake -f Makefile.vc6 cfg=release-zlib-dll
+ nmake -f Makefile.vc6 cfg=release-ssl-dll-zlib-dll
+ nmake -f Makefile.vc6 cfg=release-dll
+ nmake -f Makefile.vc6 cfg=release-dll-ssl-dll
+ nmake -f Makefile.vc6 cfg=release-dll-zlib-dll
+ nmake -f Makefile.vc6 cfg=release-dll-ssl-dll-zlib-dll
+ nmake -f Makefile.vc6 cfg=debug
+ nmake -f Makefile.vc6 cfg=debug-ssl
+ nmake -f Makefile.vc6 cfg=debug-zlib
+ nmake -f Makefile.vc6 cfg=debug-ssl-zlib
+ nmake -f Makefile.vc6 cfg=debug-ssl-dll
+ nmake -f Makefile.vc6 cfg=debug-zlib-dll
+ nmake -f Makefile.vc6 cfg=debug-ssl-dll-zlib-dll
+ nmake -f Makefile.vc6 cfg=debug-dll
+ nmake -f Makefile.vc6 cfg=debug-dll-ssl-dll
+ nmake -f Makefile.vc6 cfg=debug-dll-zlib-dll
+ nmake -f Makefile.vc6 cfg=debug-dll-ssl-dll-zlib-dll
+
+
 vc:
         cd lib
         nmake /f Makefile.vc6 cfg=release
         cd ..\src
         nmake /f Makefile.vc6

+vc-ssl:
+ cd lib
+ nmake /f Makefile.vc6 cfg=release-ssl
+ cd ..\src
+ nmake /f Makefile.vc6 cfg=release-ssl
+
 vc-zlib:
         cd lib
         nmake /f Makefile.vc6 cfg=release-zlib
         cd ..\src
         nmake /f Makefile.vc6 cfg=release-zlib

-vc-ssl:
+vc-ssl-dll:
         cd lib
- nmake /f Makefile.vc6 cfg=release-ssl
+ nmake /f Makefile.vc6 cfg=release-ssl-dll
         cd ..\src
- nmake /f Makefile.vc6 cfg=release-ssl
+ nmake /f Makefile.vc6 cfg=release-ssl-dll
+
+vc-zlib-dll:
+ cd lib
+ nmake /f Makefile.vc6 cfg=release-zlib-dll
+ cd ..\src
+ nmake /f Makefile.vc6 cfg=release-zlib-dll

 vc-ssl-zlib:
         cd lib
@@ -89,18 +154,42 @@
         cd ..\src
         nmake /f Makefile.vc6 cfg=release-ssl-zlib

-vc-ssl-dll:
+vc-ssl-dll-zlib-dll:
         cd lib
- nmake /f Makefile.vc6 cfg=release-ssl-dll
+ nmake /f Makefile.vc6 cfg=release-ssl-dll-zlib-dll
         cd ..\src
- nmake /f Makefile.vc6
+ nmake /f Makefile.vc6 cfg=release-ssl-dll-zlib-dll

-vc-libcurl-ssl-dll:
+vc-dll:
         cd lib
- nmake /f Makefile.vc6 cfg=release-libcurl-ssl-dll
+ nmake /f Makefile.vc6 cfg=release-dll
         cd ..\src
         nmake /f Makefile.vc6

+vc-dll-ssl-dll:
+ cd lib
+ nmake /f Makefile.vc6 cfg=release-dll-ssl-dll
+ cd ..\src
+ nmake /f Makefile.vc6 cfg=release-ssl-dll
+
+vc-dll-zlib-dll:
+ cd lib
+ nmake /f Makefile.vc6 cfg=release-dll-zlib-dll
+ cd ..\src
+ nmake /f Makefile.vc6 cfg=release-zlib-dll
+
+vc-dll-ssl-zlib:
+ cd lib
+ nmake /f Makefile.vc6 cfg=release-dll-ssl-zlib
+ cd ..\src
+ nmake /f Makefile.vc6 cfg=release-ssl-zlib
+
+vc-dll-ssl-dll-zlib-dll:
+ cd lib
+ nmake /f Makefile.vc6 cfg=release-dll-ssl-dll-zlib-dll
+ cd ..\src
+ nmake /f Makefile.vc6 cfg=release-ssl-dll-zlib-dll
+
 djgpp:
         make -C lib -f Makefile.dj
         make -C src -f Makefile.dj

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

-----Mensaje original-----
De: Samuel Díaz García (ArcosCom) [mailto:samueldg_at_arcoscom.com]
Enviado el: miércoles, 06 de octubre de 2004 14:52
Para: samueldg_at_arcoscom.com; 'libcurl development'
Asunto: RE: Modifications into Makefile.vc6 [patch] - Corrections

Please, don't apply diffs, I'm still working on all VC6 makefiles (curl,
libcurl and the root makefile - in VC6 targets - ) to allow more usefull
configs.

Regards,

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

-----Mensaje original-----
De: curl-library-bounces_at_cool.haxx.se
[mailto:curl-library-bounces_at_cool.haxx.se]En nombre de Samuel Díaz
García (ArcosCom)
Enviado el: miércoles, 06 de octubre de 2004 12:58
Para: 'libcurl development'
Asunto: RE: Modifications into Makefile.vc6 [patch]

--- makefile.vc6.bak 2004-07-14 16:17:52.000000000 +0200
+++ makefile.vc6 2004-10-06 11:16:32.000000000 +0200
@@ -48,6 +48,7 @@
 LNKLIB = link.exe /lib
 LFLAGS = /nologo
 SSLLIBS = libeay32.lib ssleay32.lib
+ZLIBLIBS = zdll.lib
 !IFDEF USEMM_LIBS
 WINLIBS = wsock32.lib winmm.lib
 !ELSE
@@ -86,7 +87,7 @@
 !IF "$(CFG)" == "release-dll"
 TARGET =$(LIB_NAME).dll
 DIROBJ =.\$(CFG)
-LNK = $(LNKDLL) /out:$(TARGET) /IMPLIB:"$(LIB_NAME).lib"
+LNK = $(LNKDLL) $(WINLIBS) /out:$(TARGET) /IMPLIB:"$(LIB_NAME).lib"
 CC = $(CCNODBG)
 CFGSET = TRUE
 RESOURCE = $(DIROBJ)\libcurl.res
@@ -118,6 +119,86 @@
 !ENDIF

 ######################
+# release-dll-ssl-dll
+
+!IF "$(CFG)" == "release-dll-ssl-dll"
+TARGET =$(LIB_NAME).dll
+DIROBJ =.\$(CFG)
+LFLAGSSSL = "/LIBPATH:$(OPENSSL_PATH)/out32dll"
+LNK = $(LNKDLL) $(SSLLIBS) $(WINLIBS) $(LFLAGSSSL) /out:$(TARGET)
/IMPLIB:"$(LIB_NAME).lib"
+CC = $(CCNODBG) $(CFLAGSSSL)
+CFGSET = TRUE
+RESOURCE = $(DIROBJ)\libcurl.res
+!ENDIF
+
+######################
+# release-dll-zlib-dll
+
+!IF "$(CFG)" == "release-dll-zlib-dll"
+TARGET =$(LIB_NAME).dll
+DIROBJ =.\$(CFG)
+LFLAGSZLIB = "/LIBPATH:$(ZLIB_PATH)"
+LNK = $(LNKDLL) $(ZLIBLIBS) $(WINLIBS) $(LFLAGSZLIB) /out:$(TARGET)
/IMPLIB:"$(LIB_NAME).lib"
+CC = $(CCNODBG) $(CFLAGSZLIB)
+CFGSET = TRUE
+RESOURCE = $(DIROBJ)\libcurl.res
+!ENDIF
+
+######################
+# release-dll-ssl-dll-zlib-dll
+
+!IF "$(CFG)" == "release-dll-ssl-dll-zlib-dll"
+TARGET =$(LIB_NAME).dll
+DIROBJ =.\$(CFG)
+LFLAGSZLIB = "/LIBPATH:$(ZLIB_PATH)"
+LFLAGSSSL = "/LIBPATH:$(OPENSSL_PATH)/out32dll"
+LNK = $(LNKDLL) $(SSLLIBS) $(ZLIBLIBS) $(WINLIBS) $(LFLAGSSSL)
$(LFLAGSZLIB) /out:$(TARGET) /IMPLIB:"$(LIB_NAME).lib"
+CC = $(CCNODBG) $(CFLAGSSSL) $(CFLAGSZLIB)
+CFGSET = TRUE
+RESOURCE = $(DIROBJ)\libcurl.res
+!ENDIF
+
+######################
+# debug-dll-ssl-dll
+
+!IF "$(CFG)" == "debug-dll-ssl-dll"
+TARGET =$(LIB_NAME).dll
+DIROBJ =.\$(CFG)
+LFLAGSSSL = "/LIBPATH:$(OPENSSL_PATH)/out32dll"
+LNK = $(LNKDLL) $(SSLLIBS) $(WINLIBS) $(LFLAGSSSL) /DEBUG
/out:$(TARGET) /IMPLIB:"$(LIB_NAME).lib" /PDB:"$(LIB_NAME_DEBUG).pdb"
+CC = $(CCDEBUG) $(CFLAGSSSL)
+CFGSET = TRUE
+RESOURCE = $(DIROBJ)\libcurl.res
+!ENDIF
+
+######################
+# debug-dll-zlib-dll
+
+!IF "$(CFG)" == "debug-dll-zlib-dll"
+TARGET =$(LIB_NAME).dll
+DIROBJ =.\$(CFG)
+LFLAGSZLIB = "/LIBPATH:$(ZLIB_PATH)"
+LNK = $(LNKDLL) $(ZLIBLIBS) $(WINLIBS) $(LFLAGSZLIB) /DEBUG
/out:$(TARGET) /IMPLIB:"$(LIB_NAME).lib" /PDB:"$(LIB_NAME_DEBUG).pdb"
+CC = $(CCDEBUG) $(CFLAGSZLIB)
+CFGSET = TRUE
+RESOURCE = $(DIROBJ)\libcurl.res
+!ENDIF
+
+######################
+# debug-dll-ssl-dll-zlib-dll
+
+!IF "$(CFG)" == "debug-dll-ssl-dll-zlib-dll"
+TARGET =$(LIB_NAME).dll
+DIROBJ =.\$(CFG)
+LFLAGSZLIB = "/LIBPATH:$(ZLIB_PATH)"
+LFLAGSSSL = "/LIBPATH:$(OPENSSL_PATH)/out32dll"
+LNK = $(LNKDLL) $(SSLLIBS) $(ZLIBLIBS) $(WINLIBS) $(LFLAGSSSL)
$(LFLAGSZLIB) /DEBUG /out:$(TARGET) /IMPLIB:"$(LIB_NAME).lib"
/PDB:"$(LIB_NAME_DEBUG).pdb"
+CC = $(CCDEBUG) $(CFLAGSSSL) $(CFLAGSZLIB)
+CFGSET = TRUE
+RESOURCE = $(DIROBJ)\libcurl.res
+!ENDIF
+
+######################
 # release-ssl-zlib
 !IF "$(CFG)" == "release-ssl-zlib"
 TARGET =$(LIB_NAME).lib
@@ -212,12 +293,18 @@
 !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 release-libcurl-ssl-dll - static libcurl with shared ssl
+!MESSAGE release-dll-ssl-dll - release dll library with dynamic
ssl
+!MESSAGE release-dll-zlib-dll - release dll library with dynamic
zlib1
+!MESSAGE release-dll-ssl-dll-zlib-dll - release dll library with dynamic
ssl and dynamic zlib
 !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 debug-dll-ssl-dll - debug dll library with dynamic ssl
+!MESSAGE debug-dll-zlib-dll - debug dll library with dynamic
zlib1
+!MESSAGE debug-dll-ssl-dll-zlib-dll - debug dll library with dynamic ssl
and dynamic zlib
 !MESSAGE <target> can be left blank in which case all is assumed
 !ERROR please choose a valid configuration "$(CFG)"
 !ENDIF
@@ -294,11 +381,17 @@

 debug-dll\libcurl.res \
 debug-ssl-dll\libcurl.res \
+debug-dll-ssl-dll\libcurl.res \
+debug-dll-zlib-dll\libcurl.res \
+debug-dll-ssl-dll-zlib-dll\libcurl.res \
 release-libcurl-ssl-dll\libcurl.res: libcurl.rc
         rc /dCURLDEBUG=1 /Fo $@ libcurl.rc

 release-dll\libcurl.res \
 release-ssl-dll\libcurl.res \
+release-dll-ssl-dll\libcurl.res \
+release-dll-zlib-dll\libcurl.res \
+release-dll-ssl-dll-zlib-dll\libcurl.res \
 release-libcurl-ssl-dll\libcurl.res: libcurl.rc
         rc /dCURLDEBUG=0 /Fo $@ libcurl.rc

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