summaryrefslogtreecommitdiffstats
path: root/win/tclsh.rc
diff options
context:
space:
mode:
authordavidg <davidg>2000-10-31 01:20:08 (GMT)
committerdavidg <davidg>2000-10-31 01:20:08 (GMT)
commit71fa6d71a0c499d298b8a8d1db3eb00994bf44c6 (patch)
tree05262054f7e12411f78943a3c15471e201db808c /win/tclsh.rc
parent0834d8e227e49b1763a682c9602d59fcea0bf9be (diff)
downloadtcl-71fa6d71a0c499d298b8a8d1db3eb00994bf44c6.zip
tcl-71fa6d71a0c499d298b8a8d1db3eb00994bf44c6.tar.gz
tcl-71fa6d71a0c499d298b8a8d1db3eb00994bf44c6.tar.bz2
2000-10-30 David Gravereaux <davygrvy@ajubasolutions.com>
* win/configure.in: * win/Makefile.in: * win/makefile.vc: * win/tcl.rc: * win/tclsh.rc: Added logic to derive filenames better in the resource scripts based on compile options.
Diffstat (limited to 'win/tclsh.rc')
-rw-r--r--win/tclsh.rc45
1 files changed, 36 insertions, 9 deletions
diff --git a/win/tclsh.rc b/win/tclsh.rc
index 874abd7..7226753 100644
--- a/win/tclsh.rc
+++ b/win/tclsh.rc
@@ -1,22 +1,50 @@
-// RCS: @(#) $Id: tclsh.rc,v 1.5 2000/04/18 23:26:45 redman Exp $
+// RCS: @(#) $Id: tclsh.rc,v 1.6 2000/10/31 01:20:09 davidg Exp $
//
-// Version
+// Version Resource Script
//
-#define VS_VERSION_INFO 1
+#include <winver.h>
#define RESOURCE_INCLUDED
#include <tcl.h>
+//
+// build-up the name suffix that defines the type of build this is.
+//
+#ifdef TCL_THREADS
+#define SUFFIX_THREADS "t"
+#else
+#define SUFFIX_THREADS ""
+#endif
+
+#ifdef STATIC_BUILD
+#define SUFFIX_STATIC "s"
+#else
+#define SUFFIX_STATIC ""
+#endif
+
+#ifdef DEBUG
+#define SUFFIX_DEBUG "d"
+#else
+#define SUFFIX_DEBUG ""
+#endif
+
+#define SUFFIX SUFFIX_THREADS SUFFIX_STATIC SUFFIX_DEBUG
+
+
LANGUAGE 0x9, 0x1 /* LANG_ENGLISH, SUBLANG_DEFAULT */
VS_VERSION_INFO VERSIONINFO
FILEVERSION TCL_MAJOR_VERSION,TCL_MINOR_VERSION,TCL_RELEASE_LEVEL,TCL_RELEASE_SERIAL
PRODUCTVERSION TCL_MAJOR_VERSION,TCL_MINOR_VERSION,TCL_RELEASE_LEVEL,TCL_RELEASE_SERIAL
FILEFLAGSMASK 0x3fL
+#ifdef DEBUG
+ FILEFLAGS VS_FF_DEBUG
+#else
FILEFLAGS 0x0L
- FILEOS 0x4 /* VOS__WINDOWS32 */
- FILETYPE 0x2 /* VFT_DLL */
+#endif
+ FILEOS VOS__WINDOWS32
+ FILETYPE VFT_APP
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
@@ -24,10 +52,10 @@ BEGIN
BLOCK "040904b0"
BEGIN
VALUE "FileDescription", "Tclsh Application\0"
- VALUE "OriginalFilename", "tclsh" STRINGIFY(TCL_MAJOR_VERSION) STRINGIFY(TCL_MINOR_VERSION) ".exe\0"
- VALUE "CompanyName", "Scriptics Corporation\0"
+ VALUE "OriginalFilename", "tclsh" STRINGIFY(TCL_MAJOR_VERSION) STRINGIFY(TCL_MINOR_VERSION) SUFFIX ".exe\0"
+ VALUE "CompanyName", "Ajuba Solutions\0"
VALUE "FileVersion", TCL_PATCH_LEVEL
- VALUE "LegalCopyright", "Copyright (c) 2000 by Scriptics Corporation\0"
+ VALUE "LegalCopyright", "Copyright (c) 2000 by Ajuba Solutions\0"
VALUE "ProductName", "Tcl " TCL_VERSION " for Windows\0"
VALUE "ProductVersion", TCL_PATCH_LEVEL
END
@@ -43,4 +71,3 @@ END
//
tclsh ICON DISCARDABLE "tclsh.ico"
-