X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/44747c53040ece195f0fe816f19cf493ffd6f465..f42faba9ff09df066a6bfce4e179d7566048395a:/Recipe diff --git a/Recipe b/Recipe index 454fe32c..e42593b2 100644 --- a/Recipe +++ b/Recipe @@ -177,11 +177,13 @@ version.o: FORCE !cflags am version $(VER) -DINCLUDE_EMPTY_H `if test -z "$(VER)" && (cd $(srcdir)/..; md5sum -c manifest >/dev/null 2>&1); then cat $(srcdir)/../version.def; else echo "$(VER)"; fi` !begin am BUILT_SOURCES = empty.h -CLEANFILES = empty.h empty.h: $(allsources) - echo '/* nothing to see here */' >$@ + echo '/* Empty file touched by automake makefile to force rebuild of version.o */' >$@ !end +!begin >empty.h +/* Empty file touched by automake makefile to force rebuild of version.o */ +!end # Add VER to Windows resource targets, and force them to be rebuilt every # time, on the assumption that they will contain version information. @@ -190,6 +192,7 @@ CFLAGS = $(CFLAGS) /DHAS_GSSAPI /DSECURITY_WIN32 RCFLAGS = $(RCFLAGS) $(VER) !end !begin cygwin vars +CFLAGS += -DSECURITY_WIN32 # XXX GNU-ism, but it's probably all right for a Cygwin/MinGW Makefile. RCFLAGS += $(patsubst -D%,--define %,$(VER)) !end @@ -317,7 +320,7 @@ LIBS = advapi32.lib user32.lib gdi32.lib comctl32.lib comdlg32.lib # to proxy.c depending on whether we're crypto-avoidant or not. BE_ALL = be_all cproxy BE_NOSSH = be_nossh nocproxy -BE_SSH = be_none cproxy +BE_SSH = be_ssh cproxy BE_NONE = be_none nocproxy # More backend sets, with the additional Windows serial-port module. W_BE_ALL = be_all_s winser cproxy