1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-01 19:42:48 -05:00

Add support for compiling 'vers' resources into Mac applications. This is

needlessly complex because Rez's preprocessor doesn't do either ANSI or K&R
stringification, and the MPW Shell isn't much good as shells go.

Also make _all_ the Mac executables depend on reources, not just the
Classic 68K one.

[originally from svn r2389]
This commit is contained in:
Ben Harris
2002-12-30 23:14:11 +00:00
parent 14432c234a
commit 47f459bb5f
2 changed files with 52 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $Id: mac_res.r,v 1.6 2002/12/30 18:21:17 ben Exp $ */
/* $Id: mac_res.r,v 1.7 2002/12/30 23:14:11 ben Exp $ */
/*
* Copyright (c) 1999 Ben Harris
* All rights reserved.
@ -342,6 +342,53 @@ resource 'icl8' (130, purgeable) {
$"000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"
};
resource 'vers' (1, purgeable) {
/* XXX This needs to be updated for each new version */
0x00, 0x53,
#ifdef RELEASE
beta,
#else
development,
#endif
0, /* No prerelease version */
2, /* Region code 2 = UK */
#ifdef RELEASESTR
RELEASESTR,
"Release " RELEASESTR,
#else
#ifdef SNAPSHOTSTR
SNAPSHOTSTR,
"Development snapshot " SNAPSHOTSTR,
#else
"unknown",
"Unidentified build, " $$Date " " $$Time,
#endif
#endif
};
resource 'vers' (2, purgeable) {
/* XXX This needs to be updated for each new version */
0x00, 0x53,
#ifdef RELEASE
beta,
#else
development,
#endif
0, /* No prerelease version */
2, /* Region code 2 = UK */
#ifdef RELEASESTR
RELEASESTR,
"PuTTY " RELEASESTR,
#else
#ifdef SNAPSHOTSTR
SNAPSHOTSTR,
"PuTTY snapshot " SNAPSHOTSTR,
#else
"unknown",
"PuTTY",
#endif
#endif
};
/*
* Internal resources