1 MAC specific information for dmake. This information is provided in the
2 hope that it makes it easier to install and recompile dmake in a MAC
6 1. ENVIRONMENT VARIABLE SETTINGS
8 Only a single set of settings is available for the macintosh. There are no
9 sub-selections for specific OS release and/or environment.
16 2. IMPLEMENTATION NOTES
18 This port for the Macintosh is specifically designed to be run
21 I had to make a couple of changes to dmake in order to get it to work
22 on the Mac. First, MPW provides no documented way to run a
23 subprocess, so when you use dmake, you MUST use the -n option and
24 execute the output. Typically, you will probably want to write a
25 simple script file to do these operations for you.
27 I added some code so that the Macintosh version of dmake can
28 use UNIX-style directories to specify include paths and target
29 and dependency file names. I.e., if you specify a file "/dir/file",
30 dmake will look at the file "dir:file". However, Mac dmake does not
31 do any translation from files specified by UNIX-style directories
32 in the recipe line that gets executed. If you need to translate,
33 you can use substitution commands. (For example,
34 ":$(RELATIVEUNIXFILE:s,/,:,)".) This code was added so one could
35 execute dmake's makefile, and also so one would have an easier time
36 porting other UNIX makefiles. I would suggest you stick with
37 Macintosh-style directories for all other makefiles.
39 In order to run dmake, you must set (and export) the environmental
40 variable "OS" to "mac".
43 micah@leland.Stanford.EDU