summaryrefslogtreecommitdiff
path: root/Makefile.dist
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2009-11-23 16:48:31 +0000
committerYang Tse <yangsita@gmail.com>2009-11-23 16:48:31 +0000
commit405e18571e7ea924f435fe9a45e53e04c33ba624 (patch)
tree8a93523bce9f4e90a981fb635ffe00b4f4809809 /Makefile.dist
parent094afbeb56ef77236c3b22d411ae53f212e90a01 (diff)
downloadcurl-405e18571e7ea924f435fe9a45e53e04c33ba624.tar.gz
- David Byron modified Makefile.dist vc8 and vc9 targets in order to allow
finer granularity control when generating src and lib makefiles.
Diffstat (limited to 'Makefile.dist')
-rw-r--r--Makefile.dist18
1 files changed, 14 insertions, 4 deletions
diff --git a/Makefile.dist b/Makefile.dist
index 48d306152..4f2d84a83 100644
--- a/Makefile.dist
+++ b/Makefile.dist
@@ -263,15 +263,25 @@ linux: all
linux-ssl: ssl
-vc8:
- @echo "generate VC8 makefiles"
+vc8: lib/Makefile.vc8 src/Makefile.vc8
+
+lib/Makefile.vc8: lib/Makefile.vc6
+ @echo "generate $@"
@sed -e "s#/GX /DWIN32 /YX#/EHsc /DWIN32#" -e "s#/GZ#/RTC1#" -e "s/wsock32.lib/wsock32.lib bufferoverflowu.lib/g" -e "s/VC6/VC8/g" lib/Makefile.vc6 > lib/Makefile.vc8
+
+src/Makefile.vc8: src/Makefile.vc6
+ @echo "generate $@"
@sed -e "s#/GX /DWIN32 /YX#/EHsc /DWIN32#" -e "s#/GZ#/RTC1#" -e "s/wsock32.lib/wsock32.lib bufferoverflowu.lib/g" -e "s/VC6/VC8/g" src/Makefile.vc6 > src/Makefile.vc8
# VC9 makefiles are for use with VS2008
-vc9:
- @echo "generate VC9 makefiles"
+vc9: lib/Makefile.vc9 src/Makefile.vc9
+
+lib/Makefile.vc9: lib/Makefile.vc6
+ @echo "generate $@"
@sed -e "s#/GX /DWIN32 /YX#/EHsc /DWIN32#" -e "s#/GZ#/RTC1#" -e "s/wsock32.lib/ws2_32.lib/g" -e "s/vc6/vc9/g" -e "s/VC6/VC9/g" lib/Makefile.vc6 > lib/Makefile.vc9
+
+src/Makefile.vc9: src/Makefile.vc6
+ @echo "generate $@"
@sed -e "s#/GX /DWIN32 /YX#/EHsc /DWIN32#" -e "s#/GZ#/RTC1#" -e "s/wsock32.lib/ws2_32.lib/g" -e "s/vc6/vc9/g" -e "s/VC6/VC9/g" src/Makefile.vc6 > src/Makefile.vc9
ca-bundle: lib/mk-ca-bundle.pl