CFLAGSSSL = /DUSE_SSLEAY /I "$(OPENSSL_PATH)/inc32" /I "$(OPENSSL_PATH)/inc32/openssl"\r
CFLAGSZLIB = /DHAVE_ZLIB_H /DHAVE_ZLIB /DHAVE_LIBZ /I "$(ZLIB_PATH)"\r
CFLAGS = /I. /I../include /nologo /W3 /GX /DWIN32 /YX /FD /c /DBUILDING_LIBCURL\r
+CFLAGSLIB = /DCURL_STATICLIB\r
LNKDLL = link.exe /DLL\r
LNKLIB = link.exe /lib\r
LFLAGS = /nologo\r
TARGET = $(LIB_NAME).lib\r
DIROBJ = $(CFG)\r
LNK = $(LNKLIB) /out:$(DIROBJ)\$(TARGET)\r
-CC = $(CCNODBG)\r
+CC = $(CCNODBG) $(CFLAGSLIB)\r
CFGSET = TRUE\r
!ENDIF\r
\r
DIROBJ = $(CFG)\r
LFLAGSZLIB = "/LIBPATH:$(ZLIB_PATH)"\r
LNK = $(LNKLIB) $(ZLIBLIBS) $(LFLAGSZLIB) /out:$(DIROBJ)\$(TARGET)\r
-CC = $(CCNODBG) $(CFLAGSZLIB)\r
+CC = $(CCNODBG) $(CFLAGSZLIB) $(CFLAGSLIB)\r
CFGSET = TRUE\r
!ENDIF\r
\r
DIROBJ = $(CFG)\r
LFLAGSSSL = "/LIBPATH:$(OPENSSL_PATH)\out32"\r
LNK = $(LNKLIB) $(LFLAGSSSL) /out:$(DIROBJ)\$(TARGET)\r
-CC = $(CCNODBG) $(CFLAGSSSL)\r
+CC = $(CCNODBG) $(CFLAGSSSL) $(CFLAGSLIB)\r
CFGSET = TRUE\r
!ENDIF\r
\r
LFLAGSSSL = "/LIBPATH:$(OPENSSL_PATH)\out32"\r
LFLAGSZLIB = "/LIBPATH:$(ZLIB_PATH)"\r
LNK = $(LNKLIB) $(LFLAGSSSL) $(LFLAGSZLIB) /out:$(DIROBJ)\$(TARGET)\r
-CC = $(CCNODBG) $(CFLAGSSSL) $(CFLAGSZLIB)\r
+CC = $(CCNODBG) $(CFLAGSSSL) $(CFLAGSZLIB) $(CFLAGSLIB)\r
CFGSET = TRUE\r
!ENDIF\r
\r
DIROBJ = $(CFG)\r
LFLAGSZLIB = "/LIBPATH:$(ZLIB_PATH)"\r
LNK = $(LNKLIB) $(WINLIBS) $(ZLIBLIBSDLL) $(LFLAGSZLIB) /out:$(DIROBJ)\$(TARGET)\r
-CC = $(CCNODBG) $(CFLAGSZLIB)\r
+CC = $(CCNODBG) $(CFLAGSZLIB) $(CFLAGSLIB)\r
CFGSET = TRUE\r
!ENDIF\r
\r
LFLAGSZLIB = "/LIBPATH:$(ZLIB_PATH)"\r
LFLAGSSSL = "/LIBPATH:$(OPENSSL_PATH)\out32dll"\r
LNK = $(LNKLIB) $(WINLIBS) $(SSLLIBS) $(ZLIBLIBSDLL) $(LFLAGSSSL) $(LFLAGSZLIB) /out:$(DIROBJ)\$(TARGET)\r
-CC = $(CCNODBG) $(CFLAGSSSL) $(CFLAGSZLIB)\r
+CC = $(CCNODBG) $(CFLAGSSSL) $(CFLAGSZLIB) $(CFLAGSLIB)\r
CFGSET = TRUE\r
!ENDIF\r
\r
TARGET = $(LIB_NAME_DEBUG).lib\r
DIROBJ = $(CFG)\r
LNK = $(LNKLIB) /out:$(DIROBJ)\$(TARGET)\r
-CC = $(CCDEBUG)\r
+CC = $(CCDEBUG) $(CFLAGSLIB)\r
CFGSET = TRUE\r
!ENDIF\r
\r
DIROBJ = $(CFG)\r
LFLAGSSSL = "/LIBPATH:$(OPENSSL_PATH)\out32"\r
LNK = $(LNKLIB) $(SSLLIBS) $(LFLAGSSSL) /out:$(DIROBJ)\$(TARGET)\r
-CC = $(CCDEBUG) $(CFLAGSSSL)\r
+CC = $(CCDEBUG) $(CFLAGSSSL) $(CFLAGSLIB)\r
CFGSET = TRUE\r
!ENDIF\r
\r
DIROBJ = $(CFG)\r
LFLAGSZLIB = "/LIBPATH:$(ZLIB_PATH)"\r
LNK = $(LNKLIB) $(ZLIBLIBS) $(LFLAGSZLIB) /out:$(DIROBJ)\$(TARGET)\r
-CC = $(CCDEBUG) $(CFLAGSZLIB)\r
+CC = $(CCDEBUG) $(CFLAGSZLIB) $(CFLAGSLIB)\r
CFGSET = TRUE\r
!ENDIF\r
\r
DIROBJ = $(CFG)\r
LFLAGSSSL = /LIBPATH:$(OPENSSL_PATH)\out32dll\r
LNK = $(LNKLIB) $(WINLIBS) $(SSLLIBS) $(LFLAGSSSL) /out:$(DIROBJ)\$(TARGET)\r
-CC = $(CCDEBUG) $(CFLAGSSSL)\r
+CC = $(CCDEBUG) $(CFLAGSSSL) $(CFLAGSLIB)\r
CFGSET = TRUE\r
!ENDIF\r
\r
LFLAGSZLIB = "/LIBPATH:$(ZLIB_PATH)"\r
LFLAGSSSL = "/LIBPATH:$(OPENSSL_PATH)\out32"\r
LNK = $(LNKLIB) $(SSLLIBS) $(ZLIBLIBS) $(LFLAGSSSL) $(LFLAGSZLIB) /out:$(DIROBJ)\$(TARGET)\r
-CC = $(CCDEBUG) $(CFLAGSSSL) $(CFLAGSZLIB)\r
+CC = $(CCDEBUG) $(CFLAGSSSL) $(CFLAGSZLIB) $(CFLAGSLIB)\r
CFGSET = TRUE\r
!ENDIF\r
\r
DIROBJ = $(CFG)\r
LFLAGSZLIB = "/LIBPATH:$(ZLIB_PATH)"\r
LNK = $(LNKLIB) $(WINLIBS) $(ZLIBLIBSDLL) $(LFLAGSZLIB) /out:$(DIROBJ)\$(TARGET)\r
-CC = $(CCDEBUG) $(CFLAGSZLIB)\r
+CC = $(CCDEBUG) $(CFLAGSZLIB) $(CFLAGSLIB)\r
CFGSET = TRUE\r
!ENDIF\r
\r
LFLAGSZLIB = "/LIBPATH:$(ZLIB_PATH)"\r
LFLAGSSSL = "/LIBPATH:$(OPENSSL_PATH)\out32dll"\r
LNK = $(LNKLIB) $(WINLIBS) $(SSLLIBS) $(ZLIBLIBSDLL) $(LFLAGSSSL) $(LFLAGSZLIB) /out:$(DIROBJ)\$(TARGET)\r
-CC = $(CCDEBUG) $(CFLAGSSSL) $(CFLAGSZLIB)\r
+CC = $(CCDEBUG) $(CFLAGSSSL) $(CFLAGSZLIB) $(CFLAGSLIB)\r
CFGSET = TRUE\r
!ENDIF\r
\r