summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2021-07-30 12:35:23 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2021-07-30 12:35:23 (GMT)
commit35f79cbdbf21cc8c23c80bfb89a8c762eecb191f (patch)
treecc3dd6a4ad7bf466ffb1a219c336248e995e8135
parentf107311e0a841c8971f748594a6e0bd179a2e436 (diff)
downloadtcl-35f79cbdbf21cc8c23c80bfb89a8c762eecb191f.zip
tcl-35f79cbdbf21cc8c23c80bfb89a8c762eecb191f.tar.gz
tcl-35f79cbdbf21cc8c23c80bfb89a8c762eecb191f.tar.bz2
In "makefile.vc" add building new header-file tclUuid.h. Not used for anything yet.
-rw-r--r--win/makefile.vc15
-rwxr-xr-xwin/tclUuid.h.in1
2 files changed, 14 insertions, 2 deletions
diff --git a/win/makefile.vc b/win/makefile.vc
index b5bb1a0..f56feec 100644
--- a/win/makefile.vc
+++ b/win/makefile.vc
@@ -798,8 +798,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$@ $?
diff --git a/win/tclUuid.h.in b/win/tclUuid.h.in
new file mode 100755
index 0000000..cbb83e4
--- /dev/null
+++ b/win/tclUuid.h.in
@@ -0,0 +1 @@
+#define TCL_VERSION_UUID \