📄 makefile.vc
字号:
# Makefile for putty under Visual C.## 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.## If you rename this file to `Makefile', you should change this line,# so that the .rsp files still depend on the correct makefile.MAKEFILE = Makefile.vc# C compilation flagsCFLAGS = /nologo /W3 /O1 /D_WINDOWS /D_WIN32_WINDOWS=0x401 /DWINVER=0x401LFLAGS = /incremental:no /fixed.c.obj: cl $(COMPAT) $(FWHACK) $(XFLAGS) $(CFLAGS) /c $*.c.rc.res: rc $(FWHACK) $(RCFL) -r -DWIN32 -D_WIN32 -DWINVER=0x0400 $*.rcall: pageant.exe plink.exe pscp.exe psftp.exe putty.exe puttygen.exe \ puttytel.exepageant.exe: misc.obj pageant.obj pageant.res pageantc.obj sshaes.obj \ sshbn.obj sshdes.obj sshdss.obj sshmd5.obj sshpubk.obj \ sshrsa.obj sshsh512.obj sshsha.obj tree234.obj version.obj \ winmisc.obj winutils.obj pageant.rsp link $(LFLAGS) -out:pageant.exe -map:pageant.map @pageant.rspplink.exe: be_all.obj cmdline.obj console.obj cproxy.obj ldisc.obj \ logging.obj misc.obj noise.obj pageantc.obj plink.obj \ plink.res portfwd.obj pproxy.obj proxy.obj raw.obj \ rlogin.obj settings.obj ssh.obj sshaes.obj sshblowf.obj \ sshbn.obj sshcrc.obj sshcrcda.obj sshdes.obj sshdh.obj \ sshdss.obj sshmd5.obj sshpubk.obj sshrand.obj sshrsa.obj \ sshsh512.obj sshsha.obj sshzlib.obj telnet.obj tree234.obj \ version.obj wildcard.obj windefs.obj winmisc.obj winnet.obj \ winstore.obj x11fwd.obj plink.rsp link $(LFLAGS) -out:plink.exe -map:plink.map @plink.rsppscp.exe: be_none.obj cmdline.obj console.obj cproxy.obj int64.obj \ logging.obj misc.obj noise.obj pageantc.obj portfwd.obj \ pproxy.obj proxy.obj scp.obj scp.res settings.obj sftp.obj \ ssh.obj sshaes.obj sshblowf.obj sshbn.obj sshcrc.obj \ sshcrcda.obj sshdes.obj sshdh.obj sshdss.obj sshmd5.obj \ sshpubk.obj sshrand.obj sshrsa.obj sshsh512.obj sshsha.obj \ sshzlib.obj tree234.obj version.obj wildcard.obj windefs.obj \ winmisc.obj winnet.obj winsftp.obj winstore.obj x11fwd.obj \ pscp.rsp link $(LFLAGS) -out:pscp.exe -map:pscp.map @pscp.rsppsftp.exe: be_none.obj cmdline.obj console.obj cproxy.obj int64.obj \ logging.obj misc.obj noise.obj pageantc.obj portfwd.obj \ pproxy.obj proxy.obj psftp.obj scp.res settings.obj sftp.obj \ ssh.obj sshaes.obj sshblowf.obj sshbn.obj sshcrc.obj \ sshcrcda.obj sshdes.obj sshdh.obj sshdss.obj sshmd5.obj \ sshpubk.obj sshrand.obj sshrsa.obj sshsh512.obj sshsha.obj \ sshzlib.obj tree234.obj version.obj wildcard.obj windefs.obj \ winmisc.obj winnet.obj winsftp.obj winstore.obj x11fwd.obj \ psftp.rsp link $(LFLAGS) -out:psftp.exe -map:psftp.map @psftp.rspputty.exe: be_all.obj cmdline.obj config.obj cproxy.obj dialog.obj ldisc.obj \ ldiscucs.obj logging.obj minibidi.obj misc.obj noise.obj \ pageantc.obj portfwd.obj pproxy.obj printing.obj proxy.obj \ raw.obj rlogin.obj settings.obj sizetip.obj ssh.obj \ sshaes.obj sshblowf.obj sshbn.obj sshcrc.obj sshcrcda.obj \ sshdes.obj sshdh.obj sshdss.obj sshmd5.obj sshpubk.obj \ sshrand.obj sshrsa.obj sshsh512.obj sshsha.obj sshzlib.obj \ telnet.obj terminal.obj tree234.obj unicode.obj version.obj \ wcwidth.obj wildcard.obj win_res.res wincfg.obj winctrls.obj \ windefs.obj windlg.obj window.obj winmisc.obj winnet.obj \ winstore.obj winutils.obj x11fwd.obj putty.rsp link $(LFLAGS) -out:putty.exe -map:putty.map @putty.rspputtygen.exe: import.obj misc.obj noise.obj puttygen.obj puttygen.res \ sshaes.obj sshbn.obj sshdes.obj sshdss.obj sshdssg.obj \ sshmd5.obj sshprime.obj sshpubk.obj sshrand.obj sshrsa.obj \ sshrsag.obj sshsh512.obj sshsha.obj tree234.obj version.obj \ winctrls.obj winmisc.obj winstore.obj winutils.obj \ puttygen.rsp link $(LFLAGS) -out:puttygen.exe -map:puttygen.map @puttygen.rspputtytel.exe: be_nossh.obj cmdline.obj config.obj dialog.obj ldisc.obj \ ldiscucs.obj logging.obj minibidi.obj misc.obj nocproxy.obj \ pproxy.obj printing.obj proxy.obj raw.obj rlogin.obj \ settings.obj sizetip.obj telnet.obj terminal.obj tree234.obj \ unicode.obj version.obj wcwidth.obj win_res.res wincfg.obj \ winctrls.obj windefs.obj windlg.obj window.obj winmisc.obj \ winnet.obj winstore.obj winutils.obj puttytel.rsp link $(LFLAGS) -out:puttytel.exe -map:puttytel.map @puttytel.rsppageant.rsp: $(MAKEFILE) echo /nologo /subsystem:windows > pageant.rsp echo advapi32.lib comctl32.lib comdlg32.lib gdi32.lib >> pageant.rsp echo imm32.lib misc.obj pageant.obj pageant.res >> pageant.rsp echo pageantc.obj shell32.lib sshaes.obj sshbn.obj >> pageant.rsp echo sshdes.obj sshdss.obj sshmd5.obj sshpubk.obj >> pageant.rsp echo sshrsa.obj sshsh512.obj sshsha.obj tree234.obj >> pageant.rsp echo user32.lib version.obj winmisc.obj winmm.lib >> pageant.rsp echo winspool.lib winutils.obj >> pageant.rspplink.rsp: $(MAKEFILE) echo /nologo /subsystem:console > plink.rsp echo advapi32.lib be_all.obj cmdline.obj comctl32.lib >> plink.rsp echo comdlg32.lib console.obj cproxy.obj gdi32.lib >> plink.rsp echo imm32.lib ldisc.obj logging.obj misc.obj >> plink.rsp echo noise.obj pageantc.obj plink.obj plink.res >> plink.rsp echo portfwd.obj pproxy.obj proxy.obj raw.obj >> plink.rsp echo rlogin.obj settings.obj shell32.lib ssh.obj >> plink.rsp echo sshaes.obj sshblowf.obj sshbn.obj sshcrc.obj >> plink.rsp echo sshcrcda.obj sshdes.obj sshdh.obj sshdss.obj >> plink.rsp echo sshmd5.obj sshpubk.obj sshrand.obj sshrsa.obj >> plink.rsp echo sshsh512.obj sshsha.obj sshzlib.obj telnet.obj >> plink.rsp echo tree234.obj user32.lib version.obj wildcard.obj >> plink.rsp echo windefs.obj winmisc.obj winmm.lib winnet.obj >> plink.rsp echo winspool.lib winstore.obj x11fwd.obj >> plink.rsppscp.rsp: $(MAKEFILE) echo /nologo /subsystem:console > pscp.rsp echo advapi32.lib be_none.obj cmdline.obj comctl32.lib >> pscp.rsp echo comdlg32.lib console.obj cproxy.obj gdi32.lib >> pscp.rsp echo imm32.lib int64.obj logging.obj misc.obj >> pscp.rsp echo noise.obj pageantc.obj portfwd.obj pproxy.obj >> pscp.rsp echo proxy.obj scp.obj scp.res settings.obj sftp.obj >> pscp.rsp echo shell32.lib ssh.obj sshaes.obj sshblowf.obj >> pscp.rsp echo sshbn.obj sshcrc.obj sshcrcda.obj sshdes.obj >> pscp.rsp echo sshdh.obj sshdss.obj sshmd5.obj sshpubk.obj >> pscp.rsp echo sshrand.obj sshrsa.obj sshsh512.obj sshsha.obj >> pscp.rsp echo sshzlib.obj tree234.obj user32.lib version.obj >> pscp.rsp echo wildcard.obj windefs.obj winmisc.obj winmm.lib >> pscp.rsp echo winnet.obj winsftp.obj winspool.lib winstore.obj >> pscp.rsp echo x11fwd.obj >> pscp.rsp
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -