⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 makefile.gtk

📁 远程登陆工具软件源码 用于远程登陆unix
💻 GTK
📖 第 1 页 / 共 3 页
字号:
# Makefile for putty under X/GTK and Unix.
#
# 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 = /opt/gcc/bin
CC = $(TOOLPATH)cc

CFLAGS = -O2 -Wall -Werror -g -I.././ -I../charset/ -I../unix/ -I../mac/ \
		`gtk-config --cflags`
XLDFLAGS = `gtk-config --libs`
ULDFLAGS =#
INSTALL=install
INSTALL_PROGRAM=$(INSTALL)
INSTALL_DATA=$(INSTALL)
prefix=/usr/local
exec_prefix=$(prefix)
bindir=$(exec_prefix)/bin
mandir=$(prefix)/man
man1dir=$(mandir)/man1

.SUFFIXES:

%.o:
	$(CC) $(COMPAT) $(FWHACK) $(XFLAGS) $(CFLAGS) -c $<

all: plink pscp psftp pterm putty puttygen puttytel

plink: be_all.o cmdline.o ldisc.o logging.o misc.o portfwd.o proxy.o raw.o \
		rlogin.o settings.o signal.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 ux_x11.o uxagentc.o uxcons.o \
		uxmisc.o uxnet.o uxnoise.o uxplink.o uxproxy.o uxsel.o \
		uxstore.o version.o wildcard.o x11fwd.o
	$(CC) $(ULDFLAGS) -o $@ be_all.o cmdline.o ldisc.o logging.o misc.o \
		portfwd.o proxy.o raw.o rlogin.o settings.o signal.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 ux_x11.o \
		uxagentc.o uxcons.o uxmisc.o uxnet.o uxnoise.o uxplink.o \
		uxproxy.o uxsel.o uxstore.o version.o wildcard.o x11fwd.o 

pscp: be_none.o cmdline.o int64.o logging.o misc.o portfwd.o proxy.o scp.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 \
		uxagentc.o uxcons.o uxmisc.o uxnet.o uxnoise.o uxproxy.o \
		uxsel.o uxsftp.o uxstore.o version.o wildcard.o x11fwd.o
	$(CC) $(ULDFLAGS) -o $@ be_none.o cmdline.o int64.o logging.o misc.o \
		portfwd.o proxy.o scp.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 uxagentc.o uxcons.o uxmisc.o \
		uxnet.o uxnoise.o uxproxy.o uxsel.o uxsftp.o uxstore.o \
		version.o wildcard.o x11fwd.o 

psftp: be_none.o cmdline.o int64.o logging.o misc.o portfwd.o proxy.o \
		psftp.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 uxagentc.o uxcons.o uxmisc.o uxnet.o uxnoise.o \
		uxproxy.o uxsel.o uxsftp.o uxstore.o version.o wildcard.o \
		x11fwd.o
	$(CC) $(ULDFLAGS) -o $@ be_none.o cmdline.o int64.o logging.o misc.o \
		portfwd.o proxy.o psftp.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 uxagentc.o uxcons.o uxmisc.o \
		uxnet.o uxnoise.o uxproxy.o uxsel.o uxsftp.o uxstore.o \
		version.o wildcard.o x11fwd.o 

pterm: be_none.o cmdline.o config.o dialog.o fromucs.o gtkcols.o gtkdlg.o \
		gtkpanel.o ldisc.o ldiscucs.o localenc.o logging.o macenc.o \
		mimeenc.o misc.o pterm.o ptermm.o pty.o sbcs.o sbcsdat.o \
		settings.o signal.o slookup.o terminal.o toucs.o tree234.o \
		utf8.o uxcfg.o uxmisc.o uxprint.o uxsel.o uxstore.o uxucs.o \
		version.o wcwidth.o xenc.o xkeysym.o
	$(CC) $(XLDFLAGS) -o $@ be_none.o cmdline.o config.o dialog.o \
		fromucs.o gtkcols.o gtkdlg.o gtkpanel.o ldisc.o ldiscucs.o \
		localenc.o logging.o macenc.o mimeenc.o misc.o pterm.o \
		ptermm.o pty.o sbcs.o sbcsdat.o settings.o signal.o \
		slookup.o terminal.o toucs.o tree234.o utf8.o uxcfg.o \
		uxmisc.o uxprint.o uxsel.o uxstore.o uxucs.o version.o \
		wcwidth.o xenc.o xkeysym.o 

putty: be_all.o cmdline.o config.o dialog.o fromucs.o gtkcols.o gtkdlg.o \
		gtkpanel.o ldisc.o ldiscucs.o localenc.o logging.o macenc.o \
		mimeenc.o misc.o portfwd.o proxy.o pterm.o pty.o raw.o \
		rlogin.o sbcs.o sbcsdat.o settings.o signal.o slookup.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 \
		toucs.o tree234.o utf8.o ux_x11.o uxagentc.o uxcfg.o \
		uxmisc.o uxnet.o uxnoise.o uxprint.o uxproxy.o uxputty.o \
		uxsel.o uxstore.o uxucs.o version.o wcwidth.o wildcard.o \
		x11fwd.o xenc.o xkeysym.o
	$(CC) $(XLDFLAGS) -o $@ be_all.o cmdline.o config.o dialog.o \
		fromucs.o gtkcols.o gtkdlg.o gtkpanel.o ldisc.o ldiscucs.o \
		localenc.o logging.o macenc.o mimeenc.o misc.o portfwd.o \
		proxy.o pterm.o pty.o raw.o rlogin.o sbcs.o sbcsdat.o \
		settings.o signal.o slookup.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 toucs.o tree234.o utf8.o \
		ux_x11.o uxagentc.o uxcfg.o uxmisc.o uxnet.o uxnoise.o \
		uxprint.o uxproxy.o uxputty.o uxsel.o uxstore.o uxucs.o \
		version.o wcwidth.o wildcard.o x11fwd.o xenc.o xkeysym.o 

puttygen: cmdgen.o import.o misc.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 uxcons.o uxgen.o \
		uxmisc.o uxnoise.o uxstore.o version.o
	$(CC) $(ULDFLAGS) -o $@ cmdgen.o import.o misc.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 \
		uxcons.o uxgen.o uxmisc.o uxnoise.o uxstore.o version.o 

puttytel: be_nossh.o cmdline.o config.o dialog.o fromucs.o gtkcols.o \
		gtkdlg.o gtkpanel.o ldisc.o ldiscucs.o localenc.o logging.o \
		macenc.o mimeenc.o misc.o proxy.o pterm.o pty.o raw.o \
		rlogin.o sbcs.o sbcsdat.o settings.o signal.o slookup.o \
		telnet.o terminal.o toucs.o tree234.o utf8.o uxcfg.o \
		uxmisc.o uxnet.o uxprint.o uxproxy.o uxputty.o uxsel.o \
		uxstore.o uxucs.o version.o wcwidth.o xenc.o xkeysym.o
	$(CC) $(XLDFLAGS) -o $@ be_nossh.o cmdline.o config.o dialog.o \
		fromucs.o gtkcols.o gtkdlg.o gtkpanel.o ldisc.o ldiscucs.o \
		localenc.o logging.o macenc.o mimeenc.o misc.o proxy.o \
		pterm.o pty.o raw.o rlogin.o sbcs.o sbcsdat.o settings.o \
		signal.o slookup.o telnet.o terminal.o toucs.o tree234.o \
		utf8.o uxcfg.o uxmisc.o uxnet.o uxprint.o uxproxy.o \
		uxputty.o uxsel.o uxstore.o uxucs.o version.o wcwidth.o \
		xenc.o xkeysym.o 

be_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.h
be_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 \

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -