1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-11 20:15:03 -05:00

VC6 generated .dsp file now supports 4 configurations:

libcurl - Win32 DLL Debug
libcurl - Win32 DLL Release
libcurl - Win32 LIB Debug
libcurl - Win32 LIB Release
This commit is contained in:
Yang Tse 2008-08-27 23:31:58 +00:00
parent 6f53cf9cc6
commit ecff50c2b4
2 changed files with 151 additions and 92 deletions

View File

@ -6,6 +6,10 @@
Changelog Changelog
Yang Tse (27 Aug 2008)
- Fix generation of MS VC6 .dsp file to make it support compilation of either
dynamic (DLL) or static (LIB) libcurl libraries in debug and release modes.
Daniel Fandrich (26 Aug 2008) Daniel Fandrich (26 Aug 2008)
- Fixed out of memory problems that caused torture test failures in tests - Fixed out of memory problems that caused torture test failures in tests
1021 and 1067. 1021 and 1067.

View File

@ -1,92 +1,147 @@
# Microsoft Developer Studio Project File - Name="curllib" - Package Owner=<4> # Microsoft Developer Studio Project File - Name="curllib" - Package Owner=<4>
# Microsoft Developer Studio Generated Build File, Format Version 6.00 # Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT ** # ** DO NOT EDIT **
# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102 # TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
# TARGTYPE "Win32 (x86) Static Library" 0x0104
CFG=curllib - Win32 Debug
!MESSAGE This is not a valid makefile. To build this project using NMAKE, CFG=curllib - Win32 LIB Debug
!MESSAGE use the Export Makefile command and run !MESSAGE This is not a valid makefile. To build this project using NMAKE,
!MESSAGE !MESSAGE use the Export Makefile command and run
!MESSAGE NMAKE /f "curllib.mak". !MESSAGE
!MESSAGE !MESSAGE NMAKE /f "curllib.mak".
!MESSAGE You can specify a configuration when running NMAKE !MESSAGE
!MESSAGE by defining the macro CFG on the command line. For example: !MESSAGE You can specify a configuration when running NMAKE
!MESSAGE !MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE NMAKE /f "curllib.mak" CFG="curllib - Win32 Debug" !MESSAGE
!MESSAGE !MESSAGE NMAKE /f "curllib.mak" CFG="curllib - Win32 LIB Debug"
!MESSAGE Possible choices for configuration are: !MESSAGE
!MESSAGE !MESSAGE Possible choices for configuration are:
!MESSAGE "curllib - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library") !MESSAGE
!MESSAGE "curllib - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library") !MESSAGE "curllib - Win32 DLL Debug" (based on "Win32 (x86) Dynamic-Link Library")
!MESSAGE !MESSAGE "curllib - Win32 DLL Release" (based on "Win32 (x86) Dynamic-Link Library")
!MESSAGE "curllib - Win32 LIB Debug" (based on "Win32 (x86) Static Library")
# Begin Project !MESSAGE "curllib - Win32 LIB Release" (based on "Win32 (x86) Static Library")
# PROP AllowPerConfigDependencies 0 !MESSAGE
# PROP Scc_ProjName ""
# PROP Scc_LocalPath "" # Begin Project
CPP=cl.exe # PROP AllowPerConfigDependencies 0
MTL=midl.exe # PROP Scc_ProjName ""
RSC=rc.exe # PROP Scc_LocalPath ""
!IF "$(CFG)" == "curllib - Win32 Release" !IF "$(CFG)" == "curllib - Win32 DLL Debug"
# PROP BASE Use_MFC 0 # PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0 # PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "Release" # PROP BASE Output_Dir "DLL-Debug"
# PROP BASE Intermediate_Dir "Release" # PROP BASE Intermediate_Dir "DLL-Debug"
# PROP BASE Target_Dir "" # PROP BASE Target_Dir ""
# PROP Use_MFC 0 # PROP Use_MFC 0
# PROP Use_Debug_Libraries 0 # PROP Use_Debug_Libraries 1
# PROP Output_Dir "Release" # PROP Output_Dir "DLL-Debug"
# PROP Intermediate_Dir "Release" # PROP Intermediate_Dir "DLL-Debug"
# PROP Ignore_Export_Lib 0 # PROP Ignore_Export_Lib 0
# PROP Target_Dir "" # PROP Target_Dir ""
# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "BUILDING_LIBCURL" /YX /FD /c CPP=cl.exe
# ADD CPP /nologo /MT /W3 /GX /Zi /O2 /I "." /I "..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "BUILDING_LIBCURL" /D "_WINDLL" /FR /FD /c # ADD BASE CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "." /I "..\include" /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "BUILDING_LIBCURL" /FD /GZ /c
# SUBTRACT CPP /YX # ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "." /I "..\include" /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "BUILDING_LIBCURL" /FD /GZ /c
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32 MTL=midl.exe
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 # ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
# ADD BASE RSC /l 0x409 /d "NDEBUG" # ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
# ADD RSC /l 0x409 /d "NDEBUG" RSC=rc.exe
BSC32=bscmake.exe # ADD BASE RSC /l 0x409 /d "_DEBUG"
# ADD BASE BSC32 /nologo # ADD RSC /l 0x409 /d "_DEBUG"
# ADD BSC32 /nologo BSC32=bscmake.exe
LINK32=link.exe # ADD BASE BSC32 /nologo
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 # ADD BSC32 /nologo
# ADD LINK32 kernel32.lib ws2_32.lib wldap32.lib /nologo /dll /map /debug /machine:I386 /out:"Release/libcurl.dll" LINK32=link.exe
# ADD BASE LINK32 kernel32.lib ws2_32.lib wldap32.lib /nologo /dll /incremental:no /map /debug /machine:I386 /out:"DLL-Debug/libcurld.dll" /implib:"DLL-Debug/libcurld_imp.lib" /pdbtype:sept
!ELSEIF "$(CFG)" == "curllib - Win32 Debug" # ADD LINK32 kernel32.lib ws2_32.lib wldap32.lib /nologo /dll /incremental:no /map /debug /machine:I386 /out:"DLL-Debug/libcurld.dll" /implib:"DLL-Debug/libcurld_imp.lib" /pdbtype:sept
# PROP BASE Use_MFC 0 !ELSEIF "$(CFG)" == "curllib - Win32 DLL Release"
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "Debug" # PROP BASE Use_MFC 0
# PROP BASE Intermediate_Dir "Debug" # PROP BASE Use_Debug_Libraries 0
# PROP BASE Target_Dir "" # PROP BASE Output_Dir "DLL-Release"
# PROP Use_MFC 0 # PROP BASE Intermediate_Dir "DLL-Release"
# PROP Use_Debug_Libraries 1 # PROP BASE Target_Dir ""
# PROP Output_Dir "Debug" # PROP Use_MFC 0
# PROP Intermediate_Dir "Debug" # PROP Use_Debug_Libraries 0
# PROP Ignore_Export_Lib 0 # PROP Output_Dir "DLL-Release"
# PROP Target_Dir "" # PROP Intermediate_Dir "DLL-Release"
# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "BUILDING_LIBCURL" /YX /FD /GZ /c # PROP Ignore_Export_Lib 0
# ADD CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /I "." /I "..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "BUILDING_LIBCURL" /FR /FD /GZ /c # PROP Target_Dir ""
# SUBTRACT CPP /WX /YX CPP=cl.exe
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32 # ADD BASE CPP /nologo /MD /W3 /GX /O2 /I "." /I "..\include" /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "BUILDING_LIBCURL" /FD /c
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 # ADD CPP /nologo /MD /W3 /GX /O2 /I "." /I "..\include" /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "BUILDING_LIBCURL" /FD /c
# ADD BASE RSC /l 0x409 /d "_DEBUG" MTL=midl.exe
# ADD RSC /l 0x409 /d "_DEBUG" # ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
BSC32=bscmake.exe # ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
# ADD BASE BSC32 /nologo RSC=rc.exe
# ADD BSC32 /nologo # ADD BASE RSC /l 0x409 /d "NDEBUG"
LINK32=link.exe # ADD RSC /l 0x409 /d "NDEBUG"
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept BSC32=bscmake.exe
# ADD LINK32 kernel32.lib ws2_32.lib wldap32.lib /nologo /dll /incremental:no /map /debug /machine:I386 /out:"Debug/libcurl.dll" /pdbtype:sept # ADD BASE BSC32 /nologo
# SUBTRACT LINK32 /nodefaultlib # ADD BSC32 /nologo
LINK32=link.exe
!ENDIF # ADD BASE LINK32 kernel32.lib ws2_32.lib wldap32.lib /nologo /dll /pdb:none /machine:I386 /out:"DLL-Release/libcurl.dll" /implib:"DLL-Release/libcurl_imp.lib"
# ADD LINK32 kernel32.lib ws2_32.lib wldap32.lib /nologo /dll /pdb:none /machine:I386 /out:"DLL-Release/libcurl.dll" /implib:"DLL-Release/libcurl_imp.lib"
# Begin Target
!ELSEIF "$(CFG)" == "curllib - Win32 LIB Debug"
# Name "curllib - Win32 Release"
# Name "curllib - Win32 Debug" # PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "LIB-Debug"
# PROP BASE Intermediate_Dir "LIB-Debug"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "LIB-Debug"
# PROP Intermediate_Dir "LIB-Debug"
# PROP Target_Dir ""
CPP=cl.exe
# ADD BASE CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "." /I "..\include" /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "BUILDING_LIBCURL" /FD /GZ /c
# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "." /I "..\include" /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "BUILDING_LIBCURL" /D "CURL_STATICLIB" /FD /GZ /c
RSC=rc.exe
# ADD BASE RSC /l 0x409 /d "_DEBUG"
# ADD RSC /l 0x409 /d "_DEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo /out:"LIB-Debug/libcurld.lib" /machine:I386
# ADD LIB32 /nologo /out:"LIB-Debug/libcurld.lib" /machine:I386
!ELSEIF "$(CFG)" == "curllib - Win32 LIB Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "LIB-Release"
# PROP BASE Intermediate_Dir "LIB-Release"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "LIB-Release"
# PROP Intermediate_Dir "LIB-Release"
# PROP Target_Dir ""
CPP=cl.exe
# ADD BASE CPP /nologo /MD /W3 /GX /O2 /I "." /I "..\include" /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "BUILDING_LIBCURL" /FD /c
# ADD CPP /nologo /MD /W3 /GX /O2 /I "." /I "..\include" /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "BUILDING_LIBCURL" /D "CURL_STATICLIB" /FD /c
RSC=rc.exe
# ADD BASE RSC /l 0x409 /d "NDEBUG"
# ADD RSC /l 0x409 /d "NDEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo /out:"LIB-Release/libcurl.lib" /machine:I386
# ADD LIB32 /nologo /out:"LIB-Release/libcurl.lib" /machine:I386
!ENDIF
# Begin Target
# Name "curllib - Win32 DLL Debug"
# Name "curllib - Win32 DLL Release"
# Name "curllib - Win32 LIB Debug"
# Name "curllib - Win32 LIB Release"