X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=Recipe;h=952373f20e25bab0c92335cd431bd5b62d5fef0c;hb=be586d53b0e503a00c72982667f8e8d11b1893fe;hp=68726a02f32e76b77c8e528a63b6913d05a8e68f;hpb=e3f5f49cc4e8acbb457277487f89ea7972e57632;p=PuTTY.git diff --git a/Recipe b/Recipe index 68726a02..952373f2 100644 --- a/Recipe +++ b/Recipe @@ -134,6 +134,18 @@ # ------------------------------------------------------------ # Additional text added verbatim to each individual Makefile. +!cflags am version -DSOURCE_COMMIT=\"`git rev-parse HEAD 2>/dev/null`\" +!begin am +BUILT_SOURCES = empty.h +CLEANFILES = empty.h +empty.h: $(allsources) + 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 + !begin vc vars CFLAGS = $(CFLAGS) /DHAS_GSSAPI !end @@ -330,10 +342,10 @@ puttyapp : [XT] GTKTERM uxmisc misc ldisc settings uxsel U_BE_ALL uxstore + xpmpucfg gtkapp osxlaunch : [UT] osxlaunch -fuzzterm : [UT] UXTERM CHARSET misc uxmisc uxucs fuzzterm time settings +fuzzterm : [UT] UXTERM CHARSET misc version uxmisc uxucs fuzzterm time settings + uxstore be_none -testbn : [UT] testbn sshbn misc conf tree234 uxmisc -testbn : [C] testbn sshbn misc conf tree234 winmisc LIBS +testbn : [UT] testbn sshbn misc version conf tree234 uxmisc +testbn : [C] testbn sshbn misc version conf tree234 winmisc LIBS # ---------------------------------------------------------------------- # On Windows, provide a means of removing local test binaries that we