📄 makefile.cyg
字号:
# Makefile for putty under cygwin.## This file was created by `mkfiles.pl' from the `Recipe' file.# DO NOT EDIT THIS FILE DIRECTLY; edit Recipe or mkfiles.pl instead.## Extra options you can set:## - FWHACK=-DFWHACK# Enables a hack that tunnels through some firewall proxies.## - VER=-DSNAPSHOT=1999-01-25# Generates executables whose About box report them as being a# development snapshot.## - VER=-DRELEASE=0.43# Generates executables whose About box report them as being a# release version.## - COMPAT=-DAUTO_WINSOCK# Causes PuTTY to assume that <windows.h> includes its own WinSock# header file, so that it won't try to include <winsock.h>.## - COMPAT=-DWINSOCK_TWO# Causes the PuTTY utilities to include <winsock2.h> instead of# <winsock.h>, except Plink which _needs_ WinSock 2 so it already# does this.## - COMPAT=-DNO_SECURITY# Disables Pageant's use of <aclapi.h>, which is not available# with some development environments (such as older versions of# the Cygwin/mingw GNU toolchain). This means that Pageant# won't care about the local user ID of processes accessing it; a# version of Pageant built with this option will therefore refuse# to run under NT-series OSes on security grounds (although it# will run fine on Win95-series OSes where there is no access# control anyway).## - COMPAT=-DNO_MULTIMON# Disables PuTTY's use of <multimon.h>, which is not available# with some development environments. This means that PuTTY's# full-screen mode (configurable to work on Alt-Enter) will# not behave usefully in a multi-monitor environment.## Note that this definition is always enabled in the Cygwin# build, since at the time of writing this <multimon.h> is# known not to be available in Cygwin.## - COMPAT=-DMSVC4# - RCFL=-DMSVC4# Makes a couple of minor changes so that PuTTY compiles using# MSVC 4. You will also need /DNO_SECURITY and /DNO_MULTIMON.## - RCFL=-DASCIICTLS# Uses ASCII rather than Unicode to specify the tab control in# the resource file. Probably most useful when compiling with# Cygnus/mingw32, whose resource compiler may have less of a# problem with it.## - XFLAGS=-DTELNET_DEFAULT# Causes PuTTY to default to the Telnet protocol (in the absence# of Default Settings and so on to the contrary). Normally PuTTY# will default to SSH.## - XFLAGS=-DDEBUG# Causes PuTTY to enable internal debugging.## - XFLAGS=-DMALLOC_LOG# Causes PuTTY to emit a file called putty_mem.log, logging every# memory allocation and free, so you can track memory leaks.## - XFLAGS=-DMINEFIELD# Causes PuTTY to use a custom memory allocator, similar in# concept to Electric Fence, in place of regular malloc(). Wastes# huge amounts of RAM, but should cause heap-corruption bugs to# show up as GPFs at the point of failure rather than appearing# later on as second-level damage.## You can define this path to point at your tools if you need to# TOOLPATH = c:\cygwin\bin\ # or similar, if you're running Windows# TOOLPATH = /pkg/mingw32msvc/i386-mingw32msvc/bin/CC = $(TOOLPATH)gccRC = $(TOOLPATH)windres# Uncomment the following two lines to compile under Winelib# CC = winegcc# RC = wrc# You may also need to tell windres where to find include files:# RCINC = --include-dir c:\cygwin\include\CFLAGS = -mno-cygwin -Wall -O2 -D_WINDOWS -DDEBUG -DWIN32S_COMPAT \ -D_NO_OLDNAMES -DNO_MULTIMON -I./ -Icharset/ -Iunix/ -Imac/LDFLAGS = -mno-cygwin -sRCFLAGS = $(RCINC) --define WIN32=1 --define _WIN32=1 --define WINVER=0x0400 \ --define MINGW32_FIX=1.SUFFIXES:%.o: %.c $(CC) $(COMPAT) $(FWHACK) $(XFLAGS) $(CFLAGS) -c $<%.res.o: %.rc $(RC) $(FWHACK) $(RCFL) $(RCFLAGS) $< $@all: pageant.exe plink.exe pscp.exe psftp.exe putty.exe puttygen.exe \ puttytel.exepageant.exe: misc.o pageant.o pageant.res.o pageantc.o sshaes.o sshbn.o \ sshdes.o sshdss.o sshmd5.o sshpubk.o sshrsa.o sshsh512.o \ sshsha.o tree234.o version.o winmisc.o winutils.o $(CC) -mwindows $(LDFLAGS) -o $@ -Wl,-Map,pageant.map misc.o \ pageant.o pageant.res.o pageantc.o sshaes.o sshbn.o sshdes.o \ sshdss.o sshmd5.o sshpubk.o sshrsa.o sshsh512.o sshsha.o \ tree234.o version.o winmisc.o winutils.o -ladvapi32 \ -lcomctl32 -lcomdlg32 -lgdi32 -limm32 -lshell32 -luser32 \ -lwinmm -lwinspoolplink.exe: be_all.o cmdline.o console.o cproxy.o ldisc.o logging.o misc.o \ noise.o pageantc.o plink.o plink.res.o portfwd.o pproxy.o \ proxy.o raw.o rlogin.o settings.o ssh.o sshaes.o sshblowf.o \ sshbn.o sshcrc.o sshcrcda.o sshdes.o sshdh.o sshdss.o \ sshmd5.o sshpubk.o sshrand.o sshrsa.o sshsh512.o sshsha.o \ sshzlib.o telnet.o tree234.o version.o wildcard.o windefs.o \ winmisc.o winnet.o winstore.o x11fwd.o $(CC) $(LDFLAGS) -o $@ -Wl,-Map,plink.map be_all.o cmdline.o \ console.o cproxy.o ldisc.o logging.o misc.o noise.o \ pageantc.o plink.o plink.res.o portfwd.o pproxy.o proxy.o \ raw.o rlogin.o settings.o ssh.o sshaes.o sshblowf.o sshbn.o \ sshcrc.o sshcrcda.o sshdes.o sshdh.o sshdss.o sshmd5.o \ sshpubk.o sshrand.o sshrsa.o sshsh512.o sshsha.o sshzlib.o \ telnet.o tree234.o version.o wildcard.o windefs.o winmisc.o \ winnet.o winstore.o x11fwd.o -ladvapi32 -lcomctl32 \ -lcomdlg32 -lgdi32 -limm32 -lshell32 -luser32 -lwinmm \ -lwinspoolpscp.exe: be_none.o cmdline.o console.o cproxy.o int64.o logging.o misc.o \ noise.o pageantc.o portfwd.o pproxy.o proxy.o scp.o \ scp.res.o settings.o sftp.o ssh.o sshaes.o sshblowf.o \ sshbn.o sshcrc.o sshcrcda.o sshdes.o sshdh.o sshdss.o \ sshmd5.o sshpubk.o sshrand.o sshrsa.o sshsh512.o sshsha.o \ sshzlib.o tree234.o version.o wildcard.o windefs.o winmisc.o \ winnet.o winsftp.o winstore.o x11fwd.o $(CC) $(LDFLAGS) -o $@ -Wl,-Map,pscp.map be_none.o cmdline.o \ console.o cproxy.o int64.o logging.o misc.o noise.o \ pageantc.o portfwd.o pproxy.o proxy.o scp.o scp.res.o \ settings.o sftp.o ssh.o sshaes.o sshblowf.o sshbn.o sshcrc.o \ sshcrcda.o sshdes.o sshdh.o sshdss.o sshmd5.o sshpubk.o \ sshrand.o sshrsa.o sshsh512.o sshsha.o sshzlib.o tree234.o \ version.o wildcard.o windefs.o winmisc.o winnet.o winsftp.o \ winstore.o x11fwd.o -ladvapi32 -lcomctl32 -lcomdlg32 -lgdi32 \ -limm32 -lshell32 -luser32 -lwinmm -lwinspoolpsftp.exe: be_none.o cmdline.o console.o cproxy.o int64.o logging.o misc.o \ noise.o pageantc.o portfwd.o pproxy.o proxy.o psftp.o \ scp.res.o settings.o sftp.o ssh.o sshaes.o sshblowf.o \ sshbn.o sshcrc.o sshcrcda.o sshdes.o sshdh.o sshdss.o \ sshmd5.o sshpubk.o sshrand.o sshrsa.o sshsh512.o sshsha.o \ sshzlib.o tree234.o version.o wildcard.o windefs.o winmisc.o \ winnet.o winsftp.o winstore.o x11fwd.o $(CC) $(LDFLAGS) -o $@ -Wl,-Map,psftp.map be_none.o cmdline.o \ console.o cproxy.o int64.o logging.o misc.o noise.o \ pageantc.o portfwd.o pproxy.o proxy.o psftp.o scp.res.o \ settings.o sftp.o ssh.o sshaes.o sshblowf.o sshbn.o sshcrc.o \ sshcrcda.o sshdes.o sshdh.o sshdss.o sshmd5.o sshpubk.o \ sshrand.o sshrsa.o sshsh512.o sshsha.o sshzlib.o tree234.o \ version.o wildcard.o windefs.o winmisc.o winnet.o winsftp.o \ winstore.o x11fwd.o -ladvapi32 -lcomctl32 -lcomdlg32 -lgdi32 \ -limm32 -lshell32 -luser32 -lwinmm -lwinspoolputty.exe: be_all.o cmdline.o config.o cproxy.o dialog.o ldisc.o ldiscucs.o \ logging.o minibidi.o misc.o noise.o pageantc.o portfwd.o \ pproxy.o printing.o proxy.o raw.o rlogin.o settings.o \ sizetip.o ssh.o sshaes.o sshblowf.o sshbn.o sshcrc.o \ sshcrcda.o sshdes.o sshdh.o sshdss.o sshmd5.o sshpubk.o \ sshrand.o sshrsa.o sshsh512.o sshsha.o sshzlib.o telnet.o \ terminal.o tree234.o unicode.o version.o wcwidth.o \ wildcard.o win_res.res.o wincfg.o winctrls.o windefs.o \ windlg.o window.o winmisc.o winnet.o winstore.o winutils.o \ x11fwd.o $(CC) -mwindows $(LDFLAGS) -o $@ -Wl,-Map,putty.map be_all.o \ cmdline.o config.o cproxy.o dialog.o ldisc.o ldiscucs.o \ logging.o minibidi.o misc.o noise.o pageantc.o portfwd.o \ pproxy.o printing.o proxy.o raw.o rlogin.o settings.o \ sizetip.o ssh.o sshaes.o sshblowf.o sshbn.o sshcrc.o \ sshcrcda.o sshdes.o sshdh.o sshdss.o sshmd5.o sshpubk.o \ sshrand.o sshrsa.o sshsh512.o sshsha.o sshzlib.o telnet.o \ terminal.o tree234.o unicode.o version.o wcwidth.o \ wildcard.o win_res.res.o wincfg.o winctrls.o windefs.o \ windlg.o window.o winmisc.o winnet.o winstore.o winutils.o \ x11fwd.o -ladvapi32 -lcomctl32 -lcomdlg32 -lgdi32 -limm32 \ -lshell32 -luser32 -lwinmm -lwinspoolputtygen.exe: import.o misc.o noise.o puttygen.o puttygen.res.o sshaes.o \ sshbn.o sshdes.o sshdss.o sshdssg.o sshmd5.o sshprime.o \ sshpubk.o sshrand.o sshrsa.o sshrsag.o sshsh512.o sshsha.o \ tree234.o version.o winctrls.o winmisc.o winstore.o \ winutils.o $(CC) -mwindows $(LDFLAGS) -o $@ -Wl,-Map,puttygen.map import.o \ misc.o noise.o puttygen.o puttygen.res.o sshaes.o sshbn.o \ sshdes.o sshdss.o sshdssg.o sshmd5.o sshprime.o sshpubk.o \ sshrand.o sshrsa.o sshrsag.o sshsh512.o sshsha.o tree234.o \ version.o winctrls.o winmisc.o winstore.o winutils.o \ -ladvapi32 -lcomctl32 -lcomdlg32 -lgdi32 -limm32 -lshell32 \ -luser32 -lwinmm -lwinspoolputtytel.exe: be_nossh.o cmdline.o config.o dialog.o ldisc.o ldiscucs.o \ logging.o minibidi.o misc.o nocproxy.o pproxy.o printing.o \ proxy.o raw.o rlogin.o settings.o sizetip.o telnet.o \ terminal.o tree234.o unicode.o version.o wcwidth.o \ win_res.res.o wincfg.o winctrls.o windefs.o windlg.o \ window.o winmisc.o winnet.o winstore.o winutils.o $(CC) -mwindows $(LDFLAGS) -o $@ -Wl,-Map,puttytel.map be_nossh.o \ cmdline.o config.o dialog.o ldisc.o ldiscucs.o logging.o \ minibidi.o misc.o nocproxy.o pproxy.o printing.o proxy.o \ raw.o rlogin.o settings.o sizetip.o telnet.o terminal.o \ tree234.o unicode.o version.o wcwidth.o win_res.res.o \ wincfg.o winctrls.o windefs.o windlg.o window.o winmisc.o \ winnet.o winstore.o winutils.o -ladvapi32 -lcomctl32 \ -lcomdlg32 -lgdi32 -limm32 -lshell32 -luser32 -lwinmm \ -lwinspoolbe_all.o: ./be_all.c ./putty.h ./puttyps.h ./network.h ./misc.h ./winstuff.h \ mac/macstuff.h unix/unix.h ./puttymem.h ./tree234.h \ ./winhelp.h charset/charset.hbe_none.o: ./be_none.c ./putty.h ./puttyps.h ./network.h ./misc.h \ ./winstuff.h mac/macstuff.h unix/unix.h ./puttymem.h \ ./tree234.h ./winhelp.h charset/charset.hbe_nossh.o: ./be_nossh.c ./putty.h ./puttyps.h ./network.h ./misc.h \ ./winstuff.h mac/macstuff.h unix/unix.h ./puttymem.h \ ./tree234.h ./winhelp.h charset/charset.hcmdgen.o: ./cmdgen.c ./putty.h ./ssh.h ./puttyps.h ./network.h ./misc.h \ ./puttymem.h ./int64.h ./winstuff.h mac/macstuff.h \ unix/unix.h ./tree234.h ./winhelp.h charset/charset.hcmdline.o: ./cmdline.c ./putty.h ./puttyps.h ./network.h ./misc.h \ ./winstuff.h mac/macstuff.h unix/unix.h ./puttymem.h \ ./tree234.h ./winhelp.h charset/charset.hconfig.o: ./config.c ./putty.h ./dialog.h ./storage.h ./puttyps.h \ ./network.h ./misc.h ./winstuff.h mac/macstuff.h unix/unix.h \ ./puttymem.h ./tree234.h ./winhelp.h charset/charset.hconsole.o: ./console.c ./putty.h ./storage.h ./ssh.h ./puttyps.h ./network.h \ ./misc.h ./puttymem.h ./int64.h ./winstuff.h mac/macstuff.h \ unix/unix.h ./tree234.h ./winhelp.h charset/charset.hcproxy.o: ./cproxy.c ./putty.h ./ssh.h ./network.h ./proxy.h ./puttyps.h \ ./misc.h ./puttymem.h ./int64.h ./winstuff.h mac/macstuff.h \ unix/unix.h ./tree234.h ./winhelp.h charset/charset.hdialog.o: ./dialog.c ./putty.h ./dialog.h ./puttyps.h ./network.h ./misc.h \ ./winstuff.h mac/macstuff.h unix/unix.h ./puttymem.h \ ./tree234.h ./winhelp.h charset/charset.hfromucs.o: charset/fromucs.c charset/charset.h charset/internal.hgtkcols.o: unix/gtkcols.c unix/gtkcols.hgtkdlg.o: unix/gtkdlg.c unix/gtkcols.h unix/gtkpanel.h ./putty.h ./storage.h \ ./dialog.h ./tree234.h ./puttyps.h ./network.h ./misc.h \ ./winstuff.h mac/macstuff.h unix/unix.h ./puttymem.h \ ./winhelp.h charset/charset.hgtkpanel.o: unix/gtkpanel.c unix/gtkpanel.himport.o: ./import.c ./putty.h ./ssh.h ./misc.h ./puttyps.h ./network.h \ ./puttymem.h ./int64.h ./winstuff.h mac/macstuff.h \ unix/unix.h ./tree234.h ./winhelp.h charset/charset.hint64.o: ./int64.c ./int64.hldisc.o: ./ldisc.c ./putty.h ./terminal.h ./ldisc.h ./puttyps.h ./network.h \ ./misc.h ./tree234.h ./winstuff.h mac/macstuff.h unix/unix.h \ ./puttymem.h ./winhelp.h charset/charset.hldiscucs.o: ./ldiscucs.c ./putty.h ./terminal.h ./ldisc.h ./puttyps.h \ ./network.h ./misc.h ./tree234.h ./winstuff.h mac/macstuff.h \ unix/unix.h ./puttymem.h ./winhelp.h charset/charset.hlocalenc.o: charset/localenc.c charset/charset.h charset/internal.hlogging.o: ./logging.c ./putty.h ./puttyps.h ./network.h ./misc.h \ ./winstuff.h mac/macstuff.h unix/unix.h ./puttymem.h \ ./tree234.h ./winhelp.h charset/charset.hmac.o: mac/mac.c mac/macresid.h ./putty.h ./ssh.h ./terminal.h mac/mac.h \ ./puttyps.h ./network.h ./misc.h ./puttymem.h ./int64.h \ ./tree234.h charset/charset.h ./winstuff.h mac/macstuff.h \ unix/unix.h ./winhelp.hmac_res.res.o: mac/mac_res.r mac/macresid.h mac/version.rmacabout.o: mac/macabout.c ./putty.h mac/mac.h mac/macresid.h ./puttyps.h \
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -