summaryrefslogtreecommitdiff
path: root/src/Makefile.vc6
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-03-03 13:32:56 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-03-03 13:32:56 +0000
commit2479e06848a7625b1b55511b43f86abc3a76c93d (patch)
tree5f229a8dad5a33c0d0698e2474b943203b38a5c1 /src/Makefile.vc6
parentf2abe03fcf09acc3727e995c3304dc80caea39f5 (diff)
downloadcurl-2479e06848a7625b1b55511b43f86abc3a76c93d.tar.gz
David Byron's work on making libcurl only require winsock 1.1 on Windows
machines.
Diffstat (limited to 'src/Makefile.vc6')
-rw-r--r--src/Makefile.vc612
1 files changed, 7 insertions, 5 deletions
diff --git a/src/Makefile.vc6 b/src/Makefile.vc6
index 392df671d..d0bf9153e 100644
--- a/src/Makefile.vc6
+++ b/src/Makefile.vc6
@@ -30,8 +30,8 @@ ZLIB_PATH = ../../zlib-1.1.4
CFLAGS = /I "../lib" /I "../include" /I "$(ZLIB_PATH)" /nologo /W3 /GX /D "WIN32" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
LFLAGS = /nologo /libpath:"$(ZLIB_PATH)" /out:$(PROGRAM_NAME) /subsystem:console /machine:I386
-LINKLIBS = ws2_32.lib libcurl.lib winmm.lib zlib.lib
-LINKLIBS_DEBUG = ws2_32.lib libcurld.lib winmm.lib zlib.lib
+LINKLIBS = wsock32.lib libcurl.lib winmm.lib zlib.lib
+LINKLIBS_DEBUG = wsock32.lib libcurld.lib winmm.lib zlib.lib
RELEASE_OBJS= \
hugehelpr.obj \
@@ -58,6 +58,7 @@ OPENSSL_PATH = ../../openssl-0.9.7a
!ENDIF
LFLAGSSSL = /LIBPATH:"$(OPENSSL_PATH)/out32"
SSLLIBS = libeay32.lib ssleay32.lib gdi32.lib
+CFLAGS = $(CFLAGS) -DUSE_SSLEAY
LINKLIBS = $(LINKLIBS) $(SSLLIBS)
LINKLIBS_DEBUG = $(LINKLIBS_DEBUG) $(SSLLIBS)
LFLAGS = $(LFLAGS) $(LFLAGSSSL)
@@ -100,12 +101,13 @@ maind.obj: main.c
$(CCD) $(CFLAGS) /Fo"$@" main.c
clean:
- -@erase homedir.obj
- -@erase hugehelp.obj
- -@erase main.obj
+ -@erase $(RELEASE_OBJS)
+ -@erase $(DEBUG_OBJS)
-@erase vc60.idb
-@erase vc60.pdb
-@erase vc60.pch
+ -@erase vc70.idb
+ -@erase vc70.pch
-@erase curl.ilk
-@erase curl.pdb