Welcome to mirror list, hosted at ThFree Co, Russian Federation.

Makefile.am - github.com/mRemoteNG/PuTTYNG.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: faa2af43fe725b6bd246f1f2b1f04cdd050e0ca8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
# Makefile.am for putty under Unix with Autoconf/Automake.
#
# This file was created by `mkfiles.pl' from the `Recipe' file.
# DO NOT EDIT THIS FILE DIRECTLY; edit Recipe or mkfiles.pl instead.

AUTOMAKE_OPTIONS = subdir-objects

allsources = agentf.c aqsync.c be_all_s.c be_misc.c be_none.c be_nos_s.c \
		be_ssh.c callback.c cgtest.c charset/charset.h \
		charset/enum.c charset/fromucs.c charset/internal.h \
		charset/localenc.c charset/macenc.c charset/mimeenc.c \
		charset/sbcs.c charset/sbcsdat.c charset/slookup.c \
		charset/toucs.c charset/utf8.c charset/xenc.c clicons.c \
		cmdgen.c cmdline.c conf.c config.c console.c console.h \
		cproxy.c defs.h dialog.c dialog.h ecc.c ecc.h errsock.c \
		fuzzterm.c import.c ldisc.c ldisc.h licence.h logging.c \
		mainchan.c marshal.c marshal.h memory.c millerrabin.c \
		minibidi.c misc.c misc.h miscucs.c mpint.c mpint.h mpint_i.h \
		mpunsafe.c mpunsafe.h network.h nocmdline.c nocproxy.c \
		nogss.c norand.c noshare.c noterm.c notiming.c nullplug.c \
		pageant.c pageant.h pgssapi.c pgssapi.h pinger.c pockle.c \
		portfwd.c primecandidate.c proxy.c proxy.h pscp.c psftp.c \
		psftp.h psftpcommon.c psocks.c psocks.h putty.h puttymem.h \
		puttyps.h raw.c rlogin.c scpserver.c sesschan.c sessprep.c \
		settings.c sftp.c sftp.h sftpcommon.c sftpserver.c \
		smallprimes.c ssh.c ssh.h ssh1bpp.c ssh1censor.c \
		ssh1connection-client.c ssh1connection-server.c \
		ssh1connection.c ssh1connection.h ssh1login-server.c \
		ssh1login.c ssh2bpp-bare.c ssh2bpp.c ssh2censor.c \
		ssh2connection-client.c ssh2connection-server.c \
		ssh2connection.c ssh2connection.h ssh2kex-client.c \
		ssh2kex-server.c ssh2transhk.c ssh2transport.c \
		ssh2transport.h ssh2userauth-server.c ssh2userauth.c \
		sshaes.c ssharcf.c sshargon2.c sshauxcrypt.c sshbcrypt.c \
		sshblake2.c sshblowf.c sshblowf.h sshbpp.h sshccp.c \
		sshchan.h sshcommon.c sshcr.h sshcrc.c sshcrcda.c sshdes.c \
		sshdh.c sshdss.c sshdssg.c sshecc.c sshecdsag.c sshgss.h \
		sshgssc.c sshgssc.h sshhmac.c sshkeygen.h sshmac.c sshmd5.c \
		sshppl.h sshprime.c sshprng.c sshpubk.c sshrand.c sshrsa.c \
		sshrsag.c sshserver.c sshserver.h sshsh256.c sshsh512.c \
		sshsha.c sshsha3.c sshshare.c sshsignals.h sshttymodes.h \
		sshutils.c sshverstring.c sshzlib.c storage.h stripctrl.c \
		supdup.c telnet.c terminal.c terminal.h testcrypt.c \
		testcrypt.h testsc.c testzlib.c time.c timing.c tree234.c \
		tree234.h unix/gtkapp.c unix/gtkask.c unix/gtkcfg.c \
		unix/gtkcols.c unix/gtkcols.h unix/gtkcomm.c \
		unix/gtkcompat.h unix/gtkdlg.c unix/gtkfont.c unix/gtkfont.h \
		unix/gtkmain.c unix/gtkmisc.c unix/gtkmisc.h unix/gtkwin.c \
		unix/osxlaunch.c unix/procnet.c unix/unix.h unix/ux_x11.c \
		unix/uxagentc.c unix/uxagentsock.c unix/uxcfg.c \
		unix/uxcliloop.c unix/uxcons.c unix/uxfdsock.c unix/uxgen.c \
		unix/uxgss.c unix/uxmisc.c unix/uxnet.c unix/uxnogtk.c \
		unix/uxnoise.c unix/uxpeer.c unix/uxpgnt.c unix/uxplink.c \
		unix/uxpoll.c unix/uxprint.c unix/uxproxy.c unix/uxpsusan.c \
		unix/uxpterm.c unix/uxpty.c unix/uxputty.c unix/uxsel.c \
		unix/uxser.c unix/uxserver.c unix/uxsftp.c \
		unix/uxsftpserver.c unix/uxshare.c unix/uxsignal.c \
		unix/uxsocks.c unix/uxstore.c unix/uxucs.c unix/uxutils.c \
		unix/uxutils.h unix/x11misc.c unix/x11misc.h unix/xkeysym.c \
		unix/xpmptcfg.c unix/xpmpterm.c unix/xpmpucfg.c \
		unix/xpmputty.c utils.c version.c version.h wcwidth.c \
		wildcard.c windows/pageant-rc.h windows/pageant.rc \
		windows/plink.rc windows/pscp.rc windows/psftp.rc \
		windows/putty.rc windows/puttygen-rc.h windows/puttygen.rc \
		windows/puttytel.rc windows/rcstuff.h windows/sizetip.c \
		windows/version.rc2 windows/win_res.h windows/win_res.rc2 \
		windows/wincapi.c windows/wincapi.h windows/wincfg.c \
		windows/wincliloop.c windows/wincons.c windows/winctrls.c \
		windows/windefs.c windows/windlg.c windows/window.c \
		windows/wingss.c windows/winhandl.c windows/winhelp.c \
		windows/winhelp.h windows/winhelp.rc2 windows/winhsock.c \
		windows/winjump.c windows/winmisc.c windows/winmiscs.c \
		windows/winnet.c windows/winnohlp.c windows/winnoise.c \
		windows/winnojmp.c windows/winnpc.c windows/winnps.c \
		windows/winpgen.c windows/winpgnt.c windows/winpgntc.c \
		windows/winplink.c windows/winprint.c windows/winproxy.c \
		windows/winseat.h windows/winsecur.c windows/winsecur.h \
		windows/winselcli.c windows/winselgui.c windows/winser.c \
		windows/winsftp.c windows/winshare.c windows/winsocks.c \
		windows/winstore.c windows/winstuff.h windows/wintime.c \
		windows/winucs.c windows/winutils.c windows/winx11.c \
		x11fwd.c

if HAVE_GTK
bin_PROGRAMS = plink pscp psftp psusan puttygen pageant pterm putty puttytel
else
bin_PROGRAMS = plink pscp psftp psusan puttygen
endif

if HAVE_GTK
noinst_PROGRAMS = cgtest fuzzterm osxlaunch psocks testcrypt testsc testzlib \
		uppity ptermapp puttyapp
else
noinst_PROGRAMS = cgtest fuzzterm osxlaunch psocks testcrypt testsc testzlib \
		uppity
endif

AM_CPPFLAGS = -I$(srcdir)/./ -I$(srcdir)/charset/ -I$(srcdir)/windows/ \
		-I$(srcdir)/unix/
if HAVE_GTK
AM_CFLAGS = $(GTK_CFLAGS) $(COMPAT) $(XFLAGS) $(WARNINGOPTS)
else
AM_CFLAGS = $(COMPAT) $(XFLAGS) $(WARNINGOPTS)
endif

libversion_a_SOURCES = version.c
libversion_a_CFLAGS = $(COMPAT) $(XFLAGS) $(WARNINGOPTS) 
noinst_LIBRARIES = libversion.a

cgtest_SOURCES = cgtest.c conf.c console.c ecc.c import.c marshal.c memory.c \
		millerrabin.c misc.c mpint.c mpunsafe.c notiming.c pockle.c \
		primecandidate.c smallprimes.c sshaes.c sshargon2.c \
		sshauxcrypt.c sshbcrypt.c sshblake2.c sshblowf.c sshdes.c \
		sshdss.c sshdssg.c sshecc.c sshecdsag.c sshhmac.c sshmd5.c \
		sshprime.c sshprng.c sshpubk.c sshrand.c sshrsa.c sshrsag.c \
		sshsh256.c sshsh512.c sshsha.c sshsha3.c stripctrl.c time.c \
		tree234.c unix/uxcons.c unix/uxgen.c unix/uxmisc.c \
		unix/uxnogtk.c unix/uxnoise.c unix/uxpoll.c unix/uxstore.c \
		unix/uxutils.c utils.c wcwidth.c
cgtest_LDADD = libversion.a

fuzzterm_SOURCES = be_none.c callback.c charset/fromucs.c charset/localenc.c \
		charset/macenc.c charset/mimeenc.c charset/sbcs.c \
		charset/sbcsdat.c charset/slookup.c charset/toucs.c \
		charset/utf8.c charset/xenc.c conf.c config.c dialog.c \
		fuzzterm.c logging.c marshal.c memory.c minibidi.c misc.c \
		miscucs.c settings.c stripctrl.c terminal.c time.c timing.c \
		tree234.c unix/uxcfg.c unix/uxmisc.c unix/uxnogtk.c \
		unix/uxprint.c unix/uxstore.c unix/uxucs.c utils.c wcwidth.c
fuzzterm_LDADD = libversion.a

osxlaunch_SOURCES = unix/osxlaunch.c

if HAVE_GTK
pageant_SOURCES = aqsync.c be_misc.c be_none.c callback.c conf.c console.c \
		ecc.c errsock.c logging.c marshal.c memory.c misc.c mpint.c \
		nocproxy.c nogss.c nullplug.c pageant.c proxy.c settings.c \
		sshaes.c sshargon2.c sshauxcrypt.c sshblake2.c sshdes.c \
		sshdss.c sshecc.c sshhmac.c sshmd5.c sshprng.c sshpubk.c \
		sshrsa.c sshsh256.c sshsh512.c sshsha.c sshsha3.c \
		stripctrl.c time.c timing.c tree234.c unix/gtkask.c \
		unix/gtkmisc.c unix/ux_x11.c unix/uxagentc.c \
		unix/uxagentsock.c unix/uxcliloop.c unix/uxcons.c \
		unix/uxfdsock.c unix/uxmisc.c unix/uxnet.c unix/uxnoise.c \
		unix/uxpeer.c unix/uxpgnt.c unix/uxpoll.c unix/uxproxy.c \
		unix/uxsel.c unix/uxsignal.c unix/uxstore.c unix/uxutils.c \
		utils.c wcwidth.c x11fwd.c
pageant_LDADD = libversion.a $(GTK_LIBS)
endif

plink_SOURCES = agentf.c aqsync.c be_all_s.c be_misc.c callback.c clicons.c \
		cmdline.c conf.c console.c cproxy.c ecc.c errsock.c ldisc.c \
		logging.c mainchan.c marshal.c memory.c misc.c mpint.c \
		noterm.c nullplug.c pgssapi.c pinger.c portfwd.c proxy.c \
		raw.c rlogin.c sessprep.c settings.c ssh.c ssh1bpp.c \
		ssh1censor.c ssh1connection-client.c ssh1connection.c \
		ssh1login.c ssh2bpp-bare.c ssh2bpp.c ssh2censor.c \
		ssh2connection-client.c ssh2connection.c ssh2kex-client.c \
		ssh2transhk.c ssh2transport.c ssh2userauth.c sshaes.c \
		ssharcf.c sshargon2.c sshauxcrypt.c sshblake2.c sshblowf.c \
		sshccp.c sshcommon.c sshcrc.c sshcrcda.c sshdes.c sshdh.c \
		sshdss.c sshecc.c sshgssc.c sshhmac.c sshmac.c sshmd5.c \
		sshprng.c sshpubk.c sshrand.c sshrsa.c sshsh256.c sshsh512.c \
		sshsha.c sshsha3.c sshshare.c sshutils.c sshverstring.c \
		sshzlib.c stripctrl.c supdup.c telnet.c time.c timing.c \
		tree234.c unix/ux_x11.c unix/uxagentc.c unix/uxcliloop.c \
		unix/uxcons.c unix/uxfdsock.c unix/uxgss.c unix/uxmisc.c \
		unix/uxnet.c unix/uxnogtk.c unix/uxnoise.c unix/uxpeer.c \
		unix/uxplink.c unix/uxpoll.c unix/uxproxy.c unix/uxsel.c \
		unix/uxser.c unix/uxshare.c unix/uxsignal.c unix/uxstore.c \
		unix/uxutils.c utils.c wcwidth.c wildcard.c x11fwd.c
plink_LDADD = libversion.a

