3 # This file describes which PuTTY programs are made up from which
4 # object and resource files. It is processed into the various
5 # Makefiles by means of a Perl script. Makefile changes should
6 # really be made by editing this file and/or the Perl script, not
7 # by editing the actual Makefiles.
9 # Help text added to the top of each Makefile, with /D converted
10 # into -D as appropriate for the particular Makefile.
14 # Extra options you can set:
17 # Enables a hack that tunnels through some firewall proxies.
19 # - VER=/DSNAPSHOT=1999-01-25
20 # Generates executables whose About box report them as being a
21 # development snapshot.
23 # - VER=/DRELEASE=0.43
24 # Generates executables whose About box report them as being a
27 # - COMPAT=/DAUTO_WINSOCK
28 # Causes PuTTY to assume that <windows.h> includes its own WinSock
29 # header file, so that it won't try to include <winsock.h>.
31 # - COMPAT=/DWINSOCK_TWO
32 # Causes the PuTTY utilities to include <winsock2.h> instead of
33 # <winsock.h>, except Plink which _needs_ WinSock 2 so it already
36 # - COMPAT=/DNO_SECURITY
37 # Disables Pageant's use of <aclapi.h>, which is not available
38 # with some development environments (such as older versions of
39 # the Cygwin/mingw GNU toolchain). This means that Pageant
40 # won't care about the local user ID of processes accessing it; a
41 # version of Pageant built with this option will therefore refuse
42 # to run under NT-series OSes on security grounds (although it
43 # will run fine on Win95-series OSes where there is no access
46 # - COMPAT=/DNO_MULTIMON
47 # Disables PuTTY's use of <multimon.h>, which is not available
48 # with some development environments. This means that PuTTY's
49 # full-screen mode (configurable to work on Alt-Enter) will
50 # not behave usefully in a multi-monitor environment.
52 # Note that this definition is always enabled in the Cygwin
53 # build, since at the time of writing this <multimon.h> is
54 # known not to be available in Cygwin.
58 # Makes a couple of minor changes so that PuTTY compiles using
59 # MSVC 4. You will also need /DNO_SECURITY and /DNO_MULTIMON.
62 # Uses ASCII rather than Unicode to specify the tab control in
63 # the resource file. Probably most useful when compiling with
64 # Cygnus/mingw32, whose resource compiler may have less of a
67 # - XFLAGS=/DTELNET_DEFAULT
68 # Causes PuTTY to default to the Telnet protocol (in the absence
69 # of Default Settings and so on to the contrary). Normally PuTTY
70 # will default to SSH.
73 # Causes PuTTY to enable internal debugging.
75 # - XFLAGS=/DMALLOC_LOG
76 # Causes PuTTY to emit a file called putty_mem.log, logging every
77 # memory allocation and free, so you can track memory leaks.
79 # - XFLAGS=/DMINEFIELD
80 # Causes PuTTY to use a custom memory allocator, similar in
81 # concept to Electric Fence, in place of regular malloc(). Wastes
82 # huge amounts of RAM, but should cause heap-corruption bugs to
83 # show up as GPFs at the point of failure rather than appearing
84 # later on as second-level damage.
88 # Definitions of object groups. A group name, followed by an =,
89 # followed by any number of objects or other already-defined group
90 # names. A line beginning `+' is assumed to continue the previous
93 # GUI front end and terminal emulator (putty, puttytel).
94 GUITERM = window windlg winctrls terminal sizetip wcwidth unicode ldiscucs
95 + logging printing winutils dialog config wincfg tree234
98 UXTERM = pterm config uxcfg dialog gtkdlg gtkcols gtkpanel tree234
99 + terminal wcwidth uxucs ldiscucs logging uxprint xkeysym
101 # Non-SSH back ends (putty, puttytel, plink).
102 NONSSH = telnet raw rlogin ldisc
104 # SSH back end (putty, plink, pscp, psftp).
105 SSH = ssh sshcrc sshdes sshmd5 sshrsa sshrand sshsha sshblowf
106 + sshdh sshcrcda sshpubk sshzlib sshdss x11fwd portfwd
107 + sshaes sshsh512 sshbn wildcard
108 WINSSH = SSH noise pageantc
109 UXSSH = SSH uxnoise uxagentc
110 MACSSH = SSH macnoise
112 # SFTP implementation (pscp, psftp).
113 SFTP = sftp int64 logging
115 # Miscellaneous objects appearing in all the network utilities (not
116 # Pageant or PuTTYgen).
117 WINMISC = misc version winstore settings tree234 winnet proxy cmdline
118 + windefs winmisc pproxy
119 UXMISC = misc version uxstore settings tree234 uxsel uxnet proxy cmdline
121 MACMISC = misc version macstore settings tree234 macnet mtcpnet otnet proxy
122 + macmisc macabout pproxy
124 # Character set library, for use in pterm.
125 CHARSET = sbcsdat slookup sbcs utf8 toucs fromucs xenc mimeenc macenc localenc
127 # Standard libraries.
128 LIBS = advapi32.lib user32.lib gdi32.lib comctl32.lib comdlg32.lib
129 + shell32.lib winmm.lib imm32.lib winspool.lib
131 # Definitions of actual programs. The program name, followed by a
132 # colon, followed by a list of objects. Also in the list may be the
133 # keywords [G] for Windows GUI app, [C] for Console app, [X] for
134 # X/GTK Unix app, [U] for command-line Unix app, [M] for Macintosh app.
136 putty : [G] GUITERM NONSSH WINSSH be_all WINMISC win_res.res LIBS
137 puttytel : [G] GUITERM NONSSH be_nossh WINMISC win_res.res LIBS
138 plink : [C] plink console NONSSH WINSSH be_all logging WINMISC
140 pscp : [C] scp winsftp console WINSSH be_none SFTP wildcard WINMISC
142 psftp : [C] psftp winsftp console WINSSH be_none SFTP WINMISC scp.res LIBS
144 pageant : [G] pageant sshrsa sshpubk sshdes sshbn sshmd5 version tree234
145 + misc sshaes sshsha pageantc sshdss sshsh512 winutils winmisc
148 puttygen : [G] puttygen sshrsag sshdssg sshprime sshdes sshbn sshmd5 version
149 + sshrand noise sshsha winstore misc winctrls sshrsa sshdss winmisc
150 + sshpubk sshaes sshsh512 import winutils puttygen.res tree234 LIBS
152 pterm : [X] UXTERM uxmisc misc ldisc settings pty uxsel be_none uxstore
153 + signal CHARSET cmdline ptermm version
154 putty : [X] UXTERM uxmisc misc ldisc settings pty uxsel be_all uxstore
155 + signal CHARSET uxputty NONSSH UXSSH UXMISC ux_x11
156 puttytel : [X] UXTERM uxmisc misc ldisc settings pty uxsel be_nossh uxstore
157 + signal CHARSET uxputty NONSSH UXMISC
159 plink : [U] uxplink uxcons NONSSH UXSSH be_all logging UXMISC signal ux_x11
161 puttygen : [U] cmdgen sshrsag sshdssg sshprime sshdes sshbn sshmd5 version
162 + sshrand uxnoise sshsha misc sshrsa sshdss uxcons uxstore uxmisc
163 + sshpubk sshaes sshsh512 import puttygen.res tree234 uxgen
165 pscp : [U] scp uxsftp uxcons UXSSH be_none SFTP wildcard UXMISC
166 psftp : [U] psftp uxsftp uxcons UXSSH be_none SFTP UXMISC
168 PuTTY : [M] terminal wcwidth ldiscucs logging be_all mac macdlg macevlog
169 + macterm macucs mac_res.rsrc testback NONSSH MACSSH MACMISC CHARSET
170 + stricmp vsnprint dialog config macctrls
171 PuTTYtel : [M] terminal wcwidth ldiscucs logging be_nossh mac macdlg macevlog
172 + macterm macucs mac_res.rsrc testback NONSSH MACMISC CHARSET
173 + stricmp vsnprint dialog config macctrls
174 PuTTYgen : [M] macpgen sshrsag sshdssg sshprime sshdes sshbn sshmd5 version
175 + sshrand macnoise sshsha macstore misc sshrsa sshdss macmisc sshpubk
176 + sshaes sshsh512 import macpgen.rsrc macpgkey macabout