X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=Makefile;h=38a3c61f26f5d548f6d40fc16052abc33e300fa0;hb=726f9dde7e747f0e317da6fbe0594a81597d4a2b;hp=8f5bbd7171a7f97e33abf3e5e4507932fa86cf22;hpb=d345ebc2a5a0b599be5ce4462ef6d7a9b510497a;p=PuTTY.git diff --git a/Makefile b/Makefile index 8f5bbd71..38a3c61f 100644 --- a/Makefile +++ b/Makefile @@ -40,6 +40,12 @@ # build, since at the time of writing this is known # not to be available in Cygwin. # +# - COMPAT=/DNO_MULTIMON +# Disables PuTTY's use of , 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. +# # - RCFL=/DASCIICTLS # Uses ASCII rather than Unicode to specify the tab control in # the resource file. Probably most useful when compiling with @@ -67,7 +73,7 @@ # LFLAGS = /debug # Disable debug and incremental linking and compiling -CFLAGS = /nologo /W3 /O1 /D_WINDOWS /D_WIN32_WINDOWS=0x401 +CFLAGS = /nologo /W3 /O1 /D_WINDOWS /D_WIN32_WINDOWS=0x401 /DWINVER=0x401 LFLAGS = /incremental:no /fixed # Use MSVC DLL @@ -82,7 +88,7 @@ RES=res ##-- objects putty puttytel GOBJS1 = window.$(OBJ) windlg.$(OBJ) winctrls.$(OBJ) terminal.$(OBJ) -GOBJS2 = sizetip.$(OBJ) wcwidth.$(OBJ) unicode.$(OBJ) +GOBJS2 = sizetip.$(OBJ) wcwidth.$(OBJ) unicode.$(OBJ) logging.$(OBJ) ##-- objects putty puttytel plink LOBJS1 = telnet.$(OBJ) raw.$(OBJ) rlogin.$(OBJ) ldisc.$(OBJ) winnet.$(OBJ) ##-- objects putty plink @@ -90,13 +96,13 @@ POBJS = be_all.$(OBJ) ##-- objects puttytel TOBJS = be_nossh.$(OBJ) ##-- objects plink -PLOBJS = plink.$(OBJ) +PLOBJS = plink.$(OBJ) logging.$(OBJ) ##-- objects pscp SOBJS = scp.$(OBJ) winnet.$(OBJ) be_none.$(OBJ) wildcard.$(OBJ) ##-- objects psftp FOBJS = psftp.$(OBJ) winnet.$(OBJ) be_none.$(OBJ) ##-- objects pscp psftp -SFOBJS = sftp.$(OBJ) int64.$(OBJ) +SFOBJS = sftp.$(OBJ) int64.$(OBJ) logging.$(OBJ) ##-- objects putty puttytel pscp psftp plink MOBJS = misc.$(OBJ) version.$(OBJ) winstore.$(OBJ) settings.$(OBJ) MOBJ2 = tree234.$(OBJ) @@ -168,7 +174,7 @@ plink.exe: $(LOBJS1) $(POBJS) $(PLOBJS) $(MOBJS) $(MOBJ2) $(OBJS1) $(OBJS2) $(OB link $(LFLAGS) -out:plink.exe -map:plink.map @plink.rsp ssh.obj: - cl $(FWHACK) $(VER) $(CFLAGS) /Gi- /c ssh.c + cl $(COMPAT) $(FWHACK) $(VER) $(XFLAGS) $(CFLAGS) /Gi- /c ssh.c putty.rsp: makefile echo /nologo /subsystem:windows > putty.rsp @@ -315,6 +321,7 @@ sshzlib.$(OBJ): sshzlib.c network.h int64.h puttymem.h ssh.h ssl.$(OBJ): ssl.c network.h asnerror.h misc.h cert.h crypto.h ssl.h int64.h puttymem.h telnet.$(OBJ): telnet.c network.h misc.h puttymem.h putty.h terminal.$(OBJ): terminal.c network.h misc.h puttymem.h putty.h tree234.h +logging.$(OBJ): logging.c misc.h puttymem.h putty.h test.$(OBJ): test.c network.h int64.h puttymem.h ssh.h tree234.$(OBJ): tree234.c tree234.h unicode.$(OBJ): unicode.c network.h misc.h puttymem.h putty.h