pscp_SOURCES = agentf.c aqsync.c be_misc.c be_ssh.c callback.c clicons.c \
		cmdline.c conf.c console.c cproxy.c ecc.c errsock.c \
		logging.c mainchan.c marshal.c memory.c misc.c mpint.c \
		nullplug.c pgssapi.c pinger.c portfwd.c proxy.c pscp.c \
		psftpcommon.c settings.c sftp.c sftpcommon.c ssh.c ssh1bpp.c \
		ssh1censor.c ssh1connection-client.c ssh1connection.c \
		ssh1login.c ssh2bpp-bare.c ssh2bpp.c ssh2censor.c \
		ssh2connection-client.c ssh2connection.c ssh2kex-client.c \
		ssh2transhk.c ssh2transport.c ssh2userauth.c sshaes.c \
		ssharcf.c sshargon2.c sshauxcrypt.c sshblake2.c sshblowf.c \
		sshccp.c sshcommon.c sshcrc.c sshcrcda.c sshdes.c sshdh.c \
		sshdss.c sshecc.c sshgssc.c sshhmac.c sshmac.c sshmd5.c \
		sshprng.c sshpubk.c sshrand.c sshrsa.c sshsh256.c sshsh512.c \
		sshsha.c sshsha3.c sshshare.c sshutils.c sshverstring.c \
		sshzlib.c stripctrl.c time.c timing.c tree234.c \
		unix/uxagentc.c unix/uxcliloop.c unix/uxcons.c \
		unix/uxfdsock.c unix/uxgss.c unix/uxmisc.c unix/uxnet.c \
		unix/uxnogtk.c unix/uxnoise.c unix/uxpeer.c unix/uxpoll.c \
		unix/uxproxy.c unix/uxsel.c unix/uxsftp.c unix/uxshare.c \
		unix/uxstore.c unix/uxutils.c utils.c wcwidth.c wildcard.c \
		x11fwd.c
pscp_LDADD = libversion.a

psftp_SOURCES = agentf.c aqsync.c be_misc.c be_ssh.c callback.c clicons.c \
		cmdline.c conf.c console.c cproxy.c ecc.c errsock.c \
		logging.c mainchan.c marshal.c memory.c misc.c mpint.c \
		nullplug.c pgssapi.c pinger.c portfwd.c proxy.c psftp.c \
		psftpcommon.c settings.c sftp.c sftpcommon.c ssh.c ssh1bpp.c \
		ssh1censor.c ssh1connection-client.c ssh1connection.c \
		ssh1login.c ssh2bpp-bare.c ssh2bpp.c ssh2censor.c \
		ssh2connection-client.c ssh2connection.c ssh2kex-client.c \
		ssh2transhk.c ssh2transport.c ssh2userauth.c sshaes.c \
		ssharcf.c sshargon2.c sshauxcrypt.c sshblake2.c sshblowf.c \
		sshccp.c sshcommon.c sshcrc.c sshcrcda.c sshdes.c sshdh.c \
		sshdss.c sshecc.c sshgssc.c sshhmac.c sshmac.c sshmd5.c \
		sshprng.c sshpubk.c sshrand.c sshrsa.c sshsh256.c sshsh512.c \
		sshsha.c sshsha3.c sshshare.c sshutils.c sshverstring.c \
		sshzlib.c stripctrl.c time.c timing.c tree234.c \
		unix/uxagentc.c unix/uxcliloop.c unix/uxcons.c \
		unix/uxfdsock.c unix/uxgss.c unix/uxmisc.c unix/uxnet.c \
		unix/uxnogtk.c unix/uxnoise.c unix/uxpeer.c unix/uxpoll.c \
		unix/uxproxy.c unix/uxsel.c unix/uxsftp.c unix/uxshare.c \
		unix/uxstore.c unix/uxutils.c utils.c wcwidth.c wildcard.c \
		x11fwd.c
psftp_LDADD = libversion.a

psocks_SOURCES = be_misc.c callback.c conf.c console.c errsock.c logging.c \
		marshal.c memory.c misc.c nocproxy.c norand.c portfwd.c \
		proxy.c psocks.c sshutils.c stripctrl.c time.c timing.c \
		tree234.c unix/uxcliloop.c unix/uxcons.c unix/uxfdsock.c \
		unix/uxmisc.c unix/uxnet.c unix/uxnogtk.c unix/uxpeer.c \
		unix/uxpoll.c unix/uxproxy.c unix/uxsel.c unix/uxsignal.c \
		unix/uxsocks.c utils.c wcwidth.c
psocks_LDADD = libversion.a

