Tcl Source Code

Check-in [76d1886f29]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Even when building against Tcl8, PRJLIBNAME9 should not have the "t" suffix else it breaks pkgIndex.tcl.in in extensions that load version-specific binary at runtime.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk | main
Files: files | file ages | folders
SHA3-256: 76d1886f29422a041c8009d87228b1d5fd6e183d66b65a9b65f3f9b5747a638d
User & Date: apnadkarni 2024-09-29 10:52:13.503
References
2024-10-07
22:29
Merge [76d1886f29422a04]: Even when building against Tcl8, PRJLIBNAME9 should not have the "t" suffi... check-in: 47ed697445 user: pooryorick tags: unchained, INCOMPATIBLE_LICENSE
Context
2024-10-07
22:29
Merge [76d1886f29422a04]: Even when building against Tcl8, PRJLIBNAME9 should not have the "t" suffi... check-in: 47ed697445 user: pooryorick tags: unchained, INCOMPATIBLE_LICENSE
2024-09-30
09:30
(cherry-pick): Even when building against Tcl8, PRJLIBNAME9 should not have the "t" suffix else it b... check-in: 55abecc8e3 user: jan.nijtmans tags: core-8-branch
08:25
Use more named constants in TclOO implementation check-in: 770230bffe user: dkf tags: trunk, main
2024-09-29
10:52
Even when building against Tcl8, PRJLIBNAME9 should not have the "t" suffix else it breaks pkgIndex.... check-in: 76d1886f29 user: apnadkarni tags: trunk, main
2024-09-27
10:25
Cherry-pick 2 trivial fixes from 'documentation-cleanup-for-transition' branch check-in: a0e3dfeddc user: jan.nijtmans tags: trunk, main
Changes
Unified Diff Ignore Whitespace Patch
Changes to win/rules.vc.
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
!ifndef _RULES_VC
_RULES_VC = 1

# The following macros define the version of the rules.vc nmake build system
# For modifications that are not backward-compatible, you *must* change
# the major version.
RULES_VERSION_MAJOR = 1
RULES_VERSION_MINOR = 11

# The PROJECT macro must be defined by parent makefile.
!if "$(PROJECT)" == ""
!error *** Error: Macro PROJECT not defined! Please define it before including rules.vc
!endif

!if "$(PRJ_PACKAGE_TCLNAME)" == ""







|







20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
!ifndef _RULES_VC
_RULES_VC = 1

# The following macros define the version of the rules.vc nmake build system
# For modifications that are not backward-compatible, you *must* change
# the major version.
RULES_VERSION_MAJOR = 1
RULES_VERSION_MINOR = 12

# The PROJECT macro must be defined by parent makefile.
!if "$(PROJECT)" == ""
!error *** Error: Macro PROJECT not defined! Please define it before including rules.vc
!endif

!if "$(PRJ_PACKAGE_TCLNAME)" == ""
1290
1291
1292
1293
1294
1295
1296

1297
1298
1299
1300
1301
1302
1303
1304

!endif # $(DOING_TK)
!endif # $(DOING_TK) || $(NEED_TK)

# Various output paths
PRJIMPLIB	= $(OUT_DIR)\$(PROJECT)$(VERSION)$(SUFX).lib
PRJLIBNAME8	= $(PROJECT)$(VERSION)$(SUFX).$(EXT)

PRJLIBNAME9	= tcl9$(PROJECT)$(VERSION)$(SUFX).$(EXT)
!if $(TCL_MAJOR_VERSION) == 8 || "$(TCL_BUILD_FOR)" == "8"
PRJLIBNAME	= $(PRJLIBNAME8)
!else
PRJLIBNAME	= $(PRJLIBNAME9)
!endif
PRJLIB		= $(OUT_DIR)\$(PRJLIBNAME)








>
|







1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305

!endif # $(DOING_TK)
!endif # $(DOING_TK) || $(NEED_TK)

# Various output paths
PRJIMPLIB	= $(OUT_DIR)\$(PROJECT)$(VERSION)$(SUFX).lib
PRJLIBNAME8	= $(PROJECT)$(VERSION)$(SUFX).$(EXT)
# Even when building against Tcl 8, PRJLIBNAME9 must not have "t"
PRJLIBNAME9	= tcl9$(PROJECT)$(VERSION)$(SUFX:t=).$(EXT)
!if $(TCL_MAJOR_VERSION) == 8 || "$(TCL_BUILD_FOR)" == "8"
PRJLIBNAME	= $(PRJLIBNAME8)
!else
PRJLIBNAME	= $(PRJLIBNAME9)
!endif
PRJLIB		= $(OUT_DIR)\$(PRJLIBNAME)