mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-04-18 03:28:07 -05:00
Rename Makefile.cyg to Makefile.mgw.
It's really only useful with MinGW rather than a Cygwin toolchain these days, as recent versions of the latter insist against linking with the Cygwin DLL. (I think it may no longer be possible to build with Cygwin out of the box at all these days, but I'm not going to say so without having actually checked that's the case. Settle for listing MinGW first in various comments and docs.)
This commit is contained in:
parent
145ecf6112
commit
371c68e355
4
.gitignore
vendored
4
.gitignore
vendored
@ -20,7 +20,7 @@
|
|||||||
/*.td2
|
/*.td2
|
||||||
/*.map
|
/*.map
|
||||||
/Makefile.bor
|
/Makefile.bor
|
||||||
/Makefile.cyg
|
/Makefile.mgw
|
||||||
/Makefile.vc
|
/Makefile.vc
|
||||||
/Makefile.lcc
|
/Makefile.lcc
|
||||||
/MSVC
|
/MSVC
|
||||||
@ -128,7 +128,7 @@
|
|||||||
/windows/*.td2
|
/windows/*.td2
|
||||||
/windows/*.map
|
/windows/*.map
|
||||||
/windows/Makefile.bor
|
/windows/Makefile.bor
|
||||||
/windows/Makefile.cyg
|
/windows/Makefile.mgw
|
||||||
/windows/Makefile.vc
|
/windows/Makefile.vc
|
||||||
/windows/Makefile.lcc
|
/windows/Makefile.lcc
|
||||||
/windows/MSVC
|
/windows/MSVC
|
||||||
|
@ -25,7 +25,7 @@ enddelegate
|
|||||||
# Windows scanner for download).
|
# Windows scanner for download).
|
||||||
delegate covscan32wine
|
delegate covscan32wine
|
||||||
in putty do tar xzvf cov-int.tar.gz
|
in putty do tar xzvf cov-int.tar.gz
|
||||||
in putty/windows do cov-build --dir ../cov-int make -f Makefile.cyg CC=winegcc RC=wrc XFLAGS=-DCOVERITY
|
in putty/windows do cov-build --dir ../cov-int make -f Makefile.mgw CC=winegcc RC=wrc XFLAGS=-DCOVERITY
|
||||||
in putty do tar czvf cov-int.tar.gz cov-int
|
in putty do tar czvf cov-int.tar.gz cov-int
|
||||||
return putty/cov-int.tar.gz
|
return putty/cov-int.tar.gz
|
||||||
enddelegate
|
enddelegate
|
||||||
|
8
README
8
README
@ -34,8 +34,8 @@ For building on Windows:
|
|||||||
Makefile.bor' while in the `windows' subdirectory to build all
|
Makefile.bor' while in the `windows' subdirectory to build all
|
||||||
the PuTTY binaries.
|
the PuTTY binaries.
|
||||||
|
|
||||||
- windows/Makefile.cyg is for Cygwin / MinGW installations. Type
|
- windows/Makefile.mgw is for MinGW / Cygwin installations. Type
|
||||||
`make -f Makefile.cyg' while in the `windows' subdirectory to
|
`make -f Makefile.mgw' while in the `windows' subdirectory to
|
||||||
build all the PuTTY binaries.
|
build all the PuTTY binaries.
|
||||||
|
|
||||||
You'll probably need quite a recent version of the w32api package.
|
You'll probably need quite a recent version of the w32api package.
|
||||||
@ -50,7 +50,7 @@ For building on Windows:
|
|||||||
- Inside the windows/DEVCPP subdirectory are Dev-C++ project
|
- Inside the windows/DEVCPP subdirectory are Dev-C++ project
|
||||||
files for doing GUI-based builds of the various PuTTY utilities.
|
files for doing GUI-based builds of the various PuTTY utilities.
|
||||||
|
|
||||||
The PuTTY team actively use Makefile.vc (with VC7) and Makefile.cyg
|
The PuTTY team actively use Makefile.vc (with VC7) and Makefile.mgw
|
||||||
(with mingw32), so we'll probably notice problems with those
|
(with mingw32), so we'll probably notice problems with those
|
||||||
toolchains fairly quickly. Please report any problems with the other
|
toolchains fairly quickly. Please report any problems with the other
|
||||||
toolchains mentioned above.
|
toolchains mentioned above.
|
||||||
@ -99,7 +99,7 @@ For building on Unix:
|
|||||||
|
|
||||||
- It's also possible to build the Windows version of PuTTY to run
|
- It's also possible to build the Windows version of PuTTY to run
|
||||||
on Unix by using Winelib. To do this, change to the `windows'
|
on Unix by using Winelib. To do this, change to the `windows'
|
||||||
directory and run `make -f Makefile.cyg CC=winegcc RC=wrc'.
|
directory and run `make -f Makefile.mgw CC=winegcc RC=wrc'.
|
||||||
|
|
||||||
All of the Makefiles are generated automatically from the file
|
All of the Makefiles are generated automatically from the file
|
||||||
`Recipe' by the Perl script `mkfiles.pl' (except for the Unix one,
|
`Recipe' by the Perl script `mkfiles.pl' (except for the Unix one,
|
||||||
|
6
Recipe
6
Recipe
@ -14,7 +14,7 @@
|
|||||||
# Locations and types of output Makefiles.
|
# Locations and types of output Makefiles.
|
||||||
!makefile vc windows/Makefile.vc
|
!makefile vc windows/Makefile.vc
|
||||||
!makefile vcproj windows/MSVC
|
!makefile vcproj windows/MSVC
|
||||||
!makefile cygwin windows/Makefile.cyg
|
!makefile cygwin windows/Makefile.mgw
|
||||||
!makefile borland windows/Makefile.bor
|
!makefile borland windows/Makefile.bor
|
||||||
!makefile lcc windows/Makefile.lcc
|
!makefile lcc windows/Makefile.lcc
|
||||||
!makefile gtk unix/Makefile.gtk
|
!makefile gtk unix/Makefile.gtk
|
||||||
@ -46,8 +46,8 @@
|
|||||||
#
|
#
|
||||||
# - COMPAT=/DNO_SECURITY (Windows only)
|
# - COMPAT=/DNO_SECURITY (Windows only)
|
||||||
# Disables Pageant's use of <aclapi.h>, which is not available
|
# Disables Pageant's use of <aclapi.h>, which is not available
|
||||||
# with some development environments (such as older versions of
|
# with some development environments (such as very old versions
|
||||||
# the Cygwin/mingw GNU toolchain). This means that Pageant
|
# of the mingw/Cygwin GNU toolchain). This means that Pageant
|
||||||
# won't care about the local user ID of processes accessing it; a
|
# won't care about the local user ID of processes accessing it; a
|
||||||
# version of Pageant built with this option will therefore refuse
|
# version of Pageant built with this option will therefore refuse
|
||||||
# to run under NT-series OSes on security grounds (although it
|
# to run under NT-series OSes on security grounds (although it
|
||||||
|
@ -441,10 +441,10 @@ $orig_dir = cwd;
|
|||||||
if (defined $makefiles{'cygwin'}) {
|
if (defined $makefiles{'cygwin'}) {
|
||||||
$dirpfx = &dirpfx($makefiles{'cygwin'}, "/");
|
$dirpfx = &dirpfx($makefiles{'cygwin'}, "/");
|
||||||
|
|
||||||
##-- CygWin makefile
|
##-- MinGW/CygWin makefile (called 'cygwin' for historical reasons)
|
||||||
open OUT, ">$makefiles{'cygwin'}"; select OUT;
|
open OUT, ">$makefiles{'cygwin'}"; select OUT;
|
||||||
print
|
print
|
||||||
"# Makefile for $project_name under Cygwin, MinGW, or Winelib.\n".
|
"# Makefile for $project_name under MinGW, Cygwin, or Winelib.\n".
|
||||||
"#\n# This file was created by `mkfiles.pl' from the `Recipe' file.\n".
|
"#\n# This file was created by `mkfiles.pl' from the `Recipe' file.\n".
|
||||||
"# DO NOT EDIT THIS FILE DIRECTLY; edit Recipe or mkfiles.pl instead.\n";
|
"# DO NOT EDIT THIS FILE DIRECTLY; edit Recipe or mkfiles.pl instead.\n";
|
||||||
# gcc command line option is -D not /D
|
# gcc command line option is -D not /D
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
#ifdef COVERITY
|
#ifdef COVERITY
|
||||||
/*
|
/*
|
||||||
* The hack I use to build for Coverity scanning, using winegcc and
|
* The hack I use to build for Coverity scanning, using winegcc and
|
||||||
* Makefile.cyg, didn't provide some defines in wincrypt.h last time I
|
* Makefile.mgw, didn't provide some defines in wincrypt.h last time I
|
||||||
* looked. Therefore, define them myself here, but enclosed in #ifdef
|
* looked. Therefore, define them myself here, but enclosed in #ifdef
|
||||||
* COVERITY to ensure I don't make up random nonsense values for any
|
* COVERITY to ensure I don't make up random nonsense values for any
|
||||||
* real build.
|
* real build.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user