psusan_SOURCES = be_misc.c be_none.c callback.c conf.c cproxy.c ecc.c \
		errsock.c logging.c marshal.c memory.c millerrabin.c misc.c \
		mpint.c mpunsafe.c nogss.c nullplug.c pgssapi.c pockle.c \
		portfwd.c primecandidate.c proxy.c scpserver.c sesschan.c \
		settings.c sftpcommon.c sftpserver.c smallprimes.c ssh1bpp.c \
		ssh1censor.c ssh1connection-server.c ssh1connection.c \
		ssh1login-server.c ssh2bpp-bare.c ssh2bpp.c ssh2censor.c \
		ssh2connection-server.c ssh2connection.c ssh2kex-server.c \
		ssh2transhk.c ssh2transport.c ssh2userauth-server.c sshaes.c \
		ssharcf.c sshargon2.c sshauxcrypt.c sshblake2.c sshblowf.c \
		sshccp.c sshcommon.c sshcrc.c sshcrcda.c sshdes.c sshdh.c \
		sshdss.c sshecc.c sshgssc.c sshhmac.c sshmac.c sshmd5.c \
		sshprime.c sshprng.c sshpubk.c sshrand.c sshrsa.c sshrsag.c \
		sshserver.c sshsh256.c sshsh512.c sshsha.c sshsha3.c \
		sshutils.c sshverstring.c sshzlib.c stripctrl.c time.c \
		timing.c tree234.c unix/procnet.c unix/ux_x11.c \
		unix/uxagentsock.c unix/uxcliloop.c unix/uxfdsock.c \
		unix/uxmisc.c unix/uxnet.c unix/uxnogtk.c unix/uxnoise.c \
		unix/uxpeer.c unix/uxpoll.c unix/uxproxy.c unix/uxpsusan.c \
		unix/uxpty.c unix/uxsel.c unix/uxsftpserver.c \
		unix/uxsignal.c unix/uxstore.c unix/uxutils.c utils.c \
		wcwidth.c wildcard.c x11fwd.c
psusan_LDADD = libversion.a

if HAVE_GTK
pterm_SOURCES = be_none.c callback.c charset/fromucs.c charset/localenc.c \
		charset/macenc.c charset/mimeenc.c charset/sbcs.c \
		charset/sbcsdat.c charset/slookup.c charset/toucs.c \
		charset/utf8.c charset/xenc.c cmdline.c conf.c config.c \
		dialog.c ldisc.c logging.c marshal.c memory.c minibidi.c \
		misc.c miscucs.c nocproxy.c nogss.c sessprep.c settings.c \
		stripctrl.c terminal.c time.c timing.c tree234.c \
		unix/gtkcfg.c unix/gtkcols.c unix/gtkcomm.c unix/gtkdlg.c \
		unix/gtkfont.c unix/gtkmain.c unix/gtkmisc.c unix/gtkwin.c \
		unix/uxcfg.c unix/uxmisc.c unix/uxprint.c unix/uxpterm.c \
		unix/uxpty.c unix/uxsel.c unix/uxsignal.c unix/uxstore.c \
		unix/uxucs.c unix/x11misc.c unix/xkeysym.c unix/xpmptcfg.c \
		unix/xpmpterm.c utils.c wcwidth.c
pterm_LDADD = libversion.a $(GTK_LIBS)
endif

if HAVE_GTK
ptermapp_SOURCES = be_none.c callback.c charset/fromucs.c charset/localenc.c \
		charset/macenc.c charset/mimeenc.c charset/sbcs.c \
		charset/sbcsdat.c charset/slookup.c charset/toucs.c \
		charset/utf8.c charset/xenc.c conf.c config.c dialog.c \
		ldisc.c logging.c marshal.c memory.c minibidi.c misc.c \
		miscucs.c nocmdline.c nocproxy.c nogss.c sessprep.c \
		settings.c stripctrl.c terminal.c time.c timing.c tree234.c \
		unix/gtkapp.c unix/gtkcfg.c unix/gtkcols.c unix/gtkcomm.c \
		unix/gtkdlg.c unix/gtkfont.c unix/gtkmisc.c unix/gtkwin.c \
		unix/uxcfg.c unix/uxmisc.c unix/uxprint.c unix/uxpterm.c \
		unix/uxpty.c unix/uxsel.c unix/uxsignal.c unix/uxstore.c \
		unix/uxucs.c unix/x11misc.c unix/xkeysym.c unix/xpmptcfg.c \
		unix/xpmpterm.c utils.c wcwidth.c
ptermapp_LDADD = libversion.a $(GTK_LIBS)
endif

if HAVE_GTK
putty_SOURCES = agentf.c aqsync.c be_all_s.c be_misc.c callback.c \
		charset/fromucs.c charset/localenc.c charset/macenc.c \
		charset/mimeenc.c charset/sbcs.c charset/sbcsdat.c \
		charset/slookup.c charset/toucs.c charset/utf8.c \
		charset/xenc.c cmdline.c conf.c config.c cproxy.c dialog.c \
		ecc.c errsock.c ldisc.c logging.c mainchan.c marshal.c \
		memory.c minibidi.c misc.c miscucs.c mpint.c nullplug.c \
		pgssapi.c pinger.c portfwd.c proxy.c raw.c rlogin.c \
		sessprep.c settings.c ssh.c ssh1bpp.c ssh1censor.c \
		ssh1connection-client.c ssh1connection.c ssh1login.c \
		ssh2bpp-bare.c ssh2bpp.c ssh2censor.c \
		ssh2connection-client.c ssh2connection.c ssh2kex-client.c \
		ssh2transhk.c ssh2transport.c ssh2userauth.c sshaes.c \
		ssharcf.c sshargon2.c sshauxcrypt.c sshblake2.c sshblowf.c \
		sshccp.c sshcommon.c sshcrc.c sshcrcda.c sshdes.c sshdh.c \
		sshdss.c sshecc.c sshgssc.c sshhmac.c sshmac.c sshmd5.c \
		sshprng.c sshpubk.c sshrand.c sshrsa.c sshsh256.c sshsh512.c \
		sshsha.c sshsha3.c sshshare.c sshutils.c sshverstring.c \
		sshzlib.c stripctrl.c supdup.c telnet.c terminal.c time.c \
		timing.c tree234.c unix/gtkcfg.c unix/gtkcols.c \
		unix/gtkcomm.c unix/gtkdlg.c unix/gtkfont.c unix/gtkmain.c \
		unix/gtkmisc.c unix/gtkwin.c unix/ux_x11.c unix/uxagentc.c \
		unix/uxcfg.c unix/uxfdsock.c unix/uxgss.c unix/uxmisc.c \
		unix/uxnet.c unix/uxnoise.c unix/uxpeer.c unix/uxpoll.c \
		unix/uxprint.c unix/uxproxy.c unix/uxputty.c unix/uxsel.c \
		unix/uxser.c unix/uxshare.c unix/uxsignal.c unix/uxstore.c \
		unix/uxucs.c unix/uxutils.c unix/x11misc.c unix/xkeysym.c \
		unix/xpmpucfg.c unix/xpmputty.c utils.c wcwidth.c wildcard.c \
		x11fwd.c
putty_LDADD = libversion.a $(GTK_LIBS)
endif

if HAVE_GTK
puttyapp_SOURCES = agentf.c aqsync.c be_all_s.c be_misc.c callback.c \
		charset/fromucs.c charset/localenc.c charset/macenc.c \
		charset/mimeenc.c charset/sbcs.c charset/sbcsdat.c \
		charset/slookup.c charset/toucs.c charset/utf8.c \
		charset/xenc.c conf.c config.c cproxy.c dialog.c ecc.c \
		errsock.c ldisc.c logging.c mainchan.c marshal.c memory.c \
		minibidi.c misc.c miscucs.c mpint.c nocmdline.c nullplug.c \
		pgssapi.c pinger.c portfwd.c proxy.c raw.c rlogin.c \
		sessprep.c settings.c ssh.c ssh1bpp.c ssh1censor.c \
		ssh1connection-client.c ssh1connection.c ssh1login.c \
		ssh2bpp-bare.c ssh2bpp.c ssh2censor.c \
		ssh2connection-client.c ssh2connection.c ssh2kex-client.c \
		ssh2transhk.c ssh2transport.c ssh2userauth.c sshaes.c \
		ssharcf.c sshargon2.c sshauxcrypt.c sshblake2.c sshblowf.c \
		sshccp.c sshcommon.c sshcrc.c sshcrcda.c sshdes.c sshdh.c \
		sshdss.c sshecc.c sshgssc.c sshhmac.c sshmac.c sshmd5.c \
		sshprng.c sshpubk.c sshrand.c sshrsa.c sshsh256.c sshsh512.c \
		sshsha.c sshsha3.c sshshare.c sshutils.c sshverstring.c \
		sshzlib.c stripctrl.c supdup.c telnet.c terminal.c time.c \
		timing.c tree234.c unix/gtkapp.c unix/gtkcfg.c \
		unix/gtkcols.c unix/gtkcomm.c unix/gtkdlg.c unix/gtkfont.c \
		unix/gtkmisc.c unix/gtkwin.c unix/ux_x11.c unix/uxagentc.c \
		unix/uxcfg.c unix/uxfdsock.c unix/uxgss.c unix/uxmisc.c \
		unix/uxnet.c unix/uxnoise.c unix/uxpeer.c unix/uxpoll.c \
		unix/uxprint.c unix/uxproxy.c unix/uxputty.c unix/uxsel.c \
		unix/uxser.c unix/uxshare.c unix/uxsignal.c unix/uxstore.c \
		unix/uxucs.c unix/uxutils.c unix/x11misc.c unix/xkeysym.c \
		unix/xpmpucfg.c unix/xpmputty.c utils.c wcwidth.c wildcard.c \
		x11fwd.c
puttyapp_LDADD = libversion.a $(GTK_LIBS)
endif

puttygen_SOURCES = cmdgen.c conf.c console.c ecc.c import.c marshal.c \
		memory.c millerrabin.c misc.c mpint.c mpunsafe.c notiming.c \
		pockle.c primecandidate.c smallprimes.c sshaes.c sshargon2.c \
		sshauxcrypt.c sshbcrypt.c sshblake2.c sshblowf.c sshdes.c \
		sshdss.c sshdssg.c sshecc.c sshecdsag.c sshhmac.c sshmd5.c \
		sshprime.c sshprng.c sshpubk.c sshrand.c sshrsa.c sshrsag.c \
		sshsh256.c sshsh512.c sshsha.c sshsha3.c stripctrl.c time.c \
		tree234.c unix/uxcons.c unix/uxgen.c unix/uxmisc.c \
		unix/uxnogtk.c unix/uxnoise.c unix/uxpoll.c unix/uxstore.c \
		unix/uxutils.c utils.c wcwidth.c
puttygen_LDADD = libversion.a

if HAVE_GTK
puttytel_SOURCES = be_misc.c be_nos_s.c callback.c charset/fromucs.c \
		charset/localenc.c charset/macenc.c charset/mimeenc.c \
		charset/sbcs.c charset/sbcsdat.c charset/slookup.c \
		charset/toucs.c charset/utf8.c charset/xenc.c cmdline.c \
		conf.c config.c dialog.c errsock.c ldisc.c logging.c \
		marshal.c memory.c minibidi.c misc.c miscucs.c nocproxy.c \
		nogss.c norand.c pinger.c proxy.c raw.c rlogin.c sessprep.c \
		settings.c stripctrl.c supdup.c telnet.c terminal.c time.c \
		timing.c tree234.c unix/gtkcfg.c unix/gtkcols.c \
		unix/gtkcomm.c unix/gtkdlg.c unix/gtkfont.c unix/gtkmain.c \
		unix/gtkmisc.c unix/gtkwin.c unix/uxcfg.c unix/uxfdsock.c \
		unix/uxmisc.c unix/uxnet.c unix/uxpeer.c unix/uxpoll.c \
		unix/uxprint.c unix/uxproxy.c unix/uxputty.c unix/uxsel.c \
		unix/uxser.c unix/uxsignal.c unix/uxstore.c unix/uxucs.c \
		unix/uxutils.c unix/x11misc.c unix/xkeysym.c unix/xpmpucfg.c \
		unix/xpmputty.c utils.c wcwidth.c
puttytel_LDADD = libversion.a $(GTK_LIBS)
endif

testcrypt_SOURCES = ecc.c marshal.c memory.c millerrabin.c mpint.c \
		mpunsafe.c pockle.c primecandidate.c smallprimes.c sshaes.c \
		ssharcf.c sshargon2.c sshauxcrypt.c sshblake2.c sshblowf.c \
		sshccp.c sshcrc.c sshcrcda.c sshdes.c sshdh.c sshdss.c \
		sshdssg.c sshecc.c sshecdsag.c sshhmac.c sshmd5.c sshprime.c \
		sshprng.c sshpubk.c sshrsa.c sshrsag.c sshsh256.c sshsh512.c \
		sshsha.c sshsha3.c testcrypt.c tree234.c unix/uxutils.c \
		utils.c

testsc_SOURCES = ecc.c marshal.c memory.c mpint.c sshaes.c ssharcf.c \
		sshargon2.c sshauxcrypt.c sshblake2.c sshblowf.c sshccp.c \
		sshcrc.c sshcrcda.c sshdes.c sshdh.c sshdss.c sshecc.c \
		sshhmac.c sshmac.c sshmd5.c sshpubk.c sshrsa.c sshsh256.c \
		sshsh512.c sshsha.c sshsha3.c testsc.c tree234.c \
		unix/uxutils.c utils.c wildcard.c

testzlib_SOURCES = marshal.c memory.c sshzlib.c testzlib.c utils.c

uppity_SOURCES = be_misc.c be_none.c callback.c conf.c cproxy.c ecc.c \
		errsock.c logging.c marshal.c memory.c millerrabin.c misc.c \
		mpint.c mpunsafe.c nullplug.c pgssapi.c pockle.c portfwd.c \
		primecandidate.c proxy.c scpserver.c sesschan.c settings.c \
		sftpcommon.c sftpserver.c smallprimes.c ssh1bpp.c \
		ssh1censor.c ssh1connection-server.c ssh1connection.c \
		ssh1login-server.c ssh2bpp-bare.c ssh2bpp.c ssh2censor.c \
		ssh2connection-server.c ssh2connection.c ssh2kex-server.c \
		ssh2transhk.c ssh2transport.c ssh2userauth-server.c sshaes.c \
		ssharcf.c sshargon2.c sshauxcrypt.c sshblake2.c sshblowf.c \
		sshccp.c sshcommon.c sshcrc.c sshcrcda.c sshdes.c sshdh.c \
		sshdss.c sshecc.c sshgssc.c sshhmac.c sshmac.c sshmd5.c \
		sshprime.c sshprng.c sshpubk.c sshrand.c sshrsa.c sshrsag.c \
		sshserver.c sshsh256.c sshsh512.c sshsha.c sshsha3.c \
		sshutils.c sshverstring.c sshzlib.c stripctrl.c time.c \
		timing.c tree234.c unix/procnet.c unix/ux_x11.c \
		unix/uxagentsock.c unix/uxcliloop.c unix/uxfdsock.c \
		unix/uxgss.c unix/uxmisc.c unix/uxnet.c unix/uxnogtk.c \
		unix/uxnoise.c unix/uxpeer.c unix/uxpoll.c unix/uxproxy.c \
		unix/uxpty.c unix/uxsel.c unix/uxserver.c \
		unix/uxsftpserver.c unix/uxsignal.c unix/uxstore.c \
		unix/uxutils.c utils.c wcwidth.c wildcard.c x11fwd.c
uppity_LDADD = libversion.a

if AUTO_GIT_COMMIT
BUILT_SOURCES = empty.h
CLEANFILES = empty.h
libversion_a_CFLAGS += -DSOURCE_COMMIT=\"`git --git-dir=$(srcdir)/.git rev-parse HEAD 2>/dev/null`\"
empty.h: $(allsources)
	echo '/* Empty file touched by automake makefile to force rebuild of version.o */' >$@
endif

# Run the cryptsuite tests as part of 'make check'. Override
# PUTTY_TESTCRYPT so that cryptsuite will take the testcrypt binary
# from the build directory instead of the source directory, in case
# this is an out-of-tree build.
check-local: testcrypt
	PUTTY_TESTCRYPT=./testcrypt $(srcdir)/test/cryptsuite.py

if HAVE_GTK
man1_MANS = doc/plink.1 doc/pscp.1 doc/psftp.1 doc/puttygen.1 doc/psusan.1 \
	    doc/pageant.1 doc/pterm.1 doc/putty.1 doc/puttytel.1
else
man1_MANS = doc/plink.1 doc/pscp.1 doc/psftp.1 doc/puttygen.1 doc/psusan.1
endif
if HAVE_SETID_CMD
install-exec-local:
	@SETID_CMD@ $(bindir)/pterm
	chmod @SETID_MODE@ $(bindir)/pterm
endif
if HAVE_QUARTZ
noinst_SCRIPTS = unix/PuTTY.app unix/Pterm.app
unix/PuTTY.app: unix/putty.bundle puttyapp osxlaunch
	rm -rf $@ && PUTTY_GTK_PREFIX_FROM_MAKEFILE=$$(pkg-config --variable=prefix gtk+-3.0) gtk-mac-bundler $<
unix/Pterm.app: unix/pterm.bundle ptermapp osxlaunch
	rm -rf $@ && PUTTY_GTK_PREFIX_FROM_MAKEFILE=$$(pkg-config --variable=prefix gtk+-3.0) gtk-mac-bundler $<
endif