summaryrefslogtreecommitdiff
path: root/maketgz
diff options
context:
space:
mode:
Diffstat (limited to 'maketgz')
-rwxr-xr-xmaketgz5
1 files changed, 5 insertions, 0 deletions
diff --git a/maketgz b/maketgz
index 4a42dba22..b71ace045 100755
--- a/maketgz
+++ b/maketgz
@@ -38,6 +38,11 @@ sed -e 's/^#define LIBCURL_VERSION .*/#define LIBCURL_VERSION "'$libversion'"/g'
# Replace version number in header file:
sed 's/#define CURL_VERSION .*/#define CURL_VERSION "'$curlversion'"/g' $CHEADER >$CHEADER.dist
+echo "generate VC8 makefiles"
+# Generate VC8 versions from the VC6 Makefile versions
+sed -e "s#/GX /DWIN32 /YX#/EHsc /DWIN32#" -e 's#/GZ#/RTC1#' -e 's/VC6/VC8/g' lib/Makefile.vc6 > lib/Makefile.vc8.dist
+sed -e "s#/GX /DWIN32 /YX#/EHsc /DWIN32#" -e 's#/GZ#/RTC1#' -e 's/VC6/VC8/g' src/Makefile.vc6 > src/Makefile.vc8.dist
+
# Replace version number in plist file:
PLIST=lib/libcurl.plist
sed "s/7\.12\.3/$libversion/g" $PLIST > $PLIST.dist