summaryrefslogtreecommitdiffstats
path: root/win/makefile.vc
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2021-12-08 12:11:53 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2021-12-08 12:11:53 (GMT)
commit09eba46041d7f007059b0defea8622a9dba1651b (patch)
treecd4efe19efd8e7dbcf0ebd204410eef80a836725 /win/makefile.vc
parent00fc9b5939930c7993d830310e41b3fee2d930ca (diff)
parentdc62ebb08b7bee1ff2cac7fdf8d35237bed15e7b (diff)
downloadtcl-09eba46041d7f007059b0defea8622a9dba1651b.zip
tcl-09eba46041d7f007059b0defea8622a9dba1651b.tar.gz
tcl-09eba46041d7f007059b0defea8622a9dba1651b.tar.bz2
Merge 8.7
Diffstat (limited to 'win/makefile.vc')
-rw-r--r--win/makefile.vc15
1 files changed, 13 insertions, 2 deletions
diff --git a/win/makefile.vc b/win/makefile.vc
index 9fb01e2..dea104f 100644
--- a/win/makefile.vc
+++ b/win/makefile.vc
@@ -800,8 +800,19 @@ $(TMP_DIR)\tclMainW.obj: $(GENERICDIR)\tclMain.c
$(cc32) $(pkgcflags) /DUNICODE /D_UNICODE \
-Fo$@ $?
-$(TMP_DIR)\tclTest.obj: $(GENERICDIR)\tclTest.c
- $(cc32) $(appcflags) -Fo$@ $?
+$(ROOT)\manifest.uuid:
+ copy $(WIN_DIR)\gitmanifest.in $(ROOT)\manifest.uuid
+ git rev-parse HEAD >>$(ROOT)\manifest.uuid
+
+$(TMP_DIR)\tclUuid.h: $(ROOT)\manifest.uuid
+ copy $(WIN_DIR)\tclUuid.h.in+$(ROOT)\manifest.uuid $(TMP_DIR)\tclUuid.h
+
+$(TMP_DIR)\tclEvent.obj: $(GENERICDIR)\tclEvent.c $(TMP_DIR)\tclUuid.h
+ $(cc32) $(pkgcflags) -I$(TMP_DIR) \
+ -Fo$@ $(GENERICDIR)\tclEvent.c
+
+$(TMP_DIR)\tclTest.obj: $(GENERICDIR)\tclTest.c $(TMP_DIR)\tclUuid.h
+ $(cc32) $(appcflags) -I$(TMP_DIR) -Fo$@ $?
$(TMP_DIR)\tclTestObj.obj: $(GENERICDIR)\tclTestObj.c
$(cc32) $(appcflags) -Fo$@ $?