diff options
author | Daniel Stenberg <daniel@haxx.se> | 2007-03-02 22:42:43 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2007-03-02 22:42:43 +0000 |
commit | d3b89e114a3eccd619c4a069223e5fc9a4488904 (patch) | |
tree | 8b3490eb671628996426a19e78c868117d6d27bd /maketgz | |
parent | aeddea2b719ad676abcb0f563c888fbba934fdc0 (diff) | |
download | curl-d3b89e114a3eccd619c4a069223e5fc9a4488904.tar.gz |
- Robert A. Monat and Shmulik Regev helped out to fix the new */Makefile.vc8
makefiles that are included in the source release archives, generated from
the Makefile.vc6 files by the maketgz script. I also modified the root
Makefile to have a VC variable that defaults to vc6 but can be overridden to
allow it to be used for vc8 as well. Like this:
nmake VC=vc8 vc
Diffstat (limited to 'maketgz')
-rwxr-xr-x | maketgz | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |