OSDN Git Service

Modify features and documents for 1.98b the urgent security release.
[ffftp/ffftp.git] / contrib / putty / RECIPE
diff --git a/contrib/putty/RECIPE b/contrib/putty/RECIPE
deleted file mode 100644 (file)
index ce59a75..0000000
+++ /dev/null
@@ -1,347 +0,0 @@
-# -*- makefile -*-\r
-# \r
-# This file describes which PuTTY programs are made up from which\r
-# object and resource files. It is processed into the various\r
-# Makefiles by means of a Perl script. Makefile changes should\r
-# really be made by editing this file and/or the Perl script, not\r
-# by editing the actual Makefiles.\r
-\r
-# ------------------------------------------------------------\r
-# Top-level configuration.\r
-\r
-# Overall project name.\r
-!name putty\r
-# Locations and types of output Makefiles.\r
-!makefile vc windows/Makefile.vc\r
-!makefile vcproj windows/MSVC\r
-!makefile cygwin windows/Makefile.cyg\r
-!makefile borland windows/Makefile.bor\r
-!makefile lcc windows/Makefile.lcc\r
-!makefile gtk unix/Makefile.gtk\r
-!makefile unix unix/Makefile.ux\r
-!makefile ac unix/Makefile.in\r
-!makefile osx macosx/Makefile\r
-!makefile devcppproj windows/DEVCPP\r
-# Source directories.\r
-!srcdir charset/\r
-!srcdir windows/\r
-!srcdir unix/\r
-!srcdir macosx/\r
-\r
-# Help text added to the top of each Makefile, with /D converted\r
-# into -D as appropriate for the particular Makefile.\r
-\r
-!begin help\r
-#\r
-# Extra options you can set:\r
-#\r
-#  - VER="/DSNAPSHOT=1999-01-25 /DSVN_REV=1234"\r
-#      Generates executables whose About box report them as being a\r
-#      development snapshot. SVN_REV is a Subversion revision number.\r
-#\r
-#  - VER=/DRELEASE=0.43\r
-#      Generates executables whose About box report them as being a\r
-#      release version.\r
-#\r
-#  - COMPAT=/DAUTO_WINSOCK (Windows only)\r
-#      Causes PuTTY to assume that <windows.h> includes its own WinSock\r
-#      header file, so that it won't try to include <winsock.h>.\r
-#\r
-#  - COMPAT=/DWINSOCK_TWO (Windows only)\r
-#      Causes the PuTTY utilities to include <winsock2.h> instead of\r
-#      <winsock.h>, except Plink which _needs_ WinSock 2 so it already\r
-#      does this.\r
-#\r
-#  - COMPAT=/DNO_SECURITY (Windows only)\r
-#      Disables Pageant's use of <aclapi.h>, which is not available\r
-#      with some development environments (such as older versions of\r
-#      the Cygwin/mingw GNU toolchain). This means that Pageant\r
-#      won't care about the local user ID of processes accessing it; a\r
-#      version of Pageant built with this option will therefore refuse\r
-#      to run under NT-series OSes on security grounds (although it\r
-#      will run fine on Win95-series OSes where there is no access\r
-#      control anyway).\r
-#\r
-#  - COMPAT=/DNO_MULTIMON (Windows only)\r
-#      Disables PuTTY's use of <multimon.h>, which is not available\r
-#      with some development environments. This means that PuTTY's\r
-#      full-screen mode (configurable to work on Alt-Enter) will\r
-#      not behave usefully in a multi-monitor environment.\r
-#\r
-#      Note that this definition is always enabled in the Cygwin\r
-#      build, since at the time of writing this <multimon.h> is\r
-#      known not to be available in Cygwin.\r
-#\r
-#  - COMPAT=/DNO_HTMLHELP (Windows only)\r
-#      Disables PuTTY's use of <htmlhelp.h>, which is not available\r
-#      with some development environments. The resulting binary\r
-#      will only look for an old-style WinHelp file (.HLP/.CNT), and\r
-#      will ignore any .CHM file.\r
-#\r
-#      Note that this definition is always enabled in the Cygwin\r
-#      build, since at the time of writing this <htmlhelp.h> is\r
-#      known not to be available in Cygwin (although you can use\r
-#      the htmlhelp.h supplied with HTML Help Workshop).\r
-#\r
-#  - RCFL=/DNO_MANIFESTS (Windows only)\r
-#      Disables inclusion of XML application manifests in the PuTTY\r
-#      binaries. This may be necessary to build for 64-bit Windows;\r
-#      the manifests are only included to use the XP GUI style on\r
-#      Windows XP, and the architecture tags are a lie on 64-bit.\r
-#\r
-#  - COMPAT=/DNO_IPV6\r
-#      Disables PuTTY's ability to make IPv6 connections, enabling\r
-#      it to compile under development environments which do not\r
-#      support IPv6 in their header files.\r
-#\r
-#  - COMPAT=/DNO_GSSAPI\r
-#      Disables PuTTY's ability to use GSSAPI functions for\r
-#      authentication and key exchange.\r
-#\r
-#  - COMPAT=/DSTATIC_GSSAPI\r
-#      Causes PuTTY to try to link statically against the GSSAPI\r
-#      library instead of the default of doing it at run time.\r
-#\r
-#  - COMPAT=/DMSVC4 (Windows only)\r
-#  - RCFL=/DMSVC4\r
-#      Makes a couple of minor changes so that PuTTY compiles using\r
-#      MSVC 4. You will also need /DNO_SECURITY and /DNO_MULTIMON.\r
-#\r
-#  - RCFL=/DASCIICTLS (Windows only)\r
-#      Uses ASCII rather than Unicode to specify the tab control in\r
-#      the resource file. Probably most useful when compiling with\r
-#      Cygnus/mingw32, whose resource compiler may have less of a\r
-#      problem with it.\r
-#\r
-#  - XFLAGS=/DTELNET_DEFAULT\r
-#      Causes PuTTY to default to the Telnet protocol (in the absence\r
-#      of Default Settings and so on to the contrary). Normally PuTTY\r
-#      will default to SSH.\r
-#\r
-#  - XFLAGS=/DDEBUG\r
-#      Causes PuTTY to enable internal debugging.\r
-#\r
-#  - XFLAGS=/DMALLOC_LOG\r
-#      Causes PuTTY to emit a file called putty_mem.log, logging every\r
-#      memory allocation and free, so you can track memory leaks.\r
-#\r
-#  - XFLAGS=/DMINEFIELD (Windows only)\r
-#      Causes PuTTY to use a custom memory allocator, similar in\r
-#      concept to Electric Fence, in place of regular malloc(). Wastes\r
-#      huge amounts of RAM, but should cause heap-corruption bugs to\r
-#      show up as GPFs at the point of failure rather than appearing\r
-#      later on as second-level damage.\r
-#\r
-!end\r
-\r
-# ------------------------------------------------------------\r
-# Additional text added verbatim to each individual Makefile.\r
-\r
-# Hack to force version.o to be rebuilt always.\r
-!begin vc\r
-version.obj: *.c *.h *.rc\r
-       cl $(VER) $(CFLAGS) /c ..\version.c\r
-!end\r
-!specialobj vc version\r
-!begin cygwin\r
-version.o: FORCE\r
-       $(CC) $(COMPAT) $(XFLAGS) $(CFLAGS) $(VER) -c ../version.c\r
-!end\r
-!specialobj cygwin version\r
-!begin borland\r
-version.obj: FORCE\r
-       bcc32 $(VER) $(CFLAGS) /c ..\version.c\r
-!end\r
-!specialobj borland version\r
-!begin lcc\r
-version.obj: FORCE\r
-       lcc $(VER) $(CFLAGS) /c ..\version.c\r
-!end\r
-!specialobj lcc version\r
-# For Unix, we also need the gross MD5 hack that causes automatic\r
-# version number selection in release source archives.\r
-!begin gtk\r
-version.o: FORCE\r
-       if test -z "$(VER)" && (cd ..; md5sum -c manifest); then \\r
-               $(CC) $(COMPAT) $(XFLAGS) $(CFLAGS) `cat ../version.def` -c ../version.c; \\r
-       else \\r
-               $(CC) $(COMPAT) $(XFLAGS) $(CFLAGS) $(VER) -c ../version.c; \\r
-       fi\r
-!end\r
-!specialobj gtk version\r
-\r
-# Add VER to Windows resource targets, and force them to be rebuilt every\r
-# time, on the assumption that they will contain version information.\r
-!begin vc vars\r
-CFLAGS = $(CFLAGS) /DHAS_GSSAPI /DSECURITY_WIN32\r
-RCFLAGS = $(RCFLAGS) $(VER)\r
-!end\r
-!begin cygwin vars\r
-# XXX GNU-ism, but it's probably all right for a Cygwin/MinGW Makefile.\r
-RCFLAGS += $(patsubst -D%,--define %,$(VER))\r
-!end\r
-!begin borland vars\r
-# Borland doesn't support +=. This probably shouldn't work, but seems to.\r
-RCFLAGS = $(RCFLAGS) $(VER)\r
-!end\r
-!begin lcc vars\r
-RCFLAGS += $(VER)\r
-!end\r
-!forceobj putty.res\r
-!forceobj puttytel.res\r
-!forceobj plink.res\r
-!forceobj pscp.res\r
-!forceobj psftp.res\r
-!forceobj pageant.res\r
-!forceobj puttygen.res\r
-\r
-# `make install' target for Unix.\r
-!begin gtk\r
-install:\r
-       mkdir -p $(DESTDIR)$(bindir) $(DESTDIR)$(man1dir)\r
-       $(INSTALL_PROGRAM) -m 755 plink $(DESTDIR)$(bindir)/plink\r
-       $(INSTALL_PROGRAM) -m 755 pscp $(DESTDIR)$(bindir)/pscp\r
-       $(INSTALL_PROGRAM) -m 755 psftp $(DESTDIR)$(bindir)/psftp\r
-       $(INSTALL_PROGRAM) -m 755 pterm $(DESTDIR)$(bindir)/pterm\r
-       if test -n "$(UTMP_GROUP)"; then \\r
-         chgrp $(UTMP_GROUP) $(DESTDIR)$(bindir)/pterm && \\r
-           chmod 2755 $(DESTDIR)$(bindir)/pterm; \\r
-       elif test -n "$(UTMP_USER)"; then \\r
-         chown $(UTMP_USER) $(DESTDIR)$(bindir)/pterm && \\r
-           chmod 4755 $(DESTDIR)$(bindir)/pterm; \\r
-       fi\r
-       $(INSTALL_PROGRAM) -m 755 putty $(DESTDIR)$(bindir)/putty\r
-       $(INSTALL_PROGRAM) -m 755 puttygen $(DESTDIR)$(bindir)/puttygen\r
-       $(INSTALL_PROGRAM) -m 755 puttytel $(DESTDIR)$(bindir)/puttytel\r
-       $(INSTALL_DATA) -m 644 ../doc/plink.1 $(DESTDIR)$(man1dir)/plink.1\r
-       $(INSTALL_DATA) -m 644 ../doc/pscp.1 $(DESTDIR)$(man1dir)/pscp.1\r
-       $(INSTALL_DATA) -m 644 ../doc/psftp.1 $(DESTDIR)$(man1dir)/psftp.1\r
-       $(INSTALL_DATA) -m 644 ../doc/pterm.1 $(DESTDIR)$(man1dir)/pterm.1\r
-       $(INSTALL_DATA) -m 644 ../doc/putty.1 $(DESTDIR)$(man1dir)/putty.1\r
-       $(INSTALL_DATA) -m 644 ../doc/puttygen.1 $(DESTDIR)$(man1dir)/puttygen.1\r
-       $(INSTALL_DATA) -m 644 ../doc/puttytel.1 $(DESTDIR)$(man1dir)/puttytel.1\r
-\r
-install-strip:\r
-       $(MAKE) install INSTALL_PROGRAM="$(INSTALL_PROGRAM) -s"\r
-!end\r
-!begin osx vars\r
-CFLAGS += -DMACOSX\r
-!end\r
-\r
-# Random symbols.\r
-!begin cygwin vars\r
-# _WIN32_IE is required to expose identifiers that only make sense on\r
-# systems with IE5+ installed, such as some arguments to SHGetFolderPath().\r
-# WINVER etc perform a similar function for FlashWindowEx().\r
-CFLAGS += -D_WIN32_IE=0x0500\r
-CFLAGS += -DWINVER=0x0500 -D_WIN32_WINDOWS=0x0410 -D_WIN32_WINNT=0x0500\r
-!end\r
-\r
-# ------------------------------------------------------------\r
-# Definitions of object groups. A group name, followed by an =,\r
-# followed by any number of objects or other already-defined group\r
-# names. A line beginning `+' is assumed to continue the previous\r
-# line.\r
-\r
-# Terminal emulator and its (platform-independent) dependencies.\r
-TERMINAL = terminal wcwidth ldiscucs logging tree234 minibidi\r
-         + config dialog\r
-\r
-# GUI front end and terminal emulator (putty, puttytel).\r
-GUITERM  = TERMINAL window windlg winctrls sizetip winucs winprint\r
-         + winutils wincfg sercfg winhelp winjump\r
-\r
-# Same thing on Unix.\r
-UXTERM   = TERMINAL uxcfg sercfg uxucs uxprint timing\r
-GTKTERM  = UXTERM gtkwin gtkcfg gtkdlg gtkfont gtkcols xkeysym\r
-OSXTERM  = UXTERM osxwin osxdlg osxctrls\r
-\r
-# Non-SSH back ends (putty, puttytel, plink).\r
-NONSSH   = telnet raw rlogin ldisc pinger\r
-\r
-# SSH back end (putty, plink, pscp, psftp).\r
-SSH      = ssh sshcrc sshdes sshmd5 sshrsa sshrand sshsha sshblowf\r
-         + sshdh sshcrcda sshpubk sshzlib sshdss x11fwd portfwd\r
-         + sshaes sshsh256 sshsh512 sshbn wildcard pinger ssharcf\r
-         + sshgssc pgssapi\r
-WINSSH   = SSH winnoise winpgntc wingss\r
-UXSSH    = SSH uxnoise uxagentc uxgss\r
-\r
-# SFTP implementation (pscp, psftp).\r
-SFTP     = sftp int64 logging\r
-\r
-# Miscellaneous objects appearing in all the network utilities (not\r
-# Pageant or PuTTYgen).\r
-MISC     = timing misc version settings tree234 proxy\r
-WINMISC  = MISC winstore winnet winhandl cmdline windefs winmisc winproxy\r
-         + wintime\r
-UXMISC   = MISC uxstore uxsel uxnet cmdline uxmisc uxproxy time\r
-OSXMISC  = MISC uxstore uxsel osxsel uxnet uxmisc uxproxy time\r
-\r
-# Character set library, for use in pterm.\r
-CHARSET  = sbcsdat slookup sbcs utf8 toucs fromucs xenc mimeenc macenc localenc\r
-\r
-# Standard libraries.\r
-LIBS     = advapi32.lib user32.lib gdi32.lib comctl32.lib comdlg32.lib\r
-         + shell32.lib winmm.lib imm32.lib winspool.lib ole32.lib\r
-\r
-# Network backend sets. This also brings in the relevant attachment\r
-# to proxy.c depending on whether we're crypto-avoidant or not.\r
-BE_ALL   = be_all cproxy\r
-BE_NOSSH = be_nossh nocproxy\r
-BE_SSH   = be_none cproxy\r
-BE_NONE  = be_none nocproxy\r
-# More backend sets, with the additional Windows serial-port module.\r
-W_BE_ALL = be_all_s winser cproxy\r
-W_BE_NOSSH = be_nos_s winser nocproxy\r
-# And with the Unix serial-port module.\r
-U_BE_ALL = be_all_s uxser cproxy\r
-U_BE_NOSSH = be_nos_s uxser nocproxy\r
-\r
-# ------------------------------------------------------------\r
-# Definitions of actual programs. The program name, followed by a\r
-# colon, followed by a list of objects. Also in the list may be the\r
-# keywords [G] for Windows GUI app, [C] for Console app, [X] for\r
-# X/GTK Unix app, [U] for command-line Unix app.\r
-\r
-putty    : [G] GUITERM NONSSH WINSSH W_BE_ALL WINMISC winx11 putty.res LIBS\r
-puttytel : [G] GUITERM NONSSH W_BE_NOSSH WINMISC puttytel.res nogss LIBS\r
-plink    : [C] winplink wincons NONSSH WINSSH W_BE_ALL logging WINMISC\r
-         + winx11 plink.res winnojmp LIBS\r
-pscp     : [C] pscp winsftp wincons WINSSH BE_SSH SFTP wildcard WINMISC\r
-         + pscp.res winnojmp LIBS\r
-psftp    : [C] psftp winsftp wincons WINSSH BE_SSH SFTP wildcard WINMISC\r
-         + psftp.res winnojmp LIBS\r
-\r
-pageant  : [G] winpgnt sshrsa sshpubk sshdes sshbn sshmd5 version tree234\r
-         + misc sshaes sshsha winpgntc sshdss sshsh256 sshsh512 winutils\r
-         + winmisc winhelp pageant.res LIBS\r
-\r
-puttygen : [G] winpgen sshrsag sshdssg sshprime sshdes sshbn sshmd5 version\r
-         + sshrand winnoise sshsha winstore misc winctrls sshrsa sshdss winmisc\r
-         + sshpubk sshaes sshsh256 sshsh512 import winutils puttygen.res\r
-        + tree234 notiming winhelp winnojmp LIBS wintime\r
-\r
-pterm    : [X] GTKTERM uxmisc misc ldisc settings uxpty uxsel BE_NONE uxstore\r
-         + uxsignal CHARSET cmdline uxpterm version time xpmpterm xpmptcfg\r
-        + nogss\r
-putty    : [X] GTKTERM uxmisc misc ldisc settings uxsel U_BE_ALL uxstore\r
-         + uxsignal CHARSET uxputty NONSSH UXSSH UXMISC ux_x11 xpmputty\r
-         + xpmpucfg\r
-puttytel : [X] GTKTERM uxmisc misc ldisc settings uxsel U_BE_NOSSH\r
-        + uxstore uxsignal CHARSET uxputty NONSSH UXMISC xpmputty xpmpucfg\r
-        + nogss\r
-\r
-plink    : [U] uxplink uxcons NONSSH UXSSH U_BE_ALL logging UXMISC uxsignal\r
-         + ux_x11\r
-\r
-puttygen : [U] cmdgen sshrsag sshdssg sshprime sshdes sshbn sshmd5 version\r
-         + sshrand uxnoise sshsha misc sshrsa sshdss uxcons uxstore uxmisc\r
-         + sshpubk sshaes sshsh256 sshsh512 import puttygen.res time tree234\r
-        + uxgen notiming\r
-\r
-pscp     : [U] pscp uxsftp uxcons UXSSH BE_SSH SFTP wildcard UXMISC\r
-psftp    : [U] psftp uxsftp uxcons UXSSH BE_SSH SFTP wildcard UXMISC\r
-\r
-PuTTY    : [MX] osxmain OSXTERM OSXMISC CHARSET U_BE_ALL NONSSH UXSSH\r
-         + ux_x11 uxpty uxsignal testback putty.icns info.plist\r