📄 makefile.bor
字号:
# Makefile for putty under Borland 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.bor
# C compilation flags
CFLAGS = -D_WINDOWS -DWINVER=0x0401
# Get include directory for resource compiler
!if !$d(BCB)
BCB = $(MAKEDIR)\..
!endif
.c.obj:
bcc32 -w-aus -w-ccc -w-par -w-pia $(COMPAT) $(FWHACK) $(XFLAGS) \
$(CFLAGS) -I./ -Icharset/ -Iunix/ -Imac/ /c $*.c
.rc.res:
brcc32 $(FWHACK) $(RCFL) -i $(BCB)\include -r -DNO_WINRESRC_H \
-DWIN32 -D_WIN32 -DWINVER=0x0401 $*.rc
all: pageant.exe plink.exe pscp.exe psftp.exe putty.exe puttygen.exe \
puttytel.exe
pageant.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
ilink32 -aa -Gn -L$(BCB)\lib @pageant.rsp
plink.exe: be_all.obj cmdline.obj console.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
ilink32 -ap -Gn -L$(BCB)\lib @plink.rsp
pscp.exe: be_none.obj cmdline.obj console.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
ilink32 -ap -Gn -L$(BCB)\lib @pscp.rsp
psftp.exe: be_none.obj cmdline.obj console.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
ilink32 -ap -Gn -L$(BCB)\lib @psftp.rsp
putty.exe: be_all.obj cmdline.obj config.obj dialog.obj ldisc.obj \
ldiscucs.obj logging.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
ilink32 -aa -Gn -L$(BCB)\lib @putty.rsp
puttygen.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
ilink32 -aa -Gn -L$(BCB)\lib @puttygen.rsp
puttytel.exe: be_nossh.obj cmdline.obj config.obj dialog.obj ldisc.obj \
ldiscucs.obj logging.obj misc.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
ilink32 -aa -Gn -L$(BCB)\lib @puttytel.rsp
pageant.rsp: $(MAKEFILE)
echo c0w32 + > pageant.rsp
echo misc.obj pageant.obj pageantc.obj sshaes.obj + >> pageant.rsp
echo sshbn.obj sshdes.obj sshdss.obj sshmd5.obj + >> pageant.rsp
echo sshpubk.obj sshrsa.obj sshsh512.obj sshsha.obj + >> pageant.rsp
echo tree234.obj version.obj winmisc.obj winutils.obj >> pageant.rsp
echo pageant.exe >> pageant.rsp
echo nul,cw32 import32, >> pageant.rsp
echo pageant.res >> pageant.rsp
plink.rsp: $(MAKEFILE)
echo c0x32 + > plink.rsp
echo be_all.obj cmdline.obj console.obj ldisc.obj + >> plink.rsp
echo logging.obj misc.obj noise.obj pageantc.obj + >> plink.rsp
echo plink.obj portfwd.obj pproxy.obj proxy.obj + >> plink.rsp
echo raw.obj rlogin.obj settings.obj 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 version.obj wildcard.obj windefs.obj + >> plink.rsp
echo winmisc.obj winnet.obj winstore.obj x11fwd.obj >> plink.rsp
echo plink.exe >> plink.rsp
echo nul,cw32 import32, >> plink.rsp
echo plink.res >> plink.rsp
pscp.rsp: $(MAKEFILE)
echo c0x32 + > pscp.rsp
echo be_none.obj cmdline.obj console.obj int64.obj + >> pscp.rsp
echo logging.obj misc.obj noise.obj pageantc.obj + >> pscp.rsp
echo portfwd.obj pproxy.obj proxy.obj scp.obj + >> pscp.rsp
echo settings.obj sftp.obj ssh.obj sshaes.obj + >> pscp.rsp
echo sshblowf.obj sshbn.obj sshcrc.obj sshcrcda.obj + >> pscp.rsp
echo sshdes.obj sshdh.obj sshdss.obj sshmd5.obj + >> pscp.rsp
echo sshpubk.obj sshrand.obj sshrsa.obj sshsh512.obj + >> pscp.rsp
echo sshsha.obj sshzlib.obj tree234.obj version.obj + >> pscp.rsp
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -