summaryrefslogtreecommitdiff
path: root/Makefile.dist
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2014-01-11 14:33:33 +0000
committerSteve Holme <steve_holme@hotmail.com>2014-01-11 14:33:42 +0000
commit7cd45b297ec2d09af92cd6defccd54c7e9ac5a3d (patch)
tree11c7514696413b28c574f03e000aa0619c5d933d /Makefile.dist
parent9362603f056ec652d61a3da5132d66435b746b7d (diff)
downloadcurl-7cd45b297ec2d09af92cd6defccd54c7e9ac5a3d.tar.gz
Makefile.dist: Added support for VC7
Currently VC7 and VC7.1 builds have to be ran with the VC variable set to vc6 which is not only inconsistent with the nmake winbuild system but also with newer versions of Visual Studio supported by this file. Note: This doesn't break the build for anyone still running with the VC variable set to vc6 or not set (which defaults to vc6).
Diffstat (limited to 'Makefile.dist')
-rw-r--r--Makefile.dist12
1 files changed, 12 insertions, 0 deletions
diff --git a/Makefile.dist b/Makefile.dist
index c80eb06d7..343b40c11 100644
--- a/Makefile.dist
+++ b/Makefile.dist
@@ -290,6 +290,18 @@ linux-ssl: ssl
# We don't need to do anything for vc6.
vc6:
+# VC7 makefiles are for use with VS.NET and VS.NET 2003
+vc7: lib/Makefile.vc7 src/Makefile.vc7
+
+lib/Makefile.vc7: lib/Makefile.vc6
+ @echo "generate $@"
+ @sed -e "s/VC6/VC7/g" lib/Makefile.vc6 > lib/Makefile.vc7
+
+src/Makefile.vc7: src/Makefile.vc6
+ @echo "generate $@"
+ @sed -e "s/VC6/VC7/g" src/Makefile.vc6 > src/Makefile.vc7
+
+# VC8 makefiles are for use with VS2005
vc8: lib/Makefile.vc8 src/Makefile.vc8
lib/Makefile.vc8: lib/Makefile.vc6