Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2019-02-02 17:10:13 +0300
committerCorinna Vinschen <corinna@vinschen.de>2019-02-02 17:27:29 +0300
commit2cd6829619290e12095eaeed21aa1a431116d71a (patch)
tree123ad1b6d33264620ce32e8ff1b79a8eba9f052c
parent8de660271fe75a6993f1c9888d24b824bb7f999d (diff)
Cygwin: Makefile.in: Fix previous version info generation fix
Commit 231ad6941f9ade7bde67d27929da5a776ebd9457 looks good... as long as you never build Cygwin from scratch. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
-rw-r--r--winsup/cygwin/Makefile.in7
1 files changed, 4 insertions, 3 deletions
diff --git a/winsup/cygwin/Makefile.in b/winsup/cygwin/Makefile.in
index f94edb916..c14eea32d 100644
--- a/winsup/cygwin/Makefile.in
+++ b/winsup/cygwin/Makefile.in
@@ -766,11 +766,12 @@ ${EXTRALIBS}: lib%.a: %.o
find_src_files = $(wildcard $(dir)/*.[chS]) $(wildcard $(dir)/*.cc)
src_files := $(foreach dir,$(VPATH),$(find_src_files))
-winver.o: mkvers.sh include/cygwin/version.h winver.rc $(src_files)
+# mkvers.sh creates version.cc in the first place, winver.o always
+# second, so version.cc is always older than winver.o
+version.cc: mkvers.sh include/cygwin/version.h winver.rc $(src_files)
@echo "Making version.cc and winver.o";\
/bin/sh ${word 1,$^} ${word 2,$^} ${word 3,$^} $(WINDRES) ${CFLAGS} $(addprefix -I,${CCWRAP_SYSTEM_HEADERS} ${CCWRAP_DIRAFTER_HEADERS})
-
-version.o: winver.o
+$(VERSION_OFILES): version.cc
Makefile: ${srcdir}/Makefile.in
/bin/sh ./config.status