diff options
author | Daniel Stenberg <daniel@haxx.se> | 2003-08-01 07:53:27 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2003-08-01 07:53:27 +0000 |
commit | 9ea2087ede1a5b91a6b1ae4f5e2aafb999494c2e (patch) | |
tree | 662fd5026b17cfb0646de00cb7b598b3c0601029 /src/Makefile.vc6 | |
parent | 9f7c634133b493ab2c869283ba51278244401e6d (diff) | |
download | curl-9ea2087ede1a5b91a6b1ae4f5e2aafb999494c2e.tar.gz |
David Byron's makefile fix to allow 7.10.6 to build fine using VC
Diffstat (limited to 'src/Makefile.vc6')
-rw-r--r-- | src/Makefile.vc6 | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/src/Makefile.vc6 b/src/Makefile.vc6 index 4db479681..4784022fe 100644 --- a/src/Makefile.vc6 +++ b/src/Makefile.vc6 @@ -24,10 +24,14 @@ LINKR = link.exe /incremental:no /libpath:"../lib" CCD = cl.exe /MDd /Gm /ZI /Od /D "_DEBUG" /GZ
LINKD = link.exe /incremental:yes /debug /libpath:"../lib"
-CFLAGS = /I "../include" /nologo /W3 /GX /D "WIN32" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-LFLAGS = /nologo /out:$(PROGRAM_NAME) /subsystem:console /machine:I386
-LINKLIBS = ws2_32.lib libcurl.lib winmm.lib
-LINKLIBS_DEBUG = ws2_32.lib libcurld.lib winmm.lib
+!IFNDEF ZLIB_PATH
+ZLIB_PATH = ../../zlib-1.1.4
+!ENDIF
+
+CFLAGS = /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
RELEASE_OBJS= \
hugehelpr.obj \
@@ -46,17 +50,16 @@ LINK_OBJS= \ writeout.obj \
urlglob.obj \
main.obj
-
######################
# release-ssl
!IF "$(CFG)" == "release-ssl"
!IFNDEF OPENSSL_PATH
-OPENSSL_PATH = ../../openssl-0.9.6
+OPENSSL_PATH = ../../openssl-0.9.7a
!ENDIF
LFLAGSSSL = /LIBPATH:"$(OPENSSL_PATH)/out32"
-SSLLIBS = libeay32.lib ssleay32.lib RSAglue.lib gdi32.lib
+SSLLIBS = libeay32.lib ssleay32.lib gdi32.lib
LINKLIBS = $(LINKLIBS) $(SSLLIBS)
LFLAGS = $(LFLAGS) $(LFLAGSSSL)
!ENDIF
|