7603011f |
1 | # -*- makefile -*- |
2 | # |
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. |
8 | |
9 | # Help text added to the top of each Makefile, with /D converted |
10 | # into -D as appropriate for the particular Makefile. |
11 | |
12 | !begin help |
13 | # |
14 | # Extra options you can set: |
15 | # |
16 | # - FWHACK=/DFWHACK |
17 | # Enables a hack that tunnels through some firewall proxies. |
18 | # |
19 | # - VER=/DSNAPSHOT=1999-01-25 |
20 | # Generates executables whose About box report them as being a |
21 | # development snapshot. |
22 | # |
23 | # - VER=/DRELEASE=0.43 |
24 | # Generates executables whose About box report them as being a |
25 | # release version. |
26 | # |
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>. |
30 | # |
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 |
34 | # does this. |
35 | # |
36 | # - COMPAT=/DNO_SECURITY |
37 | # Disables Pageant's use of <aclapi.h>, which is not available |
38 | # with some development environments. This means that Pageant |
39 | # won't care about the local user ID of processes accessing it; a |
40 | # version of Pageant built with this option will therefore refuse |
41 | # to run under NT-series OSes on security grounds (although it |
42 | # will run fine on Win95-series OSes where there is no access |
43 | # control anyway). |
44 | # |
45 | # Note that this definition is always enabled in the Cygwin |
46 | # build, since at the time of writing this <aclapi.h> is known |
47 | # not to be available in Cygwin. |
48 | # |
49 | # - COMPAT=/DNO_MULTIMON |
50 | # Disables PuTTY's use of <multimon.h>, which is not available |
51 | # with some development environments. This means that PuTTY's |
52 | # full-screen mode (configurable to work on Alt-Enter) will |
53 | # not behave usefully in a multi-monitor environment. |
54 | # |
55 | # Note that this definition is always enabled in the Cygwin |
56 | # build, since at the time of writing this <multimon.h> is |
57 | # known not to be available in Cygwin. |
58 | # |
59 | # - COMPAT=/DMSVC4 |
60 | # - RCFL=/DMSVC4 |
61 | # Makes a couple of minor changes so that PuTTY compiles using |
62 | # MSVC 4. You will also need /DNO_SECURITY and /DNO_MULTIMON. |
63 | # |
64 | # - RCFL=/DASCIICTLS |
65 | # Uses ASCII rather than Unicode to specify the tab control in |
66 | # the resource file. Probably most useful when compiling with |
67 | # Cygnus/mingw32, whose resource compiler may have less of a |
68 | # problem with it. |
69 | # |
4044fc45 |
70 | # - XFLAGS=/DTELNET_DEFAULT |
71 | # Causes PuTTY to default to the Telnet protocol (in the absence |
72 | # of Default Settings and so on to the contrary). Normally PuTTY |
73 | # will default to SSH. |
74 | # |
7603011f |
75 | # - XFLAGS=/DDEBUG |
76 | # Causes PuTTY to enable internal debugging. |
77 | # |
78 | # - XFLAGS=/DMALLOC_LOG |
79 | # Causes PuTTY to emit a file called putty_mem.log, logging every |
80 | # memory allocation and free, so you can track memory leaks. |
81 | # |
82 | # - XFLAGS=/DMINEFIELD |
83 | # Causes PuTTY to use a custom memory allocator, similar in |
84 | # concept to Electric Fence, in place of regular malloc(). Wastes |
85 | # huge amounts of RAM, but should cause heap-corruption bugs to |
86 | # show up as GPFs at the point of failure rather than appearing |
87 | # later on as second-level damage. |
88 | # |
89 | !end |
90 | |
91 | # Definitions of object groups. A group name, followed by an =, |
92 | # followed by any number of objects or other already-defined group |
93 | # names. A line beginning `+' is assumed to continue the previous |
94 | # line. |
95 | |
96 | # GUI front end and terminal emulator (putty, puttytel). |
5def7522 |
97 | GUITERM = window windlg winctrls terminal sizetip wcwidth unicode ldiscucs |
fe8abbf4 |
98 | + logging printing winutils dialog config wincfg tree234 |
7603011f |
99 | |
1d009ae7 |
100 | # Config box on Unix. |
101 | UXCFG = config uxcfg dialog gtkdlg gtkcols gtkpanel |
102 | |
7603011f |
103 | # Non-SSH back ends (putty, puttytel, plink). |
104 | NONSSH = telnet raw rlogin ldisc |
105 | |
106 | # SSH back end (putty, plink, pscp, psftp). |
c5e438ec |
107 | SSH = ssh sshcrc sshdes sshmd5 sshrsa sshrand sshsha sshblowf |
108 | + sshdh sshcrcda sshpubk sshzlib sshdss x11fwd portfwd |
831301f6 |
109 | + sshaes sshsh512 sshbn wildcard |
c5e438ec |
110 | WINSSH = SSH noise pageantc |
111 | UXSSH = SSH uxnoise uxagentc |
0c4b7799 |
112 | MACSSH = SSH macnoise |
7603011f |
113 | |
114 | # SFTP implementation (pscp, psftp). |
115 | SFTP = sftp int64 logging |
116 | |
117 | # Miscellaneous objects appearing in all the network utilities (not |
118 | # Pageant or PuTTYgen). |
c5e438ec |
119 | WINMISC = misc version winstore settings tree234 winnet proxy cmdline |
e0e7dff8 |
120 | + windefs winmisc |
0ff9ea38 |
121 | UXMISC = misc version uxstore settings tree234 uxsel uxnet proxy cmdline |
122 | + uxmisc |
27a3458f |
123 | MACMISC = misc version macstore settings tree234 macnet mtcpnet otnet proxy |
3ba3263c |
124 | + macmisc macabout |
7603011f |
125 | |
2dc6356a |
126 | # Character set library, for use in pterm. |
d4413bd2 |
127 | CHARSET = sbcsdat slookup sbcs utf8 toucs fromucs xenc mimeenc macenc localenc |
2dc6356a |
128 | |
7603011f |
129 | # Standard libraries, and the same with WinSocks 1 and 2. |
130 | LIBS = advapi32.lib user32.lib gdi32.lib comctl32.lib comdlg32.lib |
131 | + shell32.lib winmm.lib imm32.lib winspool.lib |
132 | LIBS1 = LIBS wsock32.lib |
133 | LIBS2 = LIBS ws2_32.lib |
134 | |
135 | # Definitions of actual programs. The program name, followed by a |
136 | # colon, followed by a list of objects. Also in the list may be the |
f7f27309 |
137 | # keywords [G] for Windows GUI app, [C] for Console app, [X] for |
dddf640d |
138 | # X/GTK Unix app, [U] for command-line Unix app, [M] for Macintosh app. |
7603011f |
139 | |
c5e438ec |
140 | putty : [G] GUITERM NONSSH WINSSH be_all WINMISC win_res.res LIBS1 |
141 | puttytel : [G] GUITERM NONSSH be_nossh WINMISC win_res.res LIBS1 |
142 | plink : [C] plink console NONSSH WINSSH be_all logging WINMISC |
143 | + plink.res LIBS2 |
144 | pscp : [C] scp console WINSSH be_none SFTP wildcard WINMISC scp.res LIBS1 |
145 | psftp : [C] psftp console WINSSH be_none SFTP WINMISC scp.res LIBS1 |
7603011f |
146 | |
147 | pageant : [G] pageant sshrsa sshpubk sshdes sshbn sshmd5 version tree234 |
9a30e26b |
148 | + misc sshaes sshsha pageantc sshdss sshsh512 winutils winmisc |
de572430 |
149 | + sshrand noise winstore pageant.res LIBS |
7603011f |
150 | |
151 | puttygen : [G] puttygen sshrsag sshdssg sshprime sshdes sshbn sshmd5 version |
9a30e26b |
152 | + sshrand noise sshsha winstore misc winctrls sshrsa sshdss winmisc |
fe8abbf4 |
153 | + sshpubk sshaes sshsh512 import winutils puttygen.res tree234 LIBS |
f7f27309 |
154 | |
5def7522 |
155 | pterm : [X] pterm terminal wcwidth uxucs uxmisc tree234 misc ldisc ldiscucs |
74aca06d |
156 | + logging uxprint settings pty uxsel be_none uxstore signal CHARSET |
47e4e735 |
157 | + cmdline ptermm UXCFG version |
1d009ae7 |
158 | putty : [X] pterm terminal wcwidth uxucs uxmisc tree234 misc ldisc ldiscucs |
159 | + logging uxprint settings pty uxsel be_all uxstore signal CHARSET |
160 | + uxputty NONSSH UXSSH UXMISC logging ux_x11 UXCFG |
c5e438ec |
161 | |
e0e7dff8 |
162 | plink : [U] uxplink uxcons NONSSH UXSSH be_all logging UXMISC signal ux_x11 |
cd6ca416 |
163 | |
7dcd1f87 |
164 | PuTTY : [M] terminal wcwidth ldiscucs logging be_all mac macdlg macevlog |
0c4b7799 |
165 | + macterm macucs mac_res.rsrc testback NONSSH MACSSH MACMISC CHARSET |
8a7e67ec |
166 | + stricmp vsnprint dialog config macctrls |
7dcd1f87 |
167 | PuTTYtel : [M] terminal wcwidth ldiscucs logging be_nossh mac macdlg macevlog |
8485cc75 |
168 | + macterm macucs mac_res.rsrc testback NONSSH MACMISC CHARSET |
8a7e67ec |
169 | + stricmp vsnprint dialog config macctrls |
06c24bc0 |
170 | PuTTYgen : [M] macpgen sshrsag sshdssg sshprime sshdes sshbn sshmd5 version |
171 | + sshrand macnoise sshsha macstore misc sshrsa sshdss macmisc sshpubk |
217b88d1 |
172 | + sshaes sshsh512 import macpgen.rsrc macpgkey macabout |