# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1671717458 0 # Node ID ac404083dc6b037a22457171a9f6ed431f25cbb4 # Parent 2ba0959eb3cf92b9dd36357d4d56f5fc654439ec Rename the Version file Version.mk since it is included by the Makefiles. The C++ headers attempt to include and it picks up that file. diff -r 2ba0959eb3cf -r ac404083dc6b Makefile.in --- a/Makefile.in Tue Dec 20 20:23:02 2022 +0000 +++ b/Makefile.in Thu Dec 22 13:57:38 2022 +0000 @@ -4,7 +4,7 @@ CXX = @CXX@ PLATCCFLAGS = @PLATCCFLAGS@ MLFLAGS = -L. -include $(srcdir)/Version +include $(srcdir)/Version.mk CCFLAGS = @CFLAGS@ $(PLATCCFLAGS) @ARCH@ -D@DW_DEFINE@ -DBUILD_DLL -DDW_RESOURCES -DVER_REV=$(VER_REV) CXXFLAGS= -std=c++11 LFLAGS = @LIBS@ @ARCH@ @@ -209,7 +209,7 @@ zip: zip dwindows$(VER_MAJ)$(VER_MIN).zip $(srcdir)/*.txt $(srcdir)/makefile.* $(srcdir)/*.c $(srcdir)/dw.h $(srcdir)/dwcompat.h \ - $(srcdir)/install.sh $(srcdir)/*.in $(srcdir)/configure $(srcdir)/Version \ + $(srcdir)/install.sh $(srcdir)/*.in $(srcdir)/configure $(srcdir)/Version.mk \ $(srcdir)/ac*.m4 $(srcdir)/dwindows-config.1 $(srcdir)/config.sub $(srcdir)/config.guess $(srcdir)/image/test.* \ $(srcdir)/win/*.c $(srcdir)/win/*.cpp $(srcdir)/win/*.h $(srcdir)/win/*.ico $(srcdir)/win/*.txt $(srcdir)/win/*.def $(srcdir)/win/*.rc $(srcdir)/win/*.manifest \ $(srcdir)/os2/*.c $(srcdir)/os2/*.ico $(srcdir)/os2/*.txt $(srcdir)/os2/*.def \ @@ -221,7 +221,7 @@ dist: (cd $(srcdir)/..;ln -sf dwindows $(SRCDIR)) (cd $(srcdir)/..;tar -cvf - $(SRCDIR)/*.txt $(SRCDIR)/makefile.* $(SRCDIR)/*.c $(SRCDIR)/dw.h $(SRCDIR)/dwcompat.h \ - $(SRCDIR)/install.sh $(SRCDIR)/*.in $(SRCDIR)/configure $(SRCDIR)/Version \ + $(SRCDIR)/install.sh $(SRCDIR)/*.in $(SRCDIR)/configure $(SRCDIR)/Version.mk \ $(SRCDIR)/ac*.m4 $(SRCDIR)/dwindows-config.1 $(SRCDIR)/config.sub $(SRCDIR)/config.guess $(SRCDIR)/image/test.* \ $(SRCDIR)/win/*.c $(SRCDIR)/win/*.cpp $(SRCDIR)/win/*.h $(SRCDIR)/win/*.txt $(SRCDIR)/win/*.def $(SRCDIR)/win/*.ico $(SRCDIR)/win/*.rc $(SRCDIR)/win/*.manifest \ $(SRCDIR)/os2/*.c $(SRCDIR)/os2/*.ico $(SRCDIR)/os2/*.txt $(SRCDIR)/os2/*.def \ diff -r 2ba0959eb3cf -r ac404083dc6b Version --- a/Version Tue Dec 20 20:23:02 2022 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,3 +0,0 @@ -# Set these here to change the version for all platforms -DW_MAJOR_VERSION=3 -DW_MINOR_VERSION=3 diff -r 2ba0959eb3cf -r ac404083dc6b Version.mk --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Version.mk Thu Dec 22 13:57:38 2022 +0000 @@ -0,0 +1,3 @@ +# Set these here to change the version for all platforms +DW_MAJOR_VERSION=3 +DW_MINOR_VERSION=3 diff -r 2ba0959eb3cf -r ac404083dc6b makefile.emx --- a/makefile.emx Tue Dec 20 20:23:02 2022 +0000 +++ b/makefile.emx Thu Dec 22 13:57:38 2022 +0000 @@ -7,7 +7,7 @@ RC = rc MAKE = make COMPRESS = lxlite -include Version +include Version.mk VER = $(DW_MAJOR_VERSION)$(DW_MINOR_VERSION) VERDOT = $(DW_MAJOR_VERSION).$(DW_MINOR_VERSION) AVERREV := $(shell os2\svnrev.cmd) diff -r 2ba0959eb3cf -r ac404083dc6b makefile.vc --- a/makefile.vc Tue Dec 20 20:23:02 2022 +0000 +++ b/makefile.vc Thu Dec 22 13:57:38 2022 +0000 @@ -1,7 +1,7 @@ # # Visual C Makefile for Dynamic Windows # -!include Version +!include Version.mk VER = $(DW_MAJOR_VERSION)$(DW_MINOR_VERSION) VERDOT = $(DW_MAJOR_VERSION).$(DW_MINOR_VERSION) VERREV = 0