X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/blobdiff_plain/4eeb7d098fc3c6fb29a4ba0da78edbf83f88dce1..da5a5055dd421b35e1481961fb7cd129d1cd6afb:/Makefile diff --git a/Makefile b/Makefile index 7b2122fa..46bceb28 100644 --- a/Makefile +++ b/Makefile @@ -27,6 +27,15 @@ # , except Plink which _needs_ WinSock 2 so it already # does this. # +# - COMPAT=/DNO_SECURITY +# Disables Pageant's use of , which is not available +# with some development environments. 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). +# # - RCFL=/DASCIICTLS # Uses ASCII rather than Unicode to specify the tab control in # the resource file. Probably most useful when compiling with @@ -50,7 +59,7 @@ ##-- # Enable debug and incremental linking and compiling -# CFLAGS = /nologo /W3 /YX /Yd /O1 /Gi /D_WINDOWS /DDEBUG +# CFLAGS = /nologo /W3 /YX /Yd /O1 /Gi /D_WINDOWS /DDEBUG /D_WIN32_WINDOWS=0x401 # LFLAGS = /debug # Disable debug and incremental linking and compiling @@ -58,7 +67,7 @@ CFLAGS = /nologo /W3 /O1 /D_WINDOWS /D_WIN32_WINDOWS=0x401 LFLAGS = /incremental:no /fixed # Use MSVC DLL -# CFLAGS = /nologo /W3 /O1 /MD /D_WINDOWS +# CFLAGS = /nologo /W3 /O1 /MD /D_WINDOWS /D_WIN32_WINDOWS=0x401 # LFLAGS = /incremental:no .c.obj: @@ -89,7 +98,7 @@ MOBJ2 = tree234.$(OBJ) OBJS1 = sshcrc.$(OBJ) sshdes.$(OBJ) sshmd5.$(OBJ) sshrsa.$(OBJ) sshrand.$(OBJ) OBJS2 = sshsha.$(OBJ) sshblowf.$(OBJ) noise.$(OBJ) sshdh.$(OBJ) sshdss.$(OBJ) OBJS3 = sshbn.$(OBJ) sshpubk.$(OBJ) ssh.$(OBJ) pageantc.$(OBJ) sshzlib.$(OBJ) -OBJS4 = x11fwd.$(OBJ) sshaes.$(OBJ) +OBJS4 = x11fwd.$(OBJ) portfwd.$(OBJ) sshaes.$(OBJ) ##-- objects pageant PAGE1 = pageant.$(OBJ) sshrsa.$(OBJ) sshpubk.$(OBJ) sshdes.$(OBJ) sshbn.$(OBJ) PAGE2 = sshmd5.$(OBJ) version.$(OBJ) tree234.$(OBJ) misc.$(OBJ) sshaes.$(OBJ) @@ -124,7 +133,7 @@ LRESRC = plink.$(RES) LIBS1 = advapi32.lib user32.lib gdi32.lib LIBS2 = comctl32.lib comdlg32.lib -LIBS3 = shell32.lib winmm.lib +LIBS3 = shell32.lib winmm.lib imm32.lib SOCK1 = wsock32.lib SOCK2 = ws2_32.lib @@ -298,7 +307,8 @@ windlg.$(OBJ): windlg.c network.h puttymem.h storage.h winstuff.h putty.h ssh.h window.$(OBJ): window.c network.h puttymem.h storage.h winstuff.h putty.h win_res.h winnet.$(OBJ): winnet.c network.h puttymem.h putty.h tree234.h winstore.$(OBJ): winstore.c network.h puttymem.h storage.h putty.h -x11fwd.$(OBJ): x11fwd.c network.h puttymem.h ssh.h putty.h +x11fwd.$(OBJ): x11fwd.c network.h puttymem.h ssh.h putty.h +portfwd.$(OBJ): portfwd.c network.h puttymem.h ssh.h putty.h xlat.$(OBJ): xlat.c network.h puttymem.h putty.h ##--