[845] in Kerberos_V5_Development
[John M. Rivlin: Windows name changes]
daemon@ATHENA.MIT.EDU (Theodore Ts'o)
Wed Feb 1 23:57:10 1995
Date: Wed, 1 Feb 1995 23:57:02 +0500
From: Theodore Ts'o <tytso@MIT.EDU>
To: krbdev@MIT.EDU
For archival value....
------- Forwarded Message
From: jmr@Fusion.COM (John M. Rivlin)
Date: Tue, 31 Jan 95 15:02:33 -0800
To: tytso@MIT.EDU, gnu@cygnus.com
Subject: Windows name changes
Organization: Fusion Software, Inc
X-Mailer: Helldiver 1.07 (Waffle 1.65)
Lines: 62
To facilitate Windows use of the makefiles it is necessary to neutralize
the use of the slash character. This will be necessary for both the
Mac and Windows. The scheme we propose to use is to create macros for
various uses of the / character as follows:
Macro Meaning Unix Windows Mac
$(R) Root / \
$(C) Current ./ .\ :
$(S) Separator / \ :
$(U) Up one ../ ..\ :
1) file in the current directory
unix foo
dos foo
mac foo
=> as is
2) run a file in the current directory (differs because of search paths)
unix ./foo
dos .\foo
mac :foo
=> $(C)foo
3) file in a sub-directory
unix ./sub1/foo
dos .\sub1\foo
mac :sub1:foo
=> $(C)sub1$(S)foo
4) file down 3 sub-directories
unix ./sub1/sub2/sub3/foo
dos .\sub1\sub2\sub3\foo
mac :sub1:sub2:sub3:foo
=> $(C)sub1$(S)sub2$(S)sub3$(S)foo
5) file up one directory
unix ./../foo
dos .\..\foo
mac ::foo
=> $(C)$(U)foo
6) file up 3 directories
unix ./../../../foo
dos .\..\..\..\foo
mac ::::foo
=> $(C)$(U)$(U)$(U)foo
7) file up 3 directories then down 2 directories
unix ./../../../sub1/sub2/foo
dos .\..\..\..\sub1\sub2\foo
mac ::::sub1:sub2:foo
=> $(C)$(U)$(U)$(U)sub1$(S)sub2$(S)foo
--
------- End Forwarded